On Mon, Apr 17, 2006 at 12:02:11AM +1000, James Bunton wrote:
> Could you please apply this patch, then run
> $ tail -f debug.log|grep avatarHashReceived

Here's a snippet when changing the avatar two times:

[2006-04-17 23:51:13] avatarHashReceived <my JID> <my transport> 
b09b940ea9ab411a97d05d007e39cdb8348c0beb
[2006-04-17 23:51:13] avatarHashReceived - retrieving vCard
[2006-04-17 23:51:13] avatarHashReceived <my JID> <my transport> 
b09b940ea9ab411a97d05d007e39cdb8348c0beb
[2006-04-17 23:51:13] avatarHashReceived - retrieving vCard
[2006-04-17 23:51:22] avatarHashReceived <my JID> <my transport> 
6f95d9f0b2bd164f19a281f975b036fe30393131
[2006-04-17 23:51:22] avatarHashReceived - retrieving vCard
[2006-04-17 23:51:23] avatarHashReceived <my JID> <my transport> 
6f95d9f0b2bd164f19a281f975b036fe30393131

> Then muck around with Google Talk for a bit, and the results should 
> give us an idea whats going on.

It seems I wasn't entirely correct in my previous description. Apparently, the
transport receives two "copies" of each presence stanza when the avatar is set.
However, this only occurs when changing avatar, and not when changing
availability or status message. Furthermore, as far as I can tell from the
diagnostic log of Google Talk, the client only sends one "copy" of the presence
stanza, so I guess some server (most likely the Google Talk server) is
duplicating some presence stanza.

So when a presence stanza with a new avatar hash is received a vCard update is
triggered. If the duplicate presence stanza is received before the answer to
the first vCard update, a second vCard update is issued. I guess this is also
possible, however very unlikely, if a user changes his avatar and immediately
changes his status. I guess this doesn't really need any fixing in PyMSNt after
all.

Best regards,
Lars
From [EMAIL PROTECTED]  Tue Apr 18 17:18:21 2006
From: [EMAIL PROTECTED] (Francisco Obarrio)
Date: Tue Apr 18 17:18:48 2006
Subject: [py-transports] Segmentation fault on pyicq
Message-ID: <[EMAIL PROTECTED]>

Hello i went to the Chats so anyone can help me but i think its some kind of 
difficult.
here its the scenario:

Centos 4
python 2.3
Twisted 2.2
and PIL installed

i try version 0.6, 0.7 and 0.7a also i try the svn code.
ALL versions gaves me a segmentation fault after i register an icq number. (im 
using pymsn and works fine)

here its my config.xml


<pyicqt>
        <!-- The JabberID of the transport. -->
        <jid>icq.6kbytes.com</jid>

 <!-- The component JID of the transport. Unless you're doing clustering, leave 
this alone -->
        <!-- <compjid>icq1</compjid> -->
        <!-- The location of the spool directory.. if relative, relative to -->
        <!-- this directory.  Do not include the jid of the transport. -->
        
 <spooldir>.</spooldir>
        
 <!-- The location of the PID file.. if relative, relative to this dir. -->
        <!-- Comment out if you do not want a pid file -->
        <pid>PyICQt.pid</pid>
        <!-- The IP address of the main Jabberd server -->
        
 <mainServer>64.5.53.112</mainServer>
        
 <!-- The JID of the main Jabber server -->
        
 <mainServerJID>6kbytes.com</mainServerJID>
        
 <!-- The website of the Jabber service -->
        <website>http://6kbytes.com/</website>
        <!-- The TCP port to connect to the Jabber server on -->
        <!-- (this is the default for Jabberd2) -->
        
 <port>5347</port>
        
 <!-- The TCP port that the web admin interface will answer on -->
        <!-- (uncomment to enable) -->
        <!-- <webport>12345</webport> -->
        <!-- The authentication token to use when connecting to the Jabber 
server -->
        
 <secret>XXXX</secret>
        
 <!-- The default language to use (for error/status messages) -->
        
 <lang>en</lang>
        
 <!-- Default message encoding to use -->
        
 <encoding>iso-8859-1</encoding>
        
 <!-- The hostname of the ICQ server you wish to connect to -->
        
 <icqServer>login.icq.com</icqServer>
        
 <!-- The port of the ICQ server you wish to connect to -->
        
 <icqPort>5190</icqPort>
        
 <!-- The name of Socks Proxy if connecting thru a proxy -->
        <!-- <socksProxyServer>im-proxy2</socksProxyServer> -->

        <!-- The Socks Proxy port to use when connecting thru a proxy -->
        <!-- <socksProxyPort>1080</socksProxyPort> -->

        <!-- Send greeting on login (enter text to be sent to users here) -->
        <!-- <sessionGreeting>enter message here</sessionGreeting> -->

        <!-- Send message on successful registration -->
        <!-- <registerMessage>You have successfully registered with 
