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

I'm getting this error at while trying to login to my webpage:

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/Users/alzarough/odoo/odoo/http.py", line 806, in dispatch

    r = self._call_function(**self.params)

  File "/Users/alzarough/odoo/odoo/http.py", line 359, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/Users/alzarough/odoo/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/Users/alzarough/odoo/odoo/http.py", line 350, in checked_call

    result.flatten()

  File "/Users/alzarough/odoo/odoo/http.py", line 1242, in flatten

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

  File "/Users/alzarough/odoo/odoo/http.py", line 1235, in render

    return env["ir.ui.view"]._render_template(self.template, self.qcontext)

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_ui_view.py", line 1709, in _render_template

    return self.browse(self.get_view_id(template))._render(values, engine)

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_ui_view.py", line 1604, in get_view_id

    return view and view.id or self.env['ir.model.data'].xmlid_to_res_id(template, raise_if_not_found=True)

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_model.py", line 1894, in xmlid_to_res_id

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

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_model.py", line 1885, in xmlid_to_res_model_res_id

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

  File "<decorator-gen-35>", line 2, in xmlid_lookup

    

  File "/Users/alzarough/odoo/odoo/tools/cache.py", line 90, in lookup

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

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_model.py", line 1878, in xmlid_lookup

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

Exception


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/werkzeug/serving.py", line 306, in run_wsgi

    execute(self.server.app)

  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/werkzeug/serving.py", line 294, in execute

    application_iter = app(environ, start_response)

  File "/Users/alzarough/odoo/odoo/service/server.py", line 440, in app

    return self.app(e, s)

  File "/Users/alzarough/odoo/odoo/service/wsgi_server.py", line 124, in application

    return application_unproxied(environ, start_response)

  File "/Users/alzarough/odoo/odoo/service/wsgi_server.py", line 99, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/Users/alzarough/odoo/odoo/http.py", line 1295, in __call__

    return self.dispatch(environ, start_response)

  File "/Users/alzarough/odoo/odoo/http.py", line 1263, in __call__

    return self.app(environ, start_wrapped)

  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__

    return self.app(environ, start_response)

  File "/Users/alzarough/odoo/odoo/http.py", line 1468, in dispatch

    result = ir_http._dispatch()

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_http.py", line 241, in _dispatch

    return cls._handle_exception(e)

  File "/Users/alzarough/odoo/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception

    return request._handle_exception(exception)

  File "/Users/alzarough/odoo/odoo/http.py", line 744, in _handle_exception

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

  File "/Users/alzarough/odoo/odoo/http.py", line 315, in _handle_exception

    raise exception.with_traceback(None) from new_cause

ValueError: External ID not found in the system: web.login - - -

Avatar
Discard
Best Answer

You are not mentioning if you have a custom modules or if you do some changed to the web login page.

The error state that the web.login not exists in the system. 

External ID not found in the system: web.login

What you can do is:

Stop Odoo service and then update the web module:

$ cd /Users/alzarough/odoo
$ python3 odoo-bin  --stop-after-init -u web -d [YOUR DB NAME]


Avatar
Discard