Comment 64 for bug 337759

Revision history for this message
Yannick Warnier (ywarnier) wrote :

Just in case, I'm trying to install 5.0.6 on Karmic with Python 2.6 and I get the

ERROR: Import xpath module
ERROR: Try to install the old python-xml package
[...]
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 57, in <module>
   from xml import dom, xpath
ImportError cannot import name dom

However, as was suggested above, starting a Python intepreter and issuing "import xml.dom" is alright, it is only failing at "import xml.xpath".

Apparently there is no python-xml or python2.5-xml or anything of the likes directly in the Ubuntu Karmic repositories.
I have also left a (rather useless) comment here https://bugs.launchpad.net/openobject-server/+bug/429519