By adding a lot of 'prints' and tracing the program, I found something
odd.

I put code into marmalade.py and found that two different 'obj' were
being sent to the code. The first was a proper instance, which works
fine, but at some point, a bool object is sent as well. Of course,
since the bool only has a True/False value, it lacks the __dict__ and
causes trouble. 

But by doing this to marmalade.py:

print obj
print type(obj)

I found the odd result:

2003-10-21 11:00 to 2003-10-21 11:30  C3ciii.zap2it.com Foster Parents Plan
type(obj): <type 'instance'>
False
type(obj): <type 'bool'>

The weird thing is that this second object isn't coming from
scheduleRecording, but from twisted, because adding some logging to
scheduleRecording() doesn't reveal a bool. Are there extra attributes
in the prog object when it's in the TV interface?

(In case you're wondering, I wasn't actually going to WATCH this, it's
just for testing :)

Aubin



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to