Odoo Help


Could you help with this Internal Server Error? [Closed]

Pascal Tremblay
on 1/18/15, 10:21 AM 1,843 views

The Question has been closed for reason: not relevant or out dated

Pascal Tremblay
on 01/18/2015 13:43:12

Hello guys,

I have too much tests in my files.

Would you have some tips to help me resolve this major problem?

Thanks all

Internal Server Error

2015-01-18 15:13:58,094 6226 ERROR officielle werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi


  File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute

    application_iter = app(environ, start_response)

  File "/home/odoo/openerp/service/server.py", line 281, in app

    return self.app(e, s)

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

    return application_unproxied(environ, start_response)

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

    result = handler(environ, start_response)

  File "/home/odoo/openerp/http.py", line 1275, in __call__

    return self.dispatch(environ, start_response)

  File "/home/odoo/openerp/http.py", line 1249, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__

    return self.app(environ, start_response)

  File "/home/odoo/openerp/http.py", line 1421, in dispatch

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

  File "/home/odoo/openerp/http.py", line 1356, in get_response

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

  File "/home/odoo/addons/website/models/ir_http.py", line 253, in _handle_exception

    html = request.website._render('website.http_error', values)

  File "/home/odoo/openerp/api.py", line 239, in wrapper

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

  File "/home/odoo/openerp/api.py", line 546, in new_api

    result = method(self._model, cr, uid, self.ids, *args, **kwargs)

  File "/home/odoo/addons/website/models/website.py", line 287, in _render

    return self.pool['ir.ui.view'].render(cr, uid, template, values=values, context=context)

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

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

  File "/home/odoo/addons/website/models/ir_ui_view.py", line 153, in render

    menu_data=self.pool['ir.ui.menu'].load_menus_root(cr, uid, context=context) if request.website.is_user() else None,

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

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

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


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

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

  File "/home/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 361, in load_menus_root

    menu_root_ids = self.get_user_roots(cr, uid, context=context)

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

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

  File "/home/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 355, in get_user_roots

    return self.search(cr, uid, menu_domain, context=context)

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

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

  File "/home/odoo/addons/mail/mail_group_menu.py", line 42, in search

    context=context, count=False)

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

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

  File "/home/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 128, in search

    result = self._filter_visible_menus(cr, uid, ids, context=context)

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

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

  File "/home/odoo/openerp/api.py", line 363, in old_api

    result = method(recs, *args, **kwargs)

  File "/home/odoo/openerp/addons/base/ir/ir_ui_menu.py", line 99, in _filter_visible_menus

    if not fname or not menu.action[fname] or \

  File "/home/odoo/openerp/models.py", line 5500, in __getitem__

    return self._fields[key].__get__(self, type(self))

  File "/home/odoo/openerp/fields.py", line 768, in __get__

    return record._cache[self]

  File "/home/odoo/openerp/models.py", line 5834, in __getitem__

    return value.get() if isinstance(value, SpecialValue) else value

  File "/home/odoo/openerp/fields.py", line 53, in get

    raise self.exception

MissingError: ('MissingError', u'One of the documents you are trying to access has been deleted, please try again after refreshing.')



Update :

- My error is when sale_order module loads;

- I have tried with 3 differents databases from 3 different dates : doesn't work, same error;

- I have updated files from github : doesn't work, same error;

- I have create a new database : odoo starts;


Something is trying to find a file (or a menu item) that you have deleted... Only you could know what you have deleted. You might have to reload the original modules to fix this and if you are working in developer mode instead of custom modules you will probably lose a lot of work. My best guess is you deleted a menu item or menu item action. But it could be almost anything linking to a menu.

John Baldwin
on 1/18/15, 11:59 AM

When you create a new db and odoo starts after refreshing files from github, that tells me that the files in postgresql db are not updating; try using command line -d dbname -u all to refresh the postgresql loaded modules. The error might happen when loading sale_order but it could be a reference to another module that is triggering the error.

John Baldwin
on 1/18/15, 12:05 PM

Thanks a lot for this important info.

Pascal Tremblay
on 1/18/15, 1:42 PM

Pascal Tremblay

--Pascal Tremblay--
| 5 3 7
Alma, Canada
--Pascal Tremblay--

Pascal Tremblay
On 1/18/15, 1:41 PM

I have successfully restore a backup of the database. Probably  a <menuitem> tag in a custom view... Will close this post.

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: 1/18/15, 10:21 AM
Seen: 1843 times
Last updated: 3/16/15, 8:10 AM