DEBUG: socket       got   <iq type="get" to="yim.jabber.jmoschetti45.com"
id="ab64a" from="[EMAIL PROTECTED]/laptop">\n<query
xmlns="jabber:iq:register"/>\n</iq>
DEBUG: dispatcher   ok    Got jabber:component:accept/iq stanza
DEBUG: dispatcher   ok    Dispatching iq stanza with type->get
props->[u'jabber:iq:register'] id->ab64a
DEBUG: socket       sent  <iq to="
[EMAIL PROTECTED]/laptop" from="
yim.jabber.jmoschetti45.com" id="ab64a" type="result">
  <query xmlns="jabber:iq:register">
  <instructions>Please provide your Yahoo! username and
password</instructions>
  <username>jmoschetti45</username>
  <password>**REMOVED***</password>
  </query>
  </iq>
DEBUG: socket       sent  <iq to="
[EMAIL PROTECTED]/laptop" from="
yim.jabber.jmoschetti45.com" id="1" type="get">
  <query xmlns="http://jabber.org/protocol/disco#info"; />
  </iq>
DEBUG: socket       got   <iq type="result" to="yim.jabber.jmoschetti45.com"
id="1" from="[EMAIL PROTECTED]/laptop">\n<query xmlns="
http://jabber.org/protocol/disco#info";>\n<feature var="
http://jabber.org/protocol/bytestreams"/>\n<feature var="
http://jabber.org/protocol/si"/>\n<feature var="
http://jabber.org/protocol/si/profile/file-transfer"/>\n</query>\n</iq>
DEBUG: dispatcher   ok    Got jabber:component:accept/iq stanza
DEBUG: dispatcher   ok    Dispatching iq stanza with type->result props->[u'
http://jabber.org/protocol/disco#info'] id->1
DEBUG: socket       got   <iq type="set" to="yim.jabber.jmoschetti45.com"
id="ab65a" from="[EMAIL PROTECTED]/laptop">\n<query
xmlns="jabber:iq:register">\n<username>jmoschetti45</username>\n<password>**REMOVED**</password>\n</query>\n</iq>
DEBUG: dispatcher   ok    Got jabber:component:accept/iq stanza
DEBUG: dispatcher   ok    Dispatching iq stanza with type->set
props->[u'jabber:iq:register'] id->ab65a
try connect
0
Traceback (most recent call last):
  File "yahoo.py", line 1209, in ?
    connection.Process(1)
  File "/usr/lib/python2.3/site-packages/xmpp/dispatcher.py", line 302, in
dispatch
    handler['func'](session,stanza)
  File "yahoo.py", line 722, in xmpp_iq_register_set
    s = yobj.connect()
  File "/usr/sbin/wildfire/yim-transport/ylib.py", line 65, in connect
    self.sock.bind((self.fromhost,0))
  File "<string>", line 1, in bind
socket.error: (99, 'Cannot assign requested address')


Suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060809/1135ec4c/attachment.htm
From [EMAIL PROTECTED]  Thu Aug 10 11:18:17 2006
From: [EMAIL PROTECTED] (Stian B. Barmen)
Date: Thu Aug 10 11:18:25 2006
Subject: [py-transports] Loosing messages
Message-ID: <[EMAIL PROTECTED]>

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

Reply via email to