#1 manager.py breaks on ConnectionDone error.

open
nobody
None
5
2009-09-03
2009-09-03
jurisbreicis
No

manager.py Class: AMIProtocol

connectionLost in AMIProtocol sends tw_error.ConnectionDone("...") on line 161
This is received by nested onEvent within AMIProtocol.collectDeferred on line 279 and performs a check of if event.get('response')=='Error'

However ConnectionDone doesnt have a 'get' method.

As a result connectionLost throws the exception of:
AMI:ERROR manager:165: Failure during connectionLost for callable <function onEvent at 0x9a038ec>: 'ConnectionDone' object has no attribute 'get'

Discussion

  • Godson Gera
    Godson Gera
    2009-12-20

    Hi,

    Thanks for your interest in starpy. A little more information will be helpful in trouble shooting the issue you are facing. Please send in your code that is causing this issue.

    --
    Thanks,
    Godson