Duncan Webb wrote: > Dirk Meyer said the following, on 13/02/2008 23:04: >> Duncan Webb wrote: >>> Jason Tackaberry wrote: >>> | On Wed, 2008-02-13 at 21:58 +0100, Dirk Meyer wrote: >>> |> and changed some parameter. Sorry about that, but the new API looks >>> |> much better now and I don't think we will break anything in the near >>> |> future. >>> | >>> | Speak for yourself, I'm just getting started. :) >>> | >>> | But what I intend to break is more peripheral stuff. Notably, >>> | kaa.Socket and kaa.Process will get overhauls (and more documentation). >>> | >>> | Aside from Freevo, I am particularly curious to know if there are other >>> | users of kaa modules. Knowing this will help us make more intelligent >>> | decisions about how conservative we should be about breaking the API. >>> | >>> | So if you use kaa and you're not Dischi or Duncan, speak up. :) >>> >>> Did you try async_test recently? I broke for me but that was 27 commits ago. >> >> Works. BTW, YieldContinue is also renamed to NotFinished, but I don't >> think you use it. > > Are you sure? > Revision 3092 gives: > python base/test/asynctest.py > 1 > fast needs more time > Traceback (most recent call last): > File "base/test/asynctest.py", line 220, in ? > foo().connect(end) > File "/usr/lib/python2.4/site-packages/kaa/notifier/coroutine.py", > line 168, in newfunc > result = _process(function, async) > File "/usr/lib/python2.4/site-packages/kaa/notifier/coroutine.py", > line 123, in _process > return func.send(async._result) > AttributeError: 'generator' object has no attribute 'send' > 2008-02-14 07:35:58,080 [ERROR] rpc(360): Authentication failed
That looks like a Python 2.4 bug. Take a look at corotine.py, there is the _process function that creates the error. It should only use the 'send' function for Python 2.5 detected by _python25. Can you debug this please. Dischi -- The average woman prefers beauty over brains because the average man can see better than he can think.
pgphs4Ul7bMny.pgp
Description: PGP signature
------------------------------------------------------------------------- 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