Jason Tackaberry wrote:
> On Wed, 2008-03-12 at 08:00 +0100, Duncan Webb wrote:
>   
>> TypeError: exceptions must be classes, instances, or strings
>> (deprecated), not AsyncException
>>     
>
> Sigh, not this again.
>
> Tell me, does kaa/base/test/asynctest.py output this as well?
>
>   
>> Have I done something incorrectly or is this a kaa.rpc problem.
>>     
>
> I suspect you've done something incorrectly, but the exception it tried
> to raise to tell you about that isn't being constructed properly.  I
> need to fix this, and I suspect it's a python 2.4 issue.
>
> It will help me test it if I know that asynctest.py causes the problem.
>   

# python test/asynctest.py
1
fast needs more time
2
3
subyield needs more time
4
5
6
(7, 8)
None
9
10
{'foo': 11, 'bar': 12}
13
crash test ok
14
connect to server
server tests
(15, True)
(16, False)
17
18
2008-03-12 17:38:17,930 [ERROR] rpc(410): ['test1', 'test3', 'test2', 
'test5', 'test4', 'test6', 'shutdown']
bad rpc test ok
2008-03-12 17:38:17,972 [ERROR] async(311): Unhandled InProgress exception:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/kaa/notifier/coroutine.py", 
line 195, in _step
    result = _process(self._coroutine, self._async)
  File "/usr/lib/python2.4/site-packages/kaa/notifier/coroutine.py", 
line 81, in _process
    return func.next()
  File "test/asynctest.py", line 196, in foo
    result.get_result()
  File "/usr/lib/python2.4/site-packages/kaa/notifier/async.py", line 
353, in get_result
    raise self._exception[1]
TypeError: exceptions must be classes, instances, or strings 
(deprecated), not RemoteException

And then blocks, does this help?

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

Reply via email to