PyICQt</registerMessage> -->

        <!-- Allow users of ICQ gateway to chat with AIM users -->
        <!-- (uncomment to enable) -->
        <!-- <crossChat/> -->

        <!-- Disable registration with the transport -->
        <!-- (uncomment to disable) -->
        <!-- <disableRegister/> -->

        <!-- Enable automatic invitation to reconnect on restart -->
        <!-- (uncomment to enable) -->
        <!-- <enableAutoInvite/> -->
 
       <!-- Disable xhtml support (messages with fonts and colors) -->
        <!-- (uncomment to disable) -->
        <!-- <disableXHTML/> -->

        <!-- Disable mail notifications -->
        <!-- (uncomment to disable) -->
        <!-- <disableMailNotifications/> -->

        <!-- Disable use of default avatar if none is specified -->
        <!-- (uncomment to disable) -->
        <!-- <disableDefaultAvatar/> -->

        <!-- You can choose which users you wish to have as administrators. 
These users can perform some tasks with Ad-Hoc commands that others cannot -->
        
 <admins>
        
 <!--<jid>[EMAIL PROTECTED]</jid>-->
        
 </admins>

 <!-- You can select which event loop PyAIMt will use. It's probably safe to 
leave this as the default -->

        <!-- Use epoll for high-load Linux servers running kernel 2.6 or above 
-->
        <!--<reactor>epoll</reactor>-->

        <!-- Use kqueue for high-load FreeBSD servers -->
        <!--<reactor>kqueue</reactor>-->

        <!-- Use poll for high-load Unix servers -->
        <!--<reactor>poll</reactor>-->

        <!-- You can select which spool storage method you wish to use -->
        <!-- Available methods are: -->
        <!-- xmlfiles: single xml files in the spool directory in hashed dirs 
(default)-->
        <!-- legacyaimtransport: compatible with c-based aim transport, less 
functionality -->
        <!-- legacyjittransport: compatible with JIT transport, less 
functionality -->
        <!-- mysql: registration information stored in a MySQL database -->
        <!--<xdbDriver>xmlfiles</xdbDriver>-->

        <!-- For MySQL -->
        <!--<xdbDriver>mysql</xdbDriver>-->
        <!--<xdbDriver_mysql>-->
        <!--<username>pyicqt</username>-->
        <!--<password>pyicqt</password>-->
        <!--<database>pyicqt</database>-->
        <!--<server>localhost</server>-->
        <!--</xdbDriver_mysql>-->

        <!-- For XMLFiles -->
        <!--<xdbDriver>xmlfiles</xdbDriver>-->
        <!--<xdbDriver_xmlfiles>-->
        <!--<format>encrypted</format>--> <!-- Enable encryption of passwords 
-->
        <!--</xdbDriver_xmlfiles>-->

        <!-- Only grab avatars when a chat is initiated. -->
        <!-- <avatarsOnlyOnChat/> -->

        <!-- Disable all avatar functionality. Might be necessary if you -->
        <!-- do not have PIL installed. -->
 
 <disableAvatars/> 

        <!-- Disable web presence indicator. -->
         
  <disableWebPresence/>

        <!-- Use Jabber.com's XCP component protocol extensions. -->
        <!-- <useXCP/> -->


        <!-- SASL username used to bind to Jabber server. -->
        <!-- secret, above, is used for sasl password -->
        <!-- <saslUsername/> -->

        <!-- Use Jabberd 2's component protocol extensions. -->
        <!-- Requires saslUsername to work. -->
        <!-- <useJ2Component/> -->
</pyicqt>












and the last trace debug of the transport:



