Skip to Content
Menu
This question has been flagged
1 Reply
4719 Views

Hi everybody. This is the first time I try to install odoo on mac os system and got the following log, when I launch openerp-server or openerp-gevent:

2015-03-12 22:56:17,878 18365 INFO ? openerp: OpenERP version 8.0

2015-03-12 22:56:17,878 18365 INFO ? openerp: addons paths: ['/Users/owner/Library/Application Support/Odoo/addons/8.0', u'/opt/openerp/addons', u'/opt/addons']

2015-03-12 22:56:17,878 18365 INFO ? openerp: database hostname: localhost

2015-03-12 22:56:17,878 18365 INFO ? openerp: database port: 5432

2015-03-12 22:56:17,878 18365 INFO ? openerp: database user: owner

2015-03-12 22:56:18,176 18365 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072

2015-03-12 22:56:36,548 18365 INFO ? openerp.addons.report.models.report: You need Wkhtmltopdf to print a pdf version of the reports.

2015-03-12 22:56:36,894 18365 INFO ? openerp.http: HTTP Configuring static files

2015-03-12 22:56:36,896 18365 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres

2015-03-12 22:56:36,914 18365 INFO test openerp.modules.loading: loading 1 modules...

2015-03-12 22:56:36,925 18365 INFO test openerp.modules.loading: 1 modules loaded in 0.01s, 0 queries

2015-03-12 22:56:37,148 18365 INFO test openerp.modules.loading: Modules loaded.

2015-03-12 22:56:37,149 18365 INFO test openerp.addons.base.ir.ir_http: Generating routing map

127.0.0.1 - - [2015-03-12 22:56:37] "GET / HTTP/1.1" 200 329 1.866050

127.0.0.1 - - [2015-03-12 22:56:37] "GET /web HTTP/1.1" 200 387 0.006178

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 508, in handle_one_response

    self.run_application()

  File "/usr/local/lib/python2.7/site-packages/gevent/pywsgi.py", line 494, in run_application

    self.result = self.application(self.environ, self.start_response)

  File "/opt/openerp/service/wsgi_server.py", line 216, in application

    return application_unproxied(environ, start_response)

  File "/opt/openerp/service/wsgi_server.py", line 202, in application_unproxied

    result = handler(environ, start_response)

  File "/opt/openerp/http.py", line 1280, in __call__

    return self.dispatch(environ, start_response)

  File "/opt/openerp/http.py", line 1254, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/local/lib/python2.7/site-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/wsgi.py", line 591, in __call__

    return self.app(environ, start_response)

  File "/opt/openerp/http.py", line 1426, in dispatch

    response = self.get_response(httprequest, result, explicit_session)

  File "/opt/openerp/http.py", line 1361, in get_response

    result = request.registry['ir.http']._handle_exception(e)

  File "/opt/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception

    return request._handle_exception(exception)

  File "/opt/openerp/http.py", line 659, in _handle_exception

    return super(HttpRequest, self)._handle_exception(exception)

  File "/opt/openerp/http.py", line 1358, in get_response

    result.flatten()

  File "/opt/openerp/http.py", line 1231, in flatten

    self.response.append(self.render())

  File "/opt/openerp/http.py", line 1225, in render

    context=request.context)

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_ui_view.py", line 1029, in render

    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_qweb.py", line 259, in render

    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

  File "/opt/openerp/addons/base/ir/ir_qweb.py", line 190, in get_template

    raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find template %r" % name, template=origin_template)

  File "/opt/openerp/addons/base/ir/ir_qweb.py", line 188, in get_template

    xml_doc = qwebcontext.loader(name)

  File "/opt/openerp/addons/base/ir/ir_ui_view.py", line 1027, in loader

    return self.read_template(cr, uid, name, context=context)

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "<string>", line 2, in read_template

  File "/opt/openerp/tools/cache.py", line 119, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_ui_view.py", line 857, in read_template

    view_id = self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_if_not_found=True)

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_model.py", line 940, in xmlid_to_res_id

    return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1]

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_model.py", line 932, in xmlid_to_res_model_res_id

    return self.xmlid_lookup(cr, uid, xmlid)[1:3]

  File "/opt/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "<string>", line 2, in xmlid_lookup

  File "/opt/openerp/tools/cache.py", line 71, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "/opt/openerp/addons/base/ir/ir_model.py", line 922, in xmlid_lookup

    raise ValueError('External ID not found in the system: %s' % (xmlid))

QWebTemplateNotFound: External ID not found in the system: web.login

{'GATEWAY_INTERFACE': 'CGI/1.1',

 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',

 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',

 'HTTP_ACCEPT_LANGUAGE': 'es-419,es;q=0.8,en;q=0.6',

 'HTTP_CONNECTION': 'keep-alive',

 'HTTP_COOKIE': 'session_id=a17c6a9fa81bc6a076d73d20f0879c00410f1961',

 'HTTP_HOST': 'localhost:8072',

 'HTTP_REFERER': 'http://localhost:8072/web',

 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36',

 'PATH_INFO': '/web/login',

 'QUERY_STRING': 'redirect=http%3A%2F%2Flocalhost%3A8072%2Fweb',

 'REMOTE_ADDR': '127.0.0.1',

 'REMOTE_PORT': '52760',

 'REQUEST_METHOD': 'GET',

 'SCRIPT_NAME': '',

 'SERVER_NAME': 'owners-MacBook-Air.local',

 'SERVER_PORT': '8072',

 'SERVER_PROTOCOL': 'HTTP/1.1',

 'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',

 'werkzeug.request': <Request 'http://localhost:8072/web/login?redirect=http%3A%2F%2Flocalhost%3A8072%2Fweb' [GET]>,

 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x100d3b1e0>,

 'wsgi.input': <gevent.pywsgi.Input object at 0x103d21410>,

 'wsgi.multiprocess': False,

 'wsgi.multithread': False,

 'wsgi.run_once': False,

 'wsgi.url_scheme': 'http',

 'wsgi.version': (1, 0)} failed with QWebTemplateNotFound

 

127.0.0.1 - - [2015-03-12 22:56:37] "GET /web/login?redirect=http%3A%2F%2Flocalhost%3A8072%2Fweb HTTP/1.1" 500 161 0.030696

127.0.0.1 - - [2015-03-12 22:56:37] "GET /favicon.ico HTTP/1.1" 404 342 0.001429

I have installed passlib, which I read is neccesary to fix this error, but nothing happens, the error appears just from the begining, it does not let me create any database.

Hope someone can help me.

Thnaks in advance!

Avatar
Discard
Best Answer

Hello,

It says QWebTemplateNotFound: External ID not found in the system: web.login.
this template is created from 'web' module, so most likely your addons path is wrong, somehow web module is not loaded.

Avatar
Discard