Public bug reported:

Binary package hint: pootle

sudo PootleServer 
/var/lib/python-support/python2.5/jToolkit/data/dates.py:27: 
DeprecationWarning: The sre module is deprecated, please import re.
  import sre
Traceback (most recent call last):
  File "/usr/sbin/PootleServer", line 23, in <module>
    from Pootle import pootle
  File "/usr/lib/python2.5/site-packages/Pootle/pootle.py", line 23, in <module>
    from jToolkit.web import templateserver
  File "/var/lib/python-support/python2.5/jToolkit/web/templateserver.py", line 
26, in <module>
    import kid
  File "/var/lib/python-support/python2.5/kid/__init__.py", line 30, in <module>
    from kid.codewriter import KID_XMLNS
  File "/var/lib/python-support/python2.5/kid/codewriter.py", line 16, in 
<module>
    from kid.parser import *
  File "/var/lib/python-support/python2.5/kid/parser.py", line 9, in <module>
    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:

[EMAIL PROTECTED]:/usr/share/pycentral/pootle/site-packages$ python
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/python-support/python2.5/kid/__init__.py", line 30, in <module>
    from kid.codewriter import KID_XMLNS
  File "/var/lib/python-support/python2.5/kid/codewriter.py", line 16, in 
<module>
    from kid.parser import *
  File "/var/lib/python-support/python2.5/kid/parser.py", line 9, in <module>
    from kid.et import *  # ElementTree
AttributeError: 'module' object has no attribute 'ElementTree'
>>> 

But it goes nice with python2.4:

[EMAIL PROTECTED]:/usr/share/pycentral/pootle/site-packages$ python2.4
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

** Affects: pootle (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
unable to run pootle, possible problem with python 2.4 → 2.5 upgrade
https://launchpad.net/bugs/83639

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to