Hi!
Am 01.09.2006 um 01:11 schrieb Daniel Henninger:
>
> On Aug 31, 2006, at 5:29 PM, Michael Vogel wrote:
>
>> Daniel Henninger schrieb:
>>> Hrm. That's uncool. That non-clean fashion message is, as
>>> youcansee for
>>> yourself, vague and not totally helpful.
>>
>> Yeah, I'm sorry. How can I provide more help? Are there any debug
>> possibilities?
>
> Oh I didn't mean for it to sound like -you- weren't being helpful. =)
No problem. I was unsatisfied with the information as well. I'm
working as a professional programmer. So I want to provide as much
information as possible because I know how important that ist.
> Oh oh, actually there is one good debug thing you could do.
> Couldyou get a tcpdump of it and send that to me? (directly, not to
> thelist -> [EMAIL PROTECTED])
Okay. Mail will be soon on the way.
> [I'm assuming unix, if not then... well I'm not sure =) ]
It's of course Unix. ;-) I have nothing else at home. (Linux Server,
Mac Mini, iBook, virtual server in the Internet - where Jabber is
running on and finally two 68k Macs and two Mac Clones) Okay ... the
old Macs aren't Unix - but they are different than some unimportant
non unix style operating system ;-)
> tcpdump -s 5000 -x -X -w pyicqdump.pcap port 5190
>
> Is usually what I use. I'm not sure all of those flags are
> necessaryto just record the data to a file, but hey. Anyway, I
> don't know howfamiliar you are with tcpdump (and/or ethereal/
> whatever the crapthey've renamed it).
I know it and I know (partly) how to use it.
> Alternatively you can contact me via jabber and we can try to
> workthrough it.
That could be getting interesting because of the different
timezones. ;-) As far as I can see you are GMT-4. I am GMT+2. So it
sounds like a weekend job. But maybe the dump can help.
Michael
From [EMAIL PROTECTED] Fri Sep 1 15:23:15 2006
From: [EMAIL PROTECTED] (Gonzalo Barrio)
Date: Fri Sep 1 15:25:31 2006
Subject: [py-transports] More Tracebacks
Message-ID: <[EMAIL PROTECTED]>
Some more tracebacks:
Redhat EL 4
Twisted 2.0.1
epoll-0.7
python 2.3
pymsn-t-0.11
trunk, svn: 216
This happen all the time, but I think that is not critical.
[2006-08-17 11:24:23] Traceback (most recent call last):
File "./PyMSNt.py", line 12, in ?
main.main()
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted.back/src/main.py",
line 393, in main
reactor.run()
File
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line
199, in run
self.mainLoop()
File
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line
207, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File
"/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 533,
in runUntilCurrent
call.func(*call.args, **call.kw)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 404, in wait
self.factory.msncon.connectionLost(reason)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/legacy/glue.py",
line 403, in connectionLost
if reason.type != error.ConnectionDone:
exceptions.AttributeError: class error has no attribute
'ConnectionDone'
Other:
[2006-08-17 11:29:44] Traceback (most recent call last):
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted.back/src/main.py",
line 393, in main
reactor.run()
File
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line
199, in run
self.mainLoop()
File
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line
210, in mainLoop
self.doIteration(t)
File "./internet/epollreactor.py", line 183, in doPoll
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
File "./internet/epollreactor.py", line 211, in _doReadOrWrite
File
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line
234, in _disconnectSelectable
selectable.connectionLost(f)
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 556, in
connectionLost
Connection.connectionLost(self, reason)
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 402, in
connectionLost
protocol.connectionLost(reason)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 658, in connectionLost
self.failedMessage(message)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 687, in failedMessage
self.msncon.failedMessage(self.remoteUser, text)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/legacy/glue.py",
line 470, in failedMessage
self.session.pytrans.statistics.stats["FailedMessageCount"] += 1
exceptions.AttributeError: 'NoneType' object has no attribute
'pytrans'
This is very uncommon:
[2006-08-17 12:43:39] Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "./internet/epollreactor.py", line 199, in _doReadOrWrite
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 351, in
doRead
return self.protocol.dataReceived(data)
File
"/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 232,
in dataReceived
return self.rawDataReceived(data)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 845, in rawDataReceived
if not self.checkMessage(m):
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 2178, in checkMessage
if self._checkTyping(message, cTypes): return 0
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 2101, in _checkTyping
self.gotContactTyping(message)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 762, in gotContactTyping
self.msncon.gotContactTyping(message.userHandle)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/legacy/glue.py",
line 463, in gotContactTyping
self.session.sendTypingNotification(self.jabberID,
msn2jid(contact, True), True)
exceptions.AttributeError: 'NoneType' object has no attribute
'sendTypingNotification'
This is not so frequently:
[2006-08-17 18:04:29] Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "./internet/epollreactor.py", line 199, in _doReadOrWrite
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 351, in
doRead
return self.protocol.dataReceived(data)
File
"/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 232,
in dataReceived
return self.rawDataReceived(data)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 851, in rawDataReceived
self.gotMessage(m)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 744, in gotMessage
self.msncon.gotMessage(self.remoteUser, text)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/legacy/glue.py",
line 451, in gotMessage
self.session.sendMessage(self.jabberID, fro=source,
body=text, mtype="chat")
exceptions.AttributeError: 'NoneType' object has no attribute
'sendMessage'
This happen frequently:
[2006-08-18 12:12:56] Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "./internet/epollreactor.py", line 199, in _doReadOrWrite
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 351, in
doRead
return self.protocol.dataReceived(data)
File
"/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 221,
in dataReceived
why = self.lineReceived(line)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 822, in lineReceived
try: handler(params.split(' '))
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msn.py",
line 2209, in handle_JOI
self.userJoined(params[0], unquote(params[1]))
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 717, in userJoined
self._switchToMulti(remoteUser)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted/src/tlib/msn/msnw.py",
line 679, in _switchToMulti
del self.msncon.switchboardSessions[self.remoteUser]
exceptions.KeyError: '<SOME_USER>@hotmail.com'
Other 5:
[2006-08-18 17:22:24] Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File
"/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "./internet/epollreactor.py", line 199, in _doReadOrWrite
File
"/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 351, in
doRead
return self.protocol.dataReceived(data)
File
"/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", line 145,
in dataReceived
self.stream.parse(buf)
File
"/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line 600, in
parse
self.parser.Parse(buffer)
File
"/usr/lib/python2.3/site-packages/twisted/xish/domish.py", line 638, in
_onEndElement
self.ElementEvent(self.currElem)
File
"/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", line 166,
in onElement
self.dispatch(element)
File "utility.py", line 233, in dispatch
File "utility.py", line 37, in callback
File "utility.py", line 21, in __call__
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted.back/src/main.py",
line 238, in onRouteMessage
self.discovery.onIq(child)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted.back/src/disco.py",
line 160, in onIq
handler(el)
File
"/opt/jabber-transport/bin/pymsnt-0.11.trunk.crypted.back/src/misciq.py",
line 224, in incomingIq
toj = jid.intern(to)
File
"/usr/lib/python2.3/site-packages/twisted/words/protocols/jabber/jid.py",
line 89, in internJID
j = JID(str)
File
"/usr/lib/python2.3/site-packages/twisted/words/protocols/jabber/jid.py",
line 104, in __init__
user, host, res = parse(str)
File
"/usr/lib/python2.3/site-packages/twisted/words/protocols/jabber/jid.py",
line 47, in parse
return prep(user, server, resource)
File
"/usr/lib/python2.3/site-packages/twisted/words/protocols/jabber/jid.py",
line 66, in prep
raise InvalidFormat, "Invalid character in hostname"
twisted.words.protocols.jabber.jid.InvalidFormat: Invalid
character in hostname