XPath library bugged? AttributeError: Element instance has no attribute 'xpathAttributes'

Bug #314074 reported by emas
4
Affects Status Importance Assigned to Milestone
python-4suite (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-4suite

Hi,
I have had a problem with python-4suite and its XPath library using google calendar plugin fo opensync.

The occurred error is reported in attached file. The error message is

"AttributeError: Element instance has no attribute 'xpathAttributes'"

and occurred whenever a new event was added from my phone (-->opensync) to google calendar (-->google calendar plugin).

I found on this site

http://<email address hidden>/msg503765.html

a possible solution, that involves modifying library Ft/Xml/XPath/ParsedAxisSpecifier.py.

I don't know what's is it, because I am not a python programmer, but that fixed the error and now I am able to write and read throug opensync to my google calendar.

My Ubuntu version is 8.10 and my python-4suite-xml version is 1.0.2-5.

Revision history for this message
emas (emas80spam) wrote :
Revision history for this message
Sascha Steinbiss (satta) wrote :

Just as a reminder: This bug still exists in 9.04 and renders the google-calendar opensync plugin almost unusable for serious sync operation. As a possible patch is provided, I would like to bring this bug report to your attention again. Thanks.

Revision history for this message
Brett Viren (brett-viren) wrote :

I confirm that the modification listed in Debian bug 468601, message 25:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468601#25

fixes the problem for me (Jaunty, 32bit x86, python-4suite-xml 1.0.2-7ubuntu1). With this I can get multisync0.90 / opensync to push things to google calendar.

I still see a problem in that multisync0.90 never seems to finish the sync, but this happens with other modules (syncml-obex-client + evo2-sync) so I don't believe it is related to this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.