Jason Tackaberry said the following, on 13.03.2008 03:30:
> On Wed, 2008-03-12 at 21:59 -0400, Justin Wetherell wrote:
>   
>> Unfortunetly, it didn't seem to help...
>> AsyncException instance has no attribute 'args'
>>     
>
> I'm not quite sure what's happening here without a full traceback.  I
> did find and fix one possibility.  If it's not this, I'm out of ideas
> and in that case I'm going to need some input from Duncan.  I need a
> traceback to really see what's going on.
>   

It seems to work, but may be there is another problem.

On a remote server which is switched off

This is called using the wait method and recordserver_rpc()
# freevo execute src/tv/record_client.py getScheduledRecordingsNow
function='getscheduledrecordingsnow' args=[]
result=(None, u'TV record server is not available')
"(None, u'TV record server is not available')"

This is called using a callback and server_rpc, the callback never gets
called so the timer exits the test:
# freevo execute src/tv/record_client.py getScheduledRecordings
function='getscheduledrecordings' args=[]
shutdown.message='bye' after 20.000 secs

On a local server which is switched on

When the recordserver is up:
 # freevo execute src/tv/record_client.py getScheduledRecordings
function='getscheduledrecordings' args=[]
handler.result=<tv.record_types.ScheduledRecordings instance at 0xb6ff5a4c>
"<tv.record_types.ScheduledRecordings instance at 0xb6ff5a4c>"

With the coroutine:
 # freevo execute src/tv/record_client.py getScheduledRecordingsco
function='getscheduledrecordingsco' args=[]
0.000: getScheduledRecordingsCo() started
0.027:
getScheduledRecordingsCo.inprogress=<kaa.notifier.async.InProgress
object at 0xb6f365cc>
0.328:
getScheduledRecordingsCo.inprogress=<kaa.notifier.async.InProgress
object at 0xb6f365cc>
getScheduledRecordingsCo=<tv.record_types.ScheduledRecordings instance
at 0xb6f36cec>

So it looks good.

I've also tried to break it by making an invalid call to the
recordserver and it worked correctly too.

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