Odoo Help


can not login after trying to update

Emmanuel Damas Urassa
on 1/7/14, 11:01 AM 2,533 views

I got the following error after tying to update the module list. I can not any more login into openerp.

Client Traceback (most recent call last):

File "/opt/openerp_purchase/server/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params)

File "/opt/openerp_purchase/server/openerp/addons/web/controllers/main.py", line 867, in authenticate req.session.authenticate(db, login, password, env)

File "/opt/openerp_purchase/server/openerp/addons/web/session.py", line 115, in authenticate uid = self.proxy('common').authenticate(db, login, password, env)

File "/opt/openerp_purchase/server/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args)

File "/opt/openerp_purchase/server/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):

File "/opt/openerp_purchase/server/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args)

File "/opt/openerp_purchase/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params)

File "/opt/openerp_purchase/server/openerp/service/web_services.py", line 433, in dispatch return fn(*params) File "/opt/openerp_purchase/server/openerp/service/web_services.py", line 444, in exp_authenticate res_users = pooler.get_pool(db).get('res.users')

File "/opt/openerp_purchase/server/openerp/pooler.py", line 49, in get_pool return get_db_and_pool(db_name, force_demo, status, update_module)[1]

File "/opt/openerp_purchase/server/openerp/pooler.py", line 33, in get_db_and_pool registry = RegistryManager.get(db_name, force_demo, status, update_module) File "/opt/openerp_purchase/server/openerp/modules/registry.py", line 193, in get update_module) File "/opt/openerp_purchase/server/openerp/modules/registry.py", line 219, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module)

File "/opt/openerp_purchase/server/openerp/modules/loading.py", line 350, in load_modules force, status, report, loaded_modules, update_module)

File "/opt/openerp_purchase/server/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 "/opt/openerp_purchase/server/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode)

File "/opt/openerp_purchase/server/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data')

File "/opt/openerp_purchase/server/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)

File "/opt/openerp_purchase/server/openerp/tools/convert.py", line 941, in convert_xml_import doc = etree.parse(xmlfile)

File "lxml.etree.pyx", line 2953, in lxml.etree.parse (src/lxml/lxml.etree.c:56204)

File "parser.pxi", line 1555, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82511)

File "parser.pxi", line 1585, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:82832)

File "parser.pxi", line 1468, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:81688)

File "parser.pxi", line 1024, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:78735)

File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)

File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)

File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)

XMLSyntaxError: attributes construct error, line 23, column 58

Open any OpenERP window in a new browser tab and try again.

René Schuster
on 1/7/14, 11:02 AM

think of the last module you worked on and revert back to what is was before. You made a syntax error in a xml that is why you have the error and if you go to the last xml you edited on line 23 you might find the problem

on 1/8/14, 4:23 AM

Gopakumar N G

--Gopakumar N G--
| 5 3 7
Cochin, India
--Gopakumar N G--

Senior Software Engineer at BroadTech IT Solutions Pvt. Ltd.

Gopakumar N G
On 1/8/14, 1:37 AM

Open postgres and in ir_module_module table set the state of your module which produces error to uninstalled and save. Now you can login to OpenERP. But to use that module you have to fix the error and install it again.

Thanks. I have been able to resolve the issue by following your advise.

Emmanuel Damas Urassa
on 1/8/14, 12:39 PM

Francesco OpenCode

--Francesco OpenCode--
Francesco OpenCode
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 1/7/14, 1:00 PM

When you have an error and lose the session, OpenERP stops your login. Resolve the error in the module view to login in OpenERP again.

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 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

0 follower(s)


Asked: 1/7/14, 11:01 AM
Seen: 2533 times
Last updated: 3/16/15, 8:10 AM