Package: pyaimt
Version: 0.8.0.1-2
Severity: important

(Please note that this is similar to 504393)

Sometimes (seemingly overnight) pyaimt loses the ability to log on. Some users 
report keeping their existing connection though I haven't been able to confirm 
this.

As an example, today (4th) I come in and start PSI. The ICQ and MSN transports 
just connect. AIM remains down.

If I click 'log on' it still won't connect. In the transport history PSI has an 
entry:
  Undefined condition.
  The error condition is not one of those defined by the other conditions in 
this list.
  ------
  AIM connection lost! Reason: [Failure instance: Traceback (failure with no 
frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the 
other side was lost in a non-clean fashion.]

Looking back at the server's log the only entries (which I believe are from 
before the transport broke) are like:

    [2010-04-01 09:46:55] Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 
84, in callWithLogger
            return callWithContext({"system": lp}, func, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 
69, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/python/context.py", 
line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/python/context.py", 
line 37, in callWithContext
            return func(*args,**kw)
        --- <exception caught here> ---
          File 
"/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line 210, 
in _doReadOrWrite
            why = selectable.doRead()
          File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 
460, in doRead
            return self.protocol.dataReceived(data)
          File "/usr/share/pyaimt/src/tlib/oscar.py", line 647, in dataReceived
            state=func(flap)
          File "/usr/share/pyaimt/src/tlib/oscar.py", line 777, in oscar_Data
            func(snac)
          File "/usr/share/pyaimt/src/tlib/oscar.py", line 2884, in oscar_18_07
            username = tlvs[0x09]
        exceptions.KeyError: 9

To fix the problem we can merely '/etc/init.d/pyaimt restart'. Pyaimt will come 
up and continue to run just fine until tomorrow. Or the next day.

It seems possible that the problem is related to internet outages since our 
connection may have been down at the time of the error. On the other hand if I 
just disconnect the router, log in and out of jabber, then reconnect the router 
and log back in pyaimt is still up.

If any more information would be useful then please tell me and I will try to 
provide it.

Thanks,

Ian

/etc/pyaimt.conf.xml:
<pyaimt>
 <jid>aim.example.com</jid>
 <confjid>chatrooms.example.com</confjid>
 <mainServer>127.0.0.1</mainServer>
 <mainServerJID>example.com</mainServerJID>
 <website>http://jabber.example.com/</website>
 <port>5556</port>
 <secret>example</secret>
 <lang>en</lang>
 <aimServer>login.oscar.aol.com</aimServer>
 <aimPort>5190</aimPort>
 <crossChat/>
  <enableAutoInvite/>
 <admins>
  <jid>a...@example.com</jid>
  <jid>b...@example.com</jid>
  <jid>c...@example.com</jid>
 </admins>
</pyaimt>


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages pyaimt depends on:
ii  adduser                    3.112         add and remove users and groups
ii  lsb-base                   3.2-23        Linux Standard Base 3.2 init scrip
ii  python                     2.5.2-3       An interactive high-level object-o
ii  python-crypto              2.0.1+dfsg1-5 cryptographic algorithms and proto
ii  python-openssl             0.10-1        Python wrapper around the OpenSSL 
ii  python-support             1.0.6.1       automated rebuilding support for P
ii  python-twisted             10.0.0-2      Event-based framework for internet
ii  python-twisted-web         10.0.0-1      An HTTP protocol implementation to
ii  python-twisted-words       10.0.0-2      Chat and Instant Messaging

Versions of packages pyaimt recommends:
ii  python-imaging               1.1.7-1+b1  Python Imaging Library
ii  python-mysqldb               1.2.2-10+b1 A Python interface to MySQL
ii  python-nevow                 0.9.33-4    Web application templating system 

Versions of packages pyaimt suggests:
ii  ejabberd                      2.1.2-3    distributed, fault-tolerant Jabber

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to