--- Begin Message ---
Package: pyaimt
Version: 0.8a-7
Severity: important
I'm running the pyaimt service from ejabberd and the service gets
unavailable every few days and needs a restart. My log file is usually
empty. But this morning I found the following two tracebacks in it:
[2008-11-02 03:43:55] Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
51, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
36, 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 231,
in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
362, in doRead
return self.protocol.dataReceived(data)
File "/usr/share/pyaimt/src/tlib/oscar.py", line 648, in dataReceived
state=func(flap)
File "/usr/share/pyaimt/src/tlib/oscar.py", line 765, in oscar_Data
func(snac)
File "/usr/share/pyaimt/src/tlib/oscar.py", line 1157, in oscar_01_0F
self.receivedSelfInfo(self.parseUser(snac[5]))
File "/usr/share/pyaimt/src/legacy/aimt.py", line 372, in
receivedSelfInfo
LogEvent(INFO, self.session.jabberID)
exceptions.AttributeError: 'NoneType' object has no attribute 'jabberID'
[2008-11-02 03:43:55] Traceback (most recent call last):
File "/usr/share/pyaimt/src/main.py", line 474, in main
reactor.run()
File "/usr/lib/python2.5/site-packages/twisted/internet/base.py",
line 1048, in run
self.mainLoop()
File "/usr/lib/python2.5/site-packages/twisted/internet/base.py",
line 1060, in mainLoop
self.doIteration(t)
File
"/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line 215,
in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
51, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
36, 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)
File
"/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line 244,
in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File
"/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 196, in
_disconnectSelectable
selectable.connectionLost(failure.Failure(why))
File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
576, in connectionLost
Connection.connectionLost(self, reason)
File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
416, in connectionLost
protocol.connectionLost(reason)
File "/usr/share/pyaimt/src/legacy/aimt.py", line 55, in
connectionLost
LogEvent(INFO, self.session.jabberID, message)
exceptions.AttributeError: 'NoneType' object has no attribute 'jabberID'
My configuration file looks like:
<pyaimt>
<jid>aim.jabber.workaround.org</jid>
<mainServer>127.0.0.1</mainServer>
<mainServerJID>jabber.workaround.org</mainServerJID>
<website>http://workaround.org/</website>
<port>5556</port>
<secret>ma2eik2aedoR</secret>
<lang>en</lang>
<aimServer>login.oscar.aol.com</aimServer>
<aimPort>5190</aimPort>
<admins>
<jid>[email protected]</jid>
</admins>
</pyaimt>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pyaimt depends on:
ii adduser 3.110 add and remove users and groups
ii lsb-base 3.2-19 Linux Standard Base 3.2 init scrip
ii python-central 0.6.8 register and build utility for Pyt
ii python-crypto 2.0.1+dfsg1-2.3 cryptographic algorithms and proto
ii python-openssl 0.7-2 Python wrapper around the OpenSSL
ii python-twisted 8.1.0-3 Event-based framework for internet
ii python-twisted-web 8.1.0-1 An HTTP protocol implementation to
ii python-twisted-words 8.1.0-2 Chat and Instant Messaging
Versions of packages pyaimt recommends:
ii python-imaging 1.1.6-3 Python Imaging Library
ii python-mysqldb 1.2.2-7 A Python interface to MySQL
ii python-nevow 0.9.31-3 Web application templating system
Versions of packages pyaimt suggests:
ii ejabberd 2.0.1-4 Distributed, fault-tolerant Jabber
-- no debconf information
--- End Message ---