** Changed in: elementtree (Ubuntu)
Sourcepackagename: python-elementtree = elementtree
Status: New = Invalid
** Description changed:
Binary package hint: python-elementtree
- In ubuntu gutsy, the python-elementtree package as its module located at
I get the same thing on Hardy, 'from xml.etree import ElementTree' does
work though: thanks garyo.
--
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
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):
Using Hardy (python2.5) running a WSGI app which depends on python-
elementtree via Apache2 I get the following in
/var/log/apache2/error.log:
File /usr/lib/python2.5/site-packages/pkg_resources.py, line 524, in
resolve, referer: http://192.168.111.134/dashboard/index.wsgi/page/sidebar
raise
the import works correctly on hardy, is that still an issue there?
--
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
This bug shouldn't have priority 'low'. It renders the package
completely unusable for anyone with Python 2.5, and a patch already
exists. I think this bug should be fixed (by applying Basilio's patch)
and backported to Gutsy asap.
--
python-elementtree
Please note that although the problem in python-gdata can be fixed by
importing elementtree via xml.etree there is still another problem.
Python 2.5 includes elementtree inside the python base distribution
however it only includes a _subset_ of elementtree. This is why the
python-elementtree is
I reckon several people complained about the same thing, it seems the
version change on Python to 2.5 may have created the problems reported
** Changed in: python-gdata (Ubuntu)
Status: Incomplete = Confirmed
--
python-elementtree
There seems to be more trouble that elementtree as other imports on
gcalcli do give errors after changing the elementtree thing
Traceback (most recent call last):
File ./gcalcli, line 59, in module
from gdata.calendar.service import *
ImportError: No module named calendar.service
--
I have similar problem, but with different application (eTiny ). I get
following error message when trying to start it:
[EMAIL
PROTECTED]:/usr/lib/python2.5/site-packages/eTiny-1.0rc1-py2.5.egg/EGG-INFO/scripts$
start-tinyerp.py
Traceback (most recent call last):
File
** Tags added: verification-needed
--
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 the bug contact
The problem is that all files in directory /var/lib/python-support/python2.5/
should be changed, the imports used in those files (such as gdata.py and
atom.py) are:
from elementtree import ElementTree
and this should be changed in every file to:
try:
from xml.etree import cElementTree # for
Could someone please tell be how to apply Basilio's debdiff patch so I
can get my program to work?
--
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
Thanks Basilio but that documentation on patching made no sense to me.
I simply need the stepwise instruction of what to do with the file you
attached to get the gdata to work right.
--
python-elementtree
pack/usr/share/python-support/python-elementtree/elementtree/age has wrong
directory
same as previous patch, but this time in debdiff format.
Don, take a look at https://wiki.ubuntu.com/MOTU/School/PatchingSources
for information about how to patch code, if you have questions about it
please feel free to raise your question at the support tracker
https://answers.launchpad.net/
Basilio ---Please tell me what to do with the file you listed 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
I confirm this bug in Ubuntu Gutsy final release.
--
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 the
I believe that in python 2.5 you must import elementtree as
xml.etree.ElementTree, look at
http://effbot.org/zone/element-index.htm#installation.
if that's the case, i think this could be a bug in python-gdata which must
include a clause for python = 2.5.
** Changed in: python-gdata (Ubuntu)
Here I attach a patch for python-gdata-1.0 package, including the clause i
comment above, please try it and confirm if it works.
I'm not a python programmer so could not be the best workaround ever, but here
does the job.
** Attachment added: add a clause to import elementtree in python 2.5
actually there's a slightly better way than the provided by the previous
patch, please take a look to this one instead.
** Attachment added: same as above but to python 2.5 or greater
http://launchpadlibrarian.net/9469911/python-gdata_for_elementtree_in_python_ge_2.5.diff
--
On a system updated from feisty to gutsy I am having the same problem.
python2.5 cannot import elementtree but python2.4 can.
--
python-elementtree
pack/usr/share/python-support/python-elementtree/elementtree/age has wrong
directory structure
https://bugs.launchpad.net/bugs/138349
You received
Quick update: I was incorrect when I thought moving these files would
fix the problem. here is the actual error I'm having:
import gdata
Traceback (most recent call last):
File stdin, line 1, in module
File /var/lib/python-support/python2.5/gdata.py, line 29, in module
from elementtree
22 matches
Mail list logo