Odoo Help

Welcome!

This community 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.

0

500 Internal Server Error after remove addon

By
Droguett
on 1/6/16, 7:56 PM 859 views

Hi I uninstalled an addon by mistake and has caused me an internal server error , the log file reads:


2016-01-07 00:26:27,355 8253 CRITICAL bitnami_openerp openerp.service.server: Failed to initialize database `bitnami_openerp`.

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/service/server.py", line 919, in preload_registries

registry = RegistryManager.new(dbname, update_module=update_module)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/registry.py", line 368, in new

openerp.modules.load_modules(registry._db, force_demo, status, update_module)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/loading.py", line 357, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/registry.py", line 192, in setup_models

model._setup_fields(cr, SUPERUSER_ID)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 241, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 336, in old_api

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/models.py", line 2987, in _setup_fields

field.setup(self.env)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/fields.py", line 453, in setup

self._setup_related(env)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/fields.py", line 499, in _setup_related

field = recs._fields[name]

KeyError: 'formated_vat'


it would be great if you could help me please

1

Ermin Trevisan

--Ermin Trevisan--
3534
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 1/7/16, 2:55 AM

Recommended way: restore your backup.

Hard way: try to find and fix the error directly in the database.

But: is bitnami_openerp a productive database, which you need anymore? If not, delete the database using the database manager interface and start again. If you can't use the database manager interface, delete it using pgadmin in Postgres and restart the server.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/6/16, 7:56 PM
Seen: 859 times
Last updated: 1/14/16, 7:05 PM