[Bug 337759] Re: openerp-server depends on python-xml and is therefore uninstallable ATM

Z zwahri at web.de
Sun Mar 15 16:53:42 UTC 2009


I've tried looking around in the python code and found python-xml is broken:
Openerp tries to initialize xml.dom and xml.xpath.
Since both initializations are done in the same try ... catch block, only one error message is given, but xml.dom loads fine while xml.xpath dies.

This may be reproduced manually:
$ python
Python 2.6.1+ (r261:67515, Mar  2 2009, 13:11:28) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml
>>> import xml.dom
>>> import xml.xpath
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/_xmlplus/xpath/__init__.py", line 105, in <module>
    import Context
  File "/usr/lib/python2.6/dist-packages/_xmlplus/xpath/Context.py", line 15, in <module>
    import CoreFunctions
  File "/usr/lib/python2.6/dist-packages/_xmlplus/xpath/CoreFunctions.py", line 20, in <module>
    from xml.xpath import Util, Conversions
  File "/usr/lib/python2.6/dist-packages/_xmlplus/xpath/Conversions.py", line 22, in <module>
    from xml.utils import boolean
ImportError: cannot import name boolean

So I'm guessing even though python-xml got upgraded/rebuilt for
python-2.6 it's not working correctly.

Too bad openerp seems to really need xpath from python-xml...

-- 
openerp-server depends on python-xml and is therefore uninstallable ATM
https://bugs.launchpad.net/bugs/337759
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list