Odoo Help


Problems accessing openerp 7.0

Martin 'golodhrim' Scholz
on 5/19/13, 3:54 PM 2,444 views

Hi all,

after installing openerp on funtoo, a gentoo fork, I get the following error after setting up the database:

OpenERP Server Error
Client Traceback (most recent call last):
  File "/usr/openerp/addons/web/http.py", line 195, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/openerp/addons/web/controllers/main.py", line 818, in authenticate
    req.session.authenticate(db, login, password, env)
  File "/usr/openerp/addons/web/session.py", line 116, in authenticate
    uid = self.proxy('common').authenticate(db, login, password, env)
  File "/usr/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/usr/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib64/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib64/python2.7/site-packages/openerp/service/web_services.py", line 425, in dispatch
    return fn(*params)
  File "/usr/lib64/python2.7/site-packages/openerp/service/web_services.py", line 436, in exp_authenticate
    res_users = pooler.get_pool(db).get('res.users')
  File "/usr/lib64/python2.7/site-packages/openerp/pooler.py", line 49, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/usr/lib64/python2.7/site-packages/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/usr/lib64/python2.7/site-packages/openerp/modules/registry.py", line 192, in get
  File "/usr/lib64/python2.7/site-packages/openerp/modules/registry.py", line 214, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib64/python2.7/site-packages/openerp/modules/loading.py", line 303, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
  File "/usr/lib64/python2.7/site-packages/openerp/modules/loading.py", line 190, in load_module_graph
    load_data(module_name, idref, mode)
  File "/usr/lib64/python2.7/site-packages/openerp/modules/loading.py", line 75, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/usr/lib64/python2.7/site-packages/openerp/modules/loading.py", line 126, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib64/python2.7/site-packages/openerp/tools/convert.py", line 943, in convert_xml_import
    etree.parse(os.path.join(config['root_path'],'import_xml.rng' )))
  File "lxml.etree.pyx", line 3197, in lxml.etree.parse (src/lxml/lxml.etree.c:65042)
  File "parser.pxi", line 1571, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:93101)
  File "parser.pxi", line 1600, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:93388)
  File "parser.pxi", line 1500, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:92445)
  File "parser.pxi", line 1047, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:89329)
  File "parser.pxi", line 577, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:84711)
  File "parser.pxi", line 676, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:85816)
  File "parser.pxi", line 614, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:85110)
IOError: Error reading file '/usr/lib64/python2.7/site-packages/openerp/import_xml.rng': failed to load external entity "/usr/lib64/python2.7/site-packages/openerp/import_xml.rng"

For now I have postgresql 9.2 and the file it complains about is found at /usr/openerp/import_xml.rng

Any help would be welcome


so found a dirty hack for that, but not sure if it is the desired way, so far a workaround for me is to link that file to the searched place with

ln -s /usr/openerp/import_xml.rng /usr/lib64/python2.7/site-packages/openerp/import_xml.rng

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/19/13, 3:54 PM
Seen: 2444 times
Last updated: 3/16/15, 8:10 AM