> It's third alpha of PyICQt 0.8.1
> Changes in usability. Yeah, representation x-status -> mood/activity
> works now :)

Hi,

You may be interested in the following information: today something wired
happened and pyicqt stopped working for single user here, while continued
to work for others.

By "stopped working" I mean that it suddenly logged the user out, and on
attempt to re-login ansered with a message

Undefined condition.
The error condition is not one of those defined by the other conditions in 
this list.
------
ICQ connection lost! Reason: [Failure instance: Traceback (failure with no 
frames):
twisted.internet.error.ConnectionLost: Connection to the other side was 
lost in a non-clean fashion.]

This message arrived not immediately after login attempt, but after a 
minute or so.
During that time, transport status in user's roster was "offline"

The following was logged to pyicqt log file:

[2008-09-03 13:11:53] Traceback (most recent call last):
          File "/usr/local/share/pyicqt/pyicqt-0.8.1a3/src/tlib/oscar.py", 
line 694, in dataReceived
            state=func(flap)
          File "/usr/local/share/pyicqt/pyicqt-0.8.1a3/src/tlib/oscar.py", 
line 805, in oscar_Data
            d.errback(snac)
          
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 
251, in errback
            self._startRunCallbacks(fail)
          
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 
294, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 
307, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/local/share/pyicqt/pyicqt-0.8.1a3/src/tlib/oscar.py", 
line 1970, in _cbRequestSSI
            if snac[1] == 0x0f: # same SSI as we have
        exceptions.TypeError: unsubscriptable object

I've tried several things to fix it, including trying the latest version
(0.8.1a3), and that did not help - I got the same behaviour and the same
traceback with 0.8.1a3 as well.

However, after an hour or so the problem suddenly disappeared and pyicqt
started to work correctly for the affected user again.

Since nothing changed at my side, I guess this could be caused by icq 
server
sending something wired and then stopping doing so. However, maybe it is
possible to "fix" pyicqt to stop getting TypeError on "strange" input from
server?

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to