ciao, ho fatto la seguente:
- ho messo la 5.0.6 scaricata dal sito.
- ho messo postgresql 8.4
- ho fatto:
cd openerp-server-5.0.6
sudo python setup.py install
stessa cosa per il client.
Lanciando il server ho l'errore:
[CODE/]
openerp-server restart
ERROR: Import xpath module
ERROR: Try to install the old python-xml package
On Ubuntu Jaunty, try this: sudo cp /usr/lib/python2.6/dist-packages/oldxml/_xmlplus/utils/boolean.so /usr/lib/python2.5/site-packages/oldxml/_xmlplus/utils
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/lib/python2.6/dist-packages/oldxml/_xmlplus/xpath/__init__.py", line 105, in <module>
import Context
File "/usr/lib/python2.6/dist-packages/oldxml/_xmlplus/xpath/Context.py", line 15, in <module>
import CoreFunctions
File "/usr/lib/python2.6/dist-packages/oldxml/_xmlplus/xpath/CoreFunctions.py", line 20, in <module>
from xml.xpath import Util, Conversions
File "/usr/lib/python2.6/dist-packages/oldxml/_xmlplus/xpath/Conversions.py", line 22, in <module>
from xml.utils import boolean
ImportError: cannot import name boolean
[/CODE]
P.S. ho spostato il contenuto della cartella
/usr/local/lib/python2.6/site-packages in /usr/local/lib/python2.6/dist-packages
cosa sto sbagliando ?