-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I upgraded from 0.11.1a (to stop the disconnection errors) first trying
the trunk and then the 0.11.2-dev snapshot and both times got this
error:
Traceback (most recent call last):
File "./PyMSNt.py", line 13, in ?
import main
File "/home/ejabberd/pymsnt-0.11.2-dev/src/main.py", line 34, in ?
twistfix.main()
File "/home/ejabberd/pymsnt-0.11.2-dev/src/twistfix/__init__.py",
line 78, in main
addParserFunctions()
File "/home/ejabberd/pymsnt-0.11.2-dev/src/twistfix/__init__.py",
line 20, in addParserFunctions
from twisted.words.xish import domish
ImportError: No module named xish
I have no idea what version of Twisted that I'm using (how do I find
out?). Any ideas?
Raj.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFE2yEMDbVaFRVZjKwRAvJqAJ9CHYmbx1s4jaUBs+5IvnZO/nwuAACfdWc/
i8R6eIXAG06UydkTE1xuV8Y=
=539y
-----END PGP SIGNATURE-----
From [EMAIL PROTECTED] Thu Aug 10 12:18:27 2006
From: [EMAIL PROTECTED] (Yves Goergen)
Date: Thu Aug 10 12:18:45 2006
Subject: [py-transports] Cannot start PyMSNt and PyICQt
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 17.07.2006 17:13 CE(S)T, Yves Goergen wrote:
> I just updated to Linux kernel 2.6.17.6 and now PyMSNt and PyICQt don't work
> anymore. The applications are running but both show this in their debug
> output
> all the time:
>
> [2006-07-16 21:35:01] Starting factory
> <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> 0xb7d22dec>
> [2006-07-16 21:35:01] INFO :: :: PyTransport :: componentDisconnected
> :: {} ::
> [2006-07-16 21:35:01] <twisted.internet.tcp.Connector instance at
> 0xb784c78c> will retry in 2 seconds
> [2006-07-16 21:35:01] Stopping factory
> <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> 0xb7d22dec>
> [2006-07-16 21:35:04] Starting factory
> <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> 0xb7d22dec>
>
> I need to stop both so they won't fill my disk with that stuff. What's
> this? I
> cannot use MSN and ICQ anymore now. :(
Too bad. It's broken again. This time, no software was changed at all.
The server was down for a short time to remove 1 of the 2 GB of RAM and
was then booted again. Now I have exactly the same situation as earlier,
both transports are running but not working, with the same debug output.
I fear there's no way to upgrade Wildfire again because there is no
newer version to install. So this won't help this time.
Any other ideas? Or can I just forget the transports and my ICQ and MSN
connectivity for now? :(
--
Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]>
http://beta.unclassified.de ? My web laboratory.
From [EMAIL PROTECTED] Thu Aug 10 12:25:23 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Thu Aug 10 12:25:52 2006
Subject: [py-transports] Loosing messages
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
The exception means that some client is sending an invalid MSNObject :|
As for losing messages, are you using ejabberd? jabber.org.au had the
same problem and solved it by increasing the shaping limit for the
msn transport socket. See my post here
http://modevia.com/pipermail/py-transports/2006-July/003002.html
After making that change I can't reproduce the problem anymore.
Please let me know how you go.
---
James
On 10/08/2006, at 9:18 PM, Stian B. Barmen wrote:
> The latest problem I have noticed is that I loose messages out from
> the transport, receiving is no problem. Here is what I did:
>
> Logged on MSN user (my wifes account) with the Windows Live
> Messenger client. Used Psi and the Jabber transport (svn 0.11.2-dev
> rev 223) with my own account. Then I (pretty quickly) sent single
> character messages, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, and only 4 and 5
> got trough. Did the same test the other way, all got trough. Did
> the same test with about 1 second between each message, then I got
> 1, 5, 7 and 0 trough.
>
> Nothing much in the log, but this might be interesting?
>
> [2006-08-10 13:11:23] Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/twisted/python/
> log.py", line 53, in callWithLogger
> return callWithContext({"system": lp}, func, *args, **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> log.py", line 38, in callWithContext
> return context.call({ILogContext: newCtx}, func, *args,
> **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> context.py", line 59, in callWithContext
> return self.currentContext().callWithContext(ctx, func,
> *args, **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> context.py", line 37, in callWithContext
> return func(*args,**kw)
> --- <exception caught here> ---
> File "/usr/lib/python2.4/site-packages/twisted/internet/
> epollreactor.py", line 199, in _doReadOrWrite
> why = selectable.doRead()
> File "/usr/lib/python2.4/site-packages/twisted/internet/
> tcp.py", line 349, in doRead
> return self.protocol.dataReceived(data)
> File "/usr/lib/python2.4/site-packages/twisted/protocols/
> basic.py", line 232, in dataReceived
> why = self.lineReceived(line)
> File "/usr/local/pymsnt/src/legacy/msn/msn.py", line 814,
> in lineReceived
> try: handler(params.split(' '))
> File "/usr/local/pymsnt/src/legacy/msn/msn.py", line
> 1170, in handle_NLN
> self.handleAvatarHelper(msnContact, params[4])
> File "/usr/local/pymsnt/src/legacy/msn/msn.py", line
> 1146, in handleAvatarHelper
> msnobj = MSNObject(unquote(msnobjStr))
> File "/usr/local/pymsnt/src/legacy/msn/msn.py", line 478,
> in __init__
> self.parse(s)
> File "/usr/local/pymsnt/src/legacy/msn/msn.py", line 524,
> in parse
> self.size = int(e.getAttribute("Size"))
> exceptions.TypeError: int() argument must be a string or a
> number
>
>
> -stian
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports