Marcelo Weissbrot a écrit :
On upgrade to ubuntu 9.10
With python2.6, *as* is a reserved keyword, and so some come in pyxml is incompatible with python2.6
There is a bug existing on launchpad concerning this probleme (https://bugs.launchpad.net/ubuntu/+source/python-xml/+bug/343242), and someone provided a patch to make pyxml at least usable with py2.6.
http://launchpadlibrarian.net/31786748/0001-Patch-for-Python-2.6.patch So you need to apply this patch manually. Cheers, Xavier
when run openerp server: Traceback (most recent call last): File "./openerp-server.py", line 60, in <module> import netsvc File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 188, in <module> import tools File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/__init__.py", line 26, in <module> from convert import * File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 25, in <module> import osv File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/__init__.py", line 23, in <module> import osv File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 27, in <module> import orm File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 57, in <module> from xml import dom, xpath File "/usr/local/lib/python2.6/dist-packages/_xmlplus/xpath/__init__.py", line 112, in <module> from pyxpath import ExprParserFactory File "/usr/local/lib/python2.6/dist-packages/_xmlplus/xpath/pyxpath.py", line 59, in <module> from xml.xpath.ParsedAbbreviatedRelativeLocationPath import ParsedAbbreviatedRelativeLocationPath File"/usr/local/lib/python2.6/dist-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py",line 31 as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ^ SyntaxError: invalid syntax any ideas ? Regards
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
