Still a bug in hardy, I confirm it. On a stock install, do this:
% apt-get install python-gdata # install python GData API
% cd /tmp
% cp /usr/share/doc/python-gdata/samples/calendarExample.py.gz .
% gunzip calendarExample.py
% python calendarExample.py
Traceback (most recent call last):
File "calendarExample.py", line 21, in <module>
from elementtree import ElementTree
ImportError: No module named elementtree
Python 2.5 requires importing ElementTree like this:
from xml.etree import ElementTree
... so the gdata python package should be updated to include the try
clauses others have suggested above.
--
python-elementtree
pack/usr/share/python-support/python-elementtree/elementtree/age has wrong
directory structure
https://bugs.launchpad.net/bugs/138349
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs