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

OpenERP Server Error

By
Umberto
on 6/30/14, 6:04 PM 1,056 views

when I install a module "not supported by OpenERP Enterprise.", I get the following error

Client Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/server/openerp/addons/web/session.py", line 97, in send raise xmlrpclib.Fault('AccessDenied', openerp.tools.ustr(e)) Server Access denied.

example for the module "Product Variant Multi"

Thanks


2014-07-02 19:45:58,386 9541 ERROR openerp1 openerp.netsvc: ValidateError Si è verificato un errore durante la convalida dei campi arch: Invalid XML for View Architecture! Traceback (most recent call last): File "/home/ubunt/lp/openerp/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/ubunt/lp/openerp/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/home/ubunt/lp/openerp/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/ubunt/lp/openerp/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/home/ubunt/lp/openerp/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/ubunt/lp/openerp/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/ubunt/lp/openerp/openerp/addons/base/module/module.py", line 694, in install_from_urls post_install_action = self.button_immediate_install(cr, uid, to_install_ids, context=context) File "/home/ubunt/lp/openerp/openerp/addons/base/module/module.py", line 426, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/home/ubunt/lp/openerp/openerp/addons/base/module/module.py", line 477, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/home/ubunt/lp/openerp/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/home/ubunt/lp/openerp/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/home/ubunt/lp/openerp/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/home/ubunt/lp/openerp/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/home/ubunt/lp/openerp/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/home/ubunt/lp/openerp/openerp/modules/loading.py", line 76, in load_data = lambda *args: _load_data(cr, *args, kind='data') File "/home/ubunt/lp/openerp/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/home/ubunt/lp/openerp/openerp/tools/convert.py", line 959, in convert_xml_import obj.parse(doc.getroot()) File "/home/ubunt/lp/openerp/openerp/tools/convert.py", line 852, in parse self._tags[rec.tag](self.cr, rec, n) File "/home/ubunt/lp/openerp/openerp/tools/convert.py", line 819, in _tag_record id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/home/ubunt/lp/openerp/openerp/addons/base/ir/ir_model.py", line 971, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/home/ubunt/lp/openerp/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context) File "/home/ubunt/lp/openerp/openerp/osv/orm.py", line 4551, in create self._validate(cr, user, [id_new], context) File "/home/ubunt/lp/openerp/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_osv: ('ValidateError', u'Si \xe8 verificato un errore durante la convalida dei campi arch: Invalid XML for View Architecture!')
Umberto
on 7/2/14, 3:57 PM
0

tolstoj

--tolstoj--
899
| 6 5 8
Germany
--tolstoj--

hi

tolstoj
On 6/30/14, 6:46 PM

You do not have access to DB

  • check if Postgres started
  • check your DB password

For the next time, it's better to deliver Server Traceback, not Client Traceback.

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: 6/30/14, 6:04 PM
Seen: 1056 times
Last updated: 3/16/15, 8:10 AM