unable to run pootle, possible problem with python 2.4 → 2.5 upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pootle (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: pootle
sudo PootleServer
/var/lib/
import sre
Traceback (most recent call last):
File "/usr/sbin/
from Pootle import pootle
File "/usr/lib/
from jToolkit.web import templateserver
File "/var/lib/
import kid
File "/var/lib/
from kid.codewriter import KID_XMLNS
File "/var/lib/
from kid.parser import *
File "/var/lib/
from kid.et import * # ElementTree
AttributeError: 'module' object has no attribute 'ElementTree'
python-elementtree is installed.
In a python2.5 shell, the following import doesn't succeed:
steko@cycnus:
Python 2.5 (release25-maint, Feb 5 2007, 02:52:52)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from kid.et import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/
from kid.codewriter import KID_XMLNS
File "/var/lib/
from kid.parser import *
File "/var/lib/
from kid.et import * # ElementTree
AttributeError: 'module' object has no attribute 'ElementTree'
>>>
But it goes nice with python2.4:
steko@cycnus:
Python 2.4.4 (#2, Feb 5 2007, 17:46:20)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from kid.et import *
>>>
So perhaps there is some problem with that. I hope that helps and I'm willful to provide more information about this bug
Changed in pootle: | |
assignee: | daniel-ohuiginn → nobody |
I can reproduce this. No idea how to fix it, though