for-what-it's-worth: This patch _removes_ the old functionality, so I won't be importing it into CVS any time soon (or until people start reporting success). I'd far rather write a shim for the xml files that does passthrough access to the xdb files. That way the admin can choose which db style to use in the config file.
On 3/8/07, Safford, Brian <[EMAIL PROTECTED]> wrote: > Did that ... the traceback goes away, but have not yet been able to get > the transport working. > > Am able to register with the transport, and my Pandion client shows it > as 'Active', but contacts I used to be able to chat with no longer work, > and if I log out and back in I have to re-register with the transport. > > Has anyone else gotten this patched version to actually work? > > Regards, > Brian > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Norman > Rasmussen > Sent: Thursday, March 08, 2007 9:46 AM > To: PyTransports Discussion > Subject: Re: [py-transports] PyYIM-t patch: user storage in XML > filesratherthan shelve > > try changing: > > if len(avatarItemsAttr) > 0: > > to > > if avatarItemsAttr and len(avatarItemsAttr) > 0: > > On 3/8/07, Safford, Brian <[EMAIL PROTECTED]> wrote: > > 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 > > py-transports@blathersource.org > > http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > > > -- > - Norman Rasmussen > - Email: [EMAIL PROTECTED] > - Home page: http://norman.rasmussen.co.za/ > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports > -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ _______________________________________________ py-transports mailing list py-transports@blathersource.org http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports