Hello,
I have a little problem with my icq transport.
All was fine. I could connect to ICQ with this transport but now it's
impossible.
I change nothing in the configuration file. I don't know what's happened :(
I used python2.3 with piicq-t-0.7a.
I didn't remember if I update something or not...
All other transports are fine, pyaim-t-0.7c, pymsnt-0.11, and python yahoo
transport.
Here my the configuration file (config.xml):
*******************************************************************************
<pyicqt>
<!-- The JabberID of the transport. -->
<jid>icq</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>127.0.0.1</mainServer>
<!-- The JID of the main Jabber server -->
<!--<mainServerJID>jabber.localhost</mainServerJID>-->
<!-- The website of the Jabber service -->
<website>http://jabber.localhost/</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>secret</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>
******************************************************************************
Here is the trace of the error :
*******************************************************************************
Unhandled error in Deferred:
<12:16:22
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 290,
in unpause
self._runCallbacks()
File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 338,
in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 294,
in _continue
self.unpause()
File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 290,
in unpause
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 338,
in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/etc/jabberd2/pyicq-t-0.7a/src/legacy/icqt.py", line 359, in
gotBuddyList
self.icqcon.legacyList.updateSSIContact(u.name, nick=u.nick)
File "/etc/jabberd2/pyicq-t-0.7a/src/legacy/legacylist.py", line 202, in
updateSSIContact
self.session.pytrans.xdb.setListEntry("roster", self.session.jabberID,
contact.lower(), payload=self.xdbcontacts[contact.lower()])
File "/etc/jabberd2/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 307, in
setListEntry
self.set(jabberID, xdbns, list)
File "/etc/jabberd2/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 90, in set
self.__writeFile(file, document.toXml())
File "/etc/jabberd2/pyicq-t-0.7a/src/tlib/domish.py", line 408, in toXml
s.serialize(self, closeElement)
File "/etc/jabberd2/pyicq-t-0.7a/src/tlib/domish.py", line 112, in serialize
self.serialize(c)
File "/etc/jabberd2/pyicq-t-0.7a/src/tlib/domish.py", line 112, in serialize
self.serialize(c)
File "/etc/jabberd2/pyicq-t-0.7a/src/tlib/domish.py", line 100, in serialize
write((" %s='%s'" % ( k, escapeToXml(v, 1))).encode("utf-8","replace"))
exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in position
11-12: invalid data
*******************************************************************************
Now, I'm connected to my icq through my AIM transport...
All other transports work fine...
My ICQ transport status is 'disconnected' or 'unregistered';
Can anyone help me please ?
--
Tezam