On Thu, 2008-02-14 at 19:07 +0100, Duncan Webb wrote:
> What happens is:
> freevo execute src/tv/record_client.py getNextProgramStart
> xml_rpc_server at 'http://localhost:18001/'
> 06:20: getNextProgramStart begin
> 06:20: getNextProgramStart.progress=<kaa.notifier.async.InProgress object at 
> 0xb6eea24c>

But are you sure that the InProgress that the first rpc yields ever
finishes?

In any case, try updating svn and let me know.  This this works for me
on python 2.4:

import kaa, sys

@kaa.coroutine()
def delayed():
    cb = kaa.InProgressCallback()
    kaa.OneShotTimer(cb, 42).start(0.5)
    yield cb
    yield cb.get_result()

@kaa.coroutine()
def foo():
    for i in range(5):
        p = delayed()
        yield p
        print "%d:" %i, p.get_result()
    sys.exit(1)

foo()
kaa.main.run()



-------------------------------------------------------------------------
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

Reply via email to