powered by Jive Software

Error message for MSN

Traceback (most recent call last):

File “C:\Python24\lib\site-packages\twisted\internet\selectreactor.py”, line 1

33, in doSelect

_logrun(selectable, _drdw, selectable, method, dict)

File “C:\Python24\lib\site-packages\twisted\python\log.py”, line 56, in callWi

thLogger

return callWithContext({“system”: lp}, func, *args, **kw)

File “C:\Python24\lib\site-packages\twisted\python\log.py”, line 41, in callWi

thContext

return context.call(, func, *args, **kw)

File “C:\Python24\lib\site-packages\twisted\python\context.py”, line 31, in ca

llWithContext

return func(**args,***kw)


File “C:\Python24\lib\site-packages\twisted\internet\selectreactor.py”, line 1

39, in _doReadOrWrite

why = getattr(selectable, method)()

File “C:\Python24\lib\site-packages\twisted\internet\tcp.py”, line 351, in doR

ead

return self.protocol.dataReceived(data)

File “C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py”, line 145, in d

ataReceived

self.stream.parse(buf)

File “C:\Python24\Lib\site-packages\twisted\xish\domish.py”, line 600, in pars

e

self.parser.Parse(buffer)

File “C:\Python24\Lib\site-packages\twisted\xish\domish.py”, line 638, in _onE

ndElement

self.ElementEvent(self.currElem)

File “C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py”, line 166, in o

nElement

self.dispatch(element)

File “C:\Python24\Lib\site-packages\twisted\xish\utility.py”, line 233, in dis

patch

callbacklist.callback(object)

File “C:\Python24\Lib\site-packages\twisted\xish\utility.py”, line 37, in call

back

methodwrapper(*args, **kwargs)

File “C:\Python24\Lib\site-packages\twisted\xish\utility.py”, line 21, in __ca

ll__

self.method(*nargs, **nkwargs)

File “C:\pymsnt-0.10.3\pymsnt-0.10.3\src\disco.py”, line 135, in onIq

self.sendDiscoInfoResponse(to=fro, ID=ID, ulang=ulang, jid=to)

File “C:\pymsnt-0.10.3\pymsnt-0.10.3\src\disco.py”, line 184, in sendDiscoInfo

Response

self.pytrans.send(iq)

File "C:\Python24\Lib\site-packages\twisted\words\protocols\jabber\component.p

y", line 84, in send

self.parent.send(obj)

File "C:\Python24\Lib\site-packages\twisted\words\protocols\jabber\component.p

y", line 151, in send

self.xmlstream.send(obj)

File “C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py”, line 184, in s

end

self.transport.write(obj)

File “C:\Python24\lib\site-packages\twisted\internet\abstract.py”, line 172, i

n write

self._tempDataLen += len(data)

exceptions.TypeError: len() of unsized object

personally, I was going to start a new message and name the subject ****

exceptions.TypeError: len() of unsized object

, but I guess your title is ok…

I’‘ve been working through a slue of errors, but when I got to this one, the only thing I could google was a russian chatlog at http://www.jabber.ru/chatlogs/linux@conference.jabber.ru/2005/12/08.html//www.jabber.ru/chatlogs/linux@conference.jabber.ru/2005/12/08.html, and I wasn’‘t able to decipher any resolution…anyways, here’'s pretty much the same thing as above, which is what I get:

C:\Python24\pyMSNt\src>python main.py
Traceback (most recent call last):

File “C:\Python24\Lib\site-packages\twisted\python\log.py”, line 58, in callWithLogger

return callWithContext({“system”: lp}, func, *args, **kw)

File “C:\Python24\Lib\site-packages\twisted\python\log.py”, line 43, in callWithContext

return context.call(, func, *args, **kw)

File “C:\Python24\Lib\site-packages\twisted\python\context.py”, line 59, in callWithContext

return self.currentContext().callWithContext(ctx, func, *args, **kw)

File “C:\Python24\Lib\site-packages\twisted\python\context.py”, line 37, in callWithContext

return func(**args,***kw)


I’‘m a complete and absolute Python newbie, and my programming vocabulary is pretty limited, but I think I’'m able to learn quickly enough.

I’'m running:

Windows XP Home

C:\Python24

C:\Python24\Lib\site-packages\twisted

C:\Python24\Lib\site-packages\PIL

C:\Python24\Lib\site-packages\Crypto

C:\Python24\Lib\site-packages\OpenSSL

C:\Python24\pyMSNt

…not sure what other info might be useful, so I’'ll post and hopefully we can figure this out.

Thanks a lot for any help!

Hey guys,

Have you tried posting this issue to PyMSN forums? Follow this link http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports to get to their forums.

Regards,

– Gato

Thanks! I just found a post there which might lead to the answer…

http://modevia.com/pipermail/py-transports/2005-December/001705.html

…seems to be a version compatibility problem between pyMSNt and Twisted. I’'ll check that out and see what I can figure out.

No answered put i am done trying with this.