./PyICQt.py -D
[2006-04-18 13:09:19] Log opened.
[2006-04-18 13:09:19] INFO ::  :: PyTransport :: __init__ :: {'self': 
'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: __init__ :: {'pytrans': 
<main.PyTransport instance at 0x40b1c2cc>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'http://jabber.org/protocol/disco', 'jid': 'icq.6kbytes.com', 'handler': None, 
'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'http://jabber.org/protocol/disco', 'jid': 'USER', 'handler': None, 'self': 
'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addIdentity :: 
{'category': 'gateway', 'jid': 'icq.6kbytes.com', 'name': 'ICQ Transport', 
'ctype': 'icq', 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'http://jabber.org/protocol/xhtml-im', 'jid': 'USER', 'handler': None, 'self': 
'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'jabber:iq:register', 'jid': 'icq.6kbytes.com', 'handler': <bound method 
RegisterManager.incomingRegisterIq of <register.RegisterManager instance at 
0x40b1c4cc>>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: RegisterManager :: __init__ :: {'pytrans': 
<main.PyTransport instance at 0x40b1c2cc>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'http://jabber.org/protocol/commands', 'jid': 'icq.6kbytes.com', 'handler': 
<bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 
0x40b1c04c>>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'http://jabber.org/protocol/commands', 'jid': 'icq.6kbytes.com', 'name': 
'command_CommandList', 'self': 'instance', 'handler': <bound method 
AdHocCommands.sendCommandList of <misciq.AdHocCommands instance at 
0x40b1c04c>>, 'rootnode': True} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'jabber:iq:gateway', 'jid': 'icq.6kbytes.com', 'handler': <bound method 
GatewayTranslator.incomingIq of <misciq.GatewayTranslator instance at 
0x40b1ccac>>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'jabber:iq:version', 'jid': 'icq.6kbytes.com', 'handler': <bound method 
VersionTeller.incomingIq of <misciq.VersionTeller instance at 0x40b1cccc>>, 
'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'jabber:iq:version', 'jid': 'USER', 'handler': <bound method 
VersionTeller.incomingIq of <misciq.VersionTeller instance at 0x40b1cccc>>, 
'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'vcard-temp', 'jid': 'USER', 'handler': <bound method VCardFactory.incomingIq 
of <misciq.VCardFactory instance at 0x40b1c7ec>>, 'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addFeature :: {'var': 
'vcard-temp', 'jid': 'icq.6kbytes.com', 'handler': <bound method 
VCardFactory.incomingIq of <misciq.VCardFactory instance at 0x40b1c7ec>>, 
'self': 'instance'} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'updatemyvcard', 'jid': 'icq.6kbytes.com', 'name': 'command_UpdateMyVCard', 
'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of 
<misciq.AdHocCommands instance at 0x40b1c04c>>, 'rootnode': False} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'stats', 'jid': 'icq.6kbytes.com', 'name': 'command_Statistics', 'self': 
'instance', 'handler': <bound method AdHocCommands.incomingIq of 
<misciq.AdHocCommands instance at 0x40b1c04c>>, 'rootnode': False} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'connectusers', 'jid': 'icq.6kbytes.com', 'name': 'command_ConnectUsers', 
'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of 
<misciq.AdHocCommands instance at 0x40b1c04c>>, 'rootnode': False} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'emaillookup', 'jid': 'icq.6kbytes.com', 'name': 'command_EmailLookup', 'self': 
'instance', 'handler': <bound method AdHocCommands.incomingIq of 
<misciq.AdHocCommands instance at 0x40b1c04c>>, 'rootnode': False} ::
[2006-04-18 13:09:19] INFO ::  :: ServerDiscovery :: addNode :: {'node': 
'confirmaccount', 'jid': 'icq.6kbytes.com', 'name': 'command_ConfirmAccount', 
'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of 
<misciq.AdHocCommands instance at 0x40b1c04c>>, 'rootnode': False} ::
[2006-04-18 13:09:19] Starting factory 
<twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 
0x402bd72c>
[2006-04-18 13:09:19] INFO ::  :: PyTransport :: componentConnected :: 
{'xmlstream': <twisted.words.protocols.jabber.xmlstream.XmlStream instance at 
0x40b1cd4c>, 'self': 'instance'} ::
[2006-04-18 13:09:27] INFO ::  :: PyTransport :: onPresence :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b2514c>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e14c>, 'ulang': None, 
'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'ptype': 
u'unavailable', 'toj': <twisted.words.protocols.jabber.jid.JID instance at 
0x40b2e22c>, 'to': u'icq.6kbytes.com'} :: Sending unavailable presence to 
non-logged in user
[2006-04-18 13:09:46] INFO ::  :: ServerDiscovery :: onIq :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b1cfec>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e24c>, 'iqType': 
u'get', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'ulang': None, 
'to': u'icq.6kbytes.com', 'ID': u'jcl_74'} :: Looking for handler
[2006-04-18 13:09:46] INFO ::  :: ServerDiscovery :: onIq :: {'node': None, 
'el': <twisted.words.xish.domish.Element object at 0x40b1cfec>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e24c>, 'iqType': 
u'get', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'feature': 
'jabber:iq:register', 'xmlns': u'jabber:iq:register', 'ulang': None, 'to': 
u'icq.6kbytes.com', 'handler': <bound method RegisterManager.incomingRegisterIq 
of <register.RegisterManager instance at 0x40b1c4cc>>, 'query': 
<twisted.words.xish.domish.Element object at 0x40b2e12c>, 'searchjid': 
u'icq.6kbytes.com', 'ID': u'jcl_74'} :: Handler found
[2006-04-18 13:09:46] INFO ::  :: RegisterManager :: incomingRegisterIq :: 
{'itype': u'get', 'self': 'instance', 'incoming': 
<twisted.words.xish.domish.Element object at 0x40b1cfec>} ::
[2006-04-18 13:09:46] INFO ::  :: RegisterManager :: sendRegistrationFields :: 
{'self': 'instance', 'incoming': <twisted.words.xish.domish.Element object at 
0x40b1cfec>} ::
[2006-04-18 13:09:52] INFO ::  :: ServerDiscovery :: onIq :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b1cb6c>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e50c>, 'iqType': 
u'set', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'ulang': None, 
'to': u'icq.6kbytes.com', 'ID': u'jcl_75'} :: Looking for handler
[2006-04-18 13:09:52] INFO ::  :: ServerDiscovery :: onIq :: {'node': None, 
'el': <twisted.words.xish.domish.Element object at 0x40b1cb6c>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e50c>, 'iqType': 
u'set', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'feature': 
'jabber:iq:register', 'xmlns': u'jabber:iq:register', 'ulang': None, 'to': 
u'icq.6kbytes.com', 'handler': <bound method RegisterManager.incomingRegisterIq 
of <register.RegisterManager instance at 0x40b1c4cc>>, 'query': 
<twisted.words.xish.domish.Element object at 0x40b2e24c>, 'searchjid': 
u'icq.6kbytes.com', 'ID': u'jcl_75'} :: Handler found
[2006-04-18 13:09:52] INFO ::  :: RegisterManager :: incomingRegisterIq :: 
{'itype': u'set', 'self': 'instance', 'incoming': 
<twisted.words.xish.domish.Element object at 0x40b1cb6c>} ::
[2006-04-18 13:09:52] INFO ::  :: RegisterManager :: updateRegistration :: 
{'self': 'instance', 'incoming': <twisted.words.xish.domish.Element object at 
0x40b1cb6c>} ::
[2006-04-18 13:09:52] INFO ::  :: RegisterManager :: updateRegistration :: 
{'username': u'14205226', 'incoming': <twisted.words.xish.domish.Element object 
at 0x40b1cb6c>, 'self': 'instance', 'ulang': None, 'source': u'[EMAIL 
PROTECTED]', 'queryFind': <twisted.words.xish.domish.Element object at 
0x40b2e24c>, 'child': <twisted.words.xish.domish.Element object at 0x40b2e4ac>, 
'password': u'XXXX'} :: Updating XDB
[2006-04-18 13:09:52] INFO ::  :: RegisterManager :: updateRegistration :: 
{'username': u'14205226', 'incoming': <twisted.words.xish.domish.Element object 
at 0x40b1cb6c>, 'self': 'instance', 'ulang': None, 'source': u'[EMAIL 
PROTECTED]', 'queryFind': <twisted.words.xish.domish.Element object at 
0x40b2e24c>, 'child': <twisted.words.xish.domish.Element object at 0x40b2e4ac>, 
'password': u'XXXX'} :: Updated XDB
[2006-04-18 13:09:52] INFO ::  :: RegisterManager :: updateRegistration :: 
{'username': u'14205226', 'incoming': <twisted.words.xish.domish.Element object 
at 0x40b1cb6c>, 'self': 'instance', 'ulang': None, 'source': u'[EMAIL 
PROTECTED]', 'queryFind': <twisted.words.xish.domish.Element object at 
0x40b2e24c>, 'child': <twisted.words.xish.domish.Element object at 0x40b2e4ac>, 
'password': u'XXXX'} :: Sent a result Iq
[2006-04-18 13:09:54] INFO ::  :: PyTransport :: onPresence :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b2e4cc>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e70c>, 'ulang': None, 
'self': 'instance', 'fro': u'[EMAIL PROTECTED]', 'ptype': u'subscribed', 'toj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e74c>, 'to': 
u'icq.6kbytes.com'} :: Sending unavailable presence to non-logged in user
[2006-04-18 13:09:54] INFO ::  :: PyTransport :: onPresence :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b2e5ac>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e8ac>, 'ulang': None, 
'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'ptype': None, 'toj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b1cfec>, 'to': 
u'icq.6kbytes.com'} :: Attempting to create a new session
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: 7a/src/session.p :: 
makeSession :: {'ulang': None, 'jabberID': u'[EMAIL PROTECTED]', 'rosterID': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b1cfec>, 'pytrans': 
<main.PyTransport instance at 0x40b1c2cc>} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: __init__ :: 
{'jabberID': u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport instance at 
0x40b1c2cc>, 'self': 'instance'} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: __init__ :: 
{'username': '14205226', 'self': 'instance', 'ulang': None, 'rosterID': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b1cfec>, 'jabberID': 
u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport instance at 0x40b1c2cc>, 
'password': 'XXXX'} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: ContactList :: __init__ :: 
{'self': 'instance', 'session': <session.Session instance at 0x40a8da4c>} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: legacylist.LegacyList :: 
getLegacyList :: {'self': 'instance'} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: legacylist.LegacyList :: 
getLegacyList :: {'bl': {}, 'entities': None, 'self': 'instance'} :: Unable to 
get list, or empty
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: glue.LegacyConnection :: 
__init__ :: {'username': '14205226', 'self': 'instance', 'legacylist': <module 
'legacy.legacylist' from 
'/usr/local/jabber/pyicq-t-0.7a/src/legacy/legacylist.pyc'>, 'session': 
<session.Session instance at 0x40a8da4c>, 'hostport': ('login.icq.com', 5190), 
'password': 'XXXX'} :: Creating
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: glue.LegacyConnection :: 
__init__ :: {'username': '14205226', 'self': 'instance', 'legacylist': <module 
'legacy.legacylist' from 
'/usr/local/jabber/pyicq-t-0.7a/src/legacy/legacylist.pyc'>, 'session': 
<session.Session instance at 0x40a8da4c>, 'hostport': ('login.icq.com', 5190), 
'password': 'XXXX'} :: Connect via direct tcp
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: glue.LegacyConnection :: 
__init__ :: {'username': '14205226', 'self': 'instance', 'legacylist': <module 
'legacy.legacylist' from 
'/usr/local/jabber/pyicq-t-0.7a/src/legacy/legacylist.pyc'>, 'session': 
<session.Session instance at 0x40a8da4c>, 'hostport': ('login.icq.com', 5190), 
'password': 'XXXX'} :: Created!
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: glue.LegacyConnection :: 
setStatus :: {'url': None, 'self': 'instance', 'nickname': u'ss6df', 
'friendly': None, 'show': None} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: doVCardUpdate :: 
{'self': 'instance', 'vCardReceived': <function vCardReceived at 0x40b2a6bc>, 
'errback': <function errback at 0x40b2a684>} :: Fetching avatar
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: __init__ :: 
{'username': '14205226', 'self': 'instance', 'ulang': None, 'rosterID': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b1cfec>, 'jabberID': 
u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport instance at 0x40b1c2cc>, 
'password': 'XXXX'} :: Created!
[2006-04-18 13:09:54] INFO ::  :: PyTransport :: onPresence :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b2e5ac>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b2e8ac>, 'ulang': None, 
'self': 'instance', 'fro': u'[EMAIL PROTECTED]/Exodus', 'ptype': None, 'toj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b1cfec>, 'to': 
u'icq.6kbytes.com', 's': <session.Session instance at 0x40a8da4c>} :: New 
session created
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: onPresence :: 
{'el': <twisted.words.xish.domish.Element object at 0x40b2e5ac>, 'self': 
'instance'} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: onPresence :: 
{'status': u'Available', 'el': <twisted.words.xish.domish.Element object at 
0x40b2e5ac>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at 
0x40b3294c>, 'show': None, 'url': None, 'self': 'instance', 'fro': u'[EMAIL 
PROTECTED]/Exodus', 'avatarHash': '', 'ptype': None, 'priority': u'1', 'to': 
u'icq.6kbytes.com', 'child': <twisted.words.xish.domish.Element object at 
0x40b2e84c>, 'nickname': '', 'toj': <twisted.words.protocols.jabber.jid.JID 
instance at 0x40b329ac>} :: Parsed presence packet
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: 
handleResourcePresence :: {'status': u'Available', 'resource': u'Exodus', 
'show': None, 'url': None, 'self': 'instance', 'ptype': None, 'existing': 
False, 'priority': u'1', 'to': u'icq.6kbytes.com', 'tor': None, 'source': 
u'[EMAIL PROTECTED]'} :: Resource came online
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: ContactList :: resendLists 
:: {'tojid': u'[EMAIL PROTECTED]/Exodus', 'self': 'instance'} ::
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: 
handleResourcePresence :: {'status': u'Available', 'resource': u'Exodus', 
'show': None, 'url': None, 'self': 'instance', 'ptype': None, 'existing': 
False, 'priority': u'1', 'to': u'icq.6kbytes.com', 'tor': None, 'source': 
u'[EMAIL PROTECTED]'} :: Setting status
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: 
handleResourcePresence :: {'status': u'Available', 'resource': u'Exodus', 
'show': None, 'url': None, 'self': 'instance', 'ptype': None, 'existing': 
False, 'priority': u'1', 'to': u'icq.6kbytes.com', 'tor': None, 'source': 
u'[EMAIL PROTECTED]', 'highestActive': u'Exodus'} :: Updating status on legacy 
service
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: glue.LegacyConnection :: 
setStatus :: {'url': None, 'self': 'instance', 'nickname': u'ss6df', 
'friendly': u'Available', 'show': None} ::
[2006-04-18 13:09:54] INFO ::  :: Session :: getCapabilities :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b2e5ac>, 'self': 'instance'} ::
[2006-04-18 13:09:54] INFO ::  :: ServerDiscovery :: onIq :: {'el': 
<twisted.words.xish.domish.Element object at 0x40b32fac>, 'froj': 
<twisted.words.protocols.jabber.jid.JID instance at 0x40b3902c>, 'iqType': 
u'result', 'self': 'instance', 'fro': u'[EMAIL PROTECTED]', 'ulang': None, 
'to': u'icq.6kbytes.com', 'ID': u'1'} :: Doing callback
[2006-04-18 13:09:54] INFO :: [EMAIL PROTECTED] :: Session :: vCardReceived :: 
{'el': <twisted.words.xish.domish.Element object at 0x40b32fac>, 'self': 
'instance', 'errback': <function errback at 0x40b2a684>} ::
Segmentation fault





