drfloob / doood

we're gonna work together, babe.
2 stars 0 forks source link

Error when trying to send a message to a non-existent conversation #7

Closed drfloob closed 14 years ago

drfloob commented 14 years ago

If a window is closed before doood's reply timeout is up, the following error gets thrown.

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "./doood.py", line 65, in dood
    respond(sender, conversation, ConfigData[u"replies"][key])
  File "./doood.py", line 91, in respond
    purple.PurpleConvImSend(purple.PurpleConvIm(conversation), saying)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: im.pidgin.purple.InvalidHandle: PurpleConversation object with ID = 17265 not found
drfloob commented 14 years ago

changed dbus error verbiage, debug-logged the entire traceback. Closed by c440bc7c7edc9c4241794f7cb2f33c08c26d5e8f