ho lanciato openerp-server dalla directory usr/local/lib/python2.6/dist-packages/openerp-server
e funziona, nel senso che mi fa entrare nel database ma mi genera comunque l'errore quando aggiorno i moduli (ho dato tutti i permessi alla cartella openerp-server con il comando sudo chmod 777-R openerp-server):
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 245, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 74, in __call__
return getattr(self, method)(*params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 632, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 612, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 62, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 740, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 631, in load_module_graph
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 874, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 771, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 735, in _tag_record
f_val = self.id_get(cr, f_model, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 757, in id_get
return int(self.pool.get('ir.model.data').read(cr, self.uid, [result], )[0])
IndexError: list index out of range