Thanks in advice
Fran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060418/14b2695b/attachment-0001.htm
From [EMAIL PROTECTED]  Tue Apr 18 20:51:56 2006
From: [EMAIL PROTECTED] (Francisco Obarrio)
Date: Tue Apr 18 20:52:12 2006
Subject: [py-transports] Nick on Pymsn
Message-ID: <[EMAIL PROTECTED]>

Hello, Is there any way of not setting up a nickname when i register ? 
because if i register with a username call username, my msn nickname will be 
username instead of my msn nickname that i have on MSN.

Thanks
Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060418/62ec401f/attachment.html
From [EMAIL PROTECTED]  Tue Apr 18 20:59:42 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue Apr 18 20:59:47 2006
Subject: [py-transports] Nick on Pymsn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

> Hello, Is there any way of not setting up a nickname when i register ?
> because if i register with a username call username, my msn nickname will be
> username instead of my msn nickname that i have on MSN.

I thought it's supposed to read the 'nickname' field from the vCard,
but it doesn't seem so.

Is this something that has regressed?

--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Apr 18 22:43:55 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Tue Apr 18 22:44:24 2006
Subject: [py-transports] Nick on Pymsn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 19/04/2006, at 6:51 AM, Francisco Obarrio wrote:

> Hello, Is there any way of not setting up a nickname when i register ?
> because if i register with a username call username, my msn nickname 
> will be username instead of my msn nickname that i have on MSN.
>
> Thanks
> Francisco

Which transport version are you using? Were your registering with 
webreg?
Try out PyMSNt 0.11, with webreg 0.5.

---

James

Reply via email to