I have applied this patch and am seeing this traceback:
Traceback (most recent call last):
File "PyYIMt.py", line 1379, in ?
connection.Process(1)
File "/usr/local/lib/python2.4/site-packages/xmpp/dispatcher.py", line
302, in dispatch
handler['func'](session,stanza)
File "PyYIMt.py", line 258, in xmpp_presence
if len(avatarItemsAttr) > 0:
TypeError: len() of unsized object
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Dyrna
Sent: Thursday, March 08, 2007 5:29 AM
To: Norman Rasmussen
Cc: Kaiser, Andreas; PyTransports Discussion
Subject: [py-transports] PyYIM-t patch: user storage in XML files
ratherthan shelve
Hi Norman,
attached you will find a patch that implements user storage in XML files
(one per registered user) rather then a shelve. The xdb class is taken
from the other three Py transports, so the Twisted framework must be
installed to get the patched version running.
shelve_migration.py does the migration. Call it with the dbm file as
first and target directory (must exist) as second command line
parameter.
Thanks to Andreas Kaiser for writing the patch.
Regards,
-Michael
_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports