Skip to Content
Menu
This question has been flagged
6 Replies
5106 Views

There is an error in openerp server installation while installing odoo 9.0 on Ubuntu 16.04

File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi    execute(self.server.app)  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 168, in execute    application_iter = app(environ, start_response)  File "/opt/odoo/odoo/openerp/service/server.py", line 246, in app    return self.app(e, s)  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 184, in application    return application_unproxied(environ, start_response)  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 170, in application_unproxied    result = handler(environ, start_response)  File "/opt/odoo/odoo/openerp/http.py", line 1495, in __call__    return self.dispatch(environ, start_response)  File "/opt/odoo/odoo/openerp/http.py", line 1469, in __call__    return self.app(environ, start_wrapped)  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 591, in __call__    return self.app(environ, start_response)  File "/opt/odoo/odoo/openerp/http.py", line 1659, in dispatch    result = ir_http._dispatch()  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 187, in _dispatch    return self._handle_exception(e)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 158, in _handle_exception    return request._handle_exception(exception)  File "/opt/odoo/odoo/openerp/http.py", line 786, in _handle_exception    return super(HttpRequest, self)._handle_exception(exception)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 183, in _dispatch    result = request.dispatch()  File "/opt/odoo/odoo/openerp/http.py", line 845, in dispatch    r = self._call_function(**self.params)  File "/opt/odoo/odoo/openerp/http.py", line 321, in _call_function    return checked_call(self.db, *args, **kwargs)  File "/opt/odoo/odoo/openerp/service/model.py", line 118, in wrapper    return f(dbname, *args, **kwargs)  File "/opt/odoo/odoo/openerp/http.py", line 317, in checked_call    result.flatten()  File "/opt/odoo/odoo/openerp/http.py", line 1446, in flatten    self.response.append(self.render())  File "/opt/odoo/odoo/openerp/http.py", line 1439, in render    context=request.context)  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1081, in render    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 252, in render    element = self.get_template(id_or_xml_id, qwebcontext)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 174, in get_template    raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find template %r" % name, template=origin_template)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 172, in get_template    document = qwebcontext.loader(name)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1079, in loader    return self.read_template(cr, uid, name, context=context)  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 953, in read_template    view_id = self.get_view_id(cr, uid, xml_id, context=context)  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 957, in get_view_id    return self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_if_not_found=True)  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 1011, in xmlid_to_res_id    return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1]  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 1003, in xmlid_to_res_model_res_id    return self.xmlid_lookup(cr, uid, xmlid)[1:3]  File "/opt/odoo/odoo/openerp/api.py", line 250, in wrapper    return old_api(self, *args, **kwargs)  File "<decorator-gen-3>", line 2, in xmlid_lookup      File "/opt/odoo/odoo/openerp/tools/cache.py", line 85, in lookup    value = d[key] = self.method(*args, **kwargs)  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 993, in xmlid_lookup    raise ValueError('External ID not found in the system: %s' % (xmlid))QWebTemplateNotFound: External ID not found in the system: web.login

Avatar
Discard
Best Answer

What you need to do is to upgrade the web module of odoo. you can start odoo server manually by changing directory to odoo server and run the command.

./odoo.py -d <database_name> -u web

please change the database name accordingly.

It will update the XML of the web and depended on module & will resolve your issue.

Avatar
Discard
Best Answer

First of Try to Re Launch your Browser after Clearing cache and then install all the dependencies specially passlib :-

sudo apt-get install python-passlib

Also Then try to create db again and then run odoo

  • ./openerp-server -d <your_db_name> -u base


Avatar
Discard
Best Answer

Odoo 10 and other version  installation step follow

http://prakash-prajapati.site90.com/OdooInstall.html

Avatar
Discard
Best Answer

First clear your cache and cookies.You can use this link to download new server https://github.com/odoo/odoo/tree/9.0 and check whether your path given in log correctly you can also use dbfilter.

Avatar
Discard
Best Answer

Hi...

Adding to the addons path;

You have to start the server with the appropriate addons path configuration:

Example:-

./odoo.py --addons-path="custom-addons,odoo/addons"

or

add that folder to your addon path in your config file.


Hope this will help.

Thanks

Avatar
Discard
Author Best Answer

Thanks to all for your answers. It helps me a lot.

Avatar
Discard