pymsnt traceback

39 views
Skip to first unread message

roughnecks

unread,
Mar 3, 2011, 7:41:59 AM3/3/11
to py-transports
hi, last night i've upgraded my lenny server to squeeze and pymsnt
does not work anymore:

[2011-03-03 12:26:05] Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/internet/
base.py", line 1174, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.6/dist-packages/twisted/internet/
base.py", line 796, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.6/dist-packages/twisted/internet/
defer.py", line 318, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.6/dist-packages/twisted/internet/
defer.py", line 424, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/
defer.py", line 441, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/share/pymsnt/src/main.py", line 361, in cb
twistd.removePID(config.pid)
exceptions.AttributeError: 'module' object has no attribute
'removePID'


Moreover i get a warning when starting it:

Starting MSN transport for Jabber: /usr/share/pymsnt/src/utils.py:10:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
/usr/share/pymsnt/src/xdb.py:9: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import md5
Removing stale pidfile /var/run/pymsnt/pymsnt.pid
pymsnt.

All packages are from squeeze official repository
Thanks for help

roughnecks

unread,
Mar 5, 2011, 11:08:16 AM3/5/11
to py-transports
On 3 Mar, 13:41, roughnecks <simc...@gmail.com> wrote:

> hi, last night i've upgraded my lenny server to squeeze and pymsnt
> does not work anymore:

It was only some misconfiguration.
Thanks anyway.

> [2011-03-03 12:26:05] Traceback (most recent call last):
>           File "/usr/lib/python2.6/dist-packages/twisted/internet/
> base.py", line 1174, in mainLoop
>             self.runUntilCurrent()
>           File "/usr/lib/python2.6/dist-packages/twisted/internet/
> base.py", line 796, in runUntilCurrent
>             call.func(*call.args, **call.kw)
>           File "/usr/lib/python2.6/dist-packages/twisted/internet/
> defer.py", line 318, in callback
>             self._startRunCallbacks(result)
>           File "/usr/lib/python2.6/dist-packages/twisted/internet/
> defer.py", line 424, in _startRunCallbacks
>             self._runCallbacks()
>         --- <exception caught here> ---
>           File "/usr/lib/python2.6/dist-packages/twisted/internet/
> defer.py", line 441, in _runCallbacks
>             self.result = callback(self.result, *args, **kw)
>           File "/usr/share/pymsnt/src/main.py", line 361, in cb
>             twistd.removePID(config.pid)
>         exceptions.AttributeError: 'module' object has no attribute
> 'removePID'

This error still occurs when restarting pymsnt service.
See You

Matthew W. S. Bell

unread,
Mar 7, 2011, 9:59:08 PM3/7/11
to py-tra...@googlegroups.com
Hi,

This is due to twisted losing the removePID() call. I believe this is
fixed in latest pyMSNt, so the problem is the Debian package being out
of date. I must admit I've rolled my own pyMSNt package as I've been
fiddling with it.

Matthew W.S. Bell

signature.asc

roughnecks

unread,
Mar 8, 2011, 9:59:19 AM3/8/11
to py-transports
On 8 Mar, 03:59, "Matthew W. S. Bell" <matt...@bells23.org.uk> wrote:

> This is due to twisted losing the removePID() call. I believe this is
> fixed in latest pyMSNt, so the problem is the Debian package being out
> of date. I must admit I've rolled my own pyMSNt package as I've been
> fiddling with it.

Is it something i can safely ignore ?

> Matthew W.S. Bell

Thanks
Reply all
Reply to author
Forward
0 new messages