Andreas Büsching wrote: > Hi, > > Am Montag, 12. Mai 2008 23:26:08 schrieb Duncan Webb: >> Hmm, I installed the time-out socket for the Amazon module and this >> seems to cause the problem: >> 11 (<function timeoutsocket at 0x2aaaafe22b18>, <type 'file'>, <class >> 'socket._socketobject'>) >> >> Looks like I had better remove this or do you have a better idea? > > What do you mean by a timeout socket? pynotifier supports several types of > socket objects but not a function. If you would like to watch a socket, than > use the socket object or the file descriptor. If you would like to get > notified after an interval of time you should use a timer instead of a > socket.
I bodged a fix on the Amazon module and when I was reading the code it imported a timeout socket from: http://www.timo-tasi.org/python/timeoutsocket.py so I tried it and didn't notice for a week that this cause a conflict with pynotifier. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel