Odoo Help


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.


Error while upgraiding module

on 9/16/15, 3:29 AM 445 views

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 537, in _handle_exception

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 574, in dispatch

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 310, in _call_function

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/service/model.py", line 113, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/addons/web/controllers/main.py", line 952, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/addons/web/controllers/main.py", line 940, in _call_kw

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/service/model.py", line 113, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/addons/web/controllers/main.py", line 939, in checked_call

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-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_20150915-py2.7.egg/openerp/addons/base/module/module.py", line 447, in button_immediate_install

return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-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_20150915-py2.7.egg/openerp/addons/base/module/module.py", line 495, in _button_immediate_function

registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)

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

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

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

loaded_modules, update_module)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/modules/loading.py", line 255, in load_marked_modules

loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/modules/loading.py", line 176, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/modules/loading.py", line 118, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/tools/convert.py", line 901, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/opt/bitnami/apps/odoo/lib/odoo-8.0_20150915-py2.7.egg/openerp/tools/convert.py", line 974, in convert_xml_import

doc = etree.parse(xmlfile)

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

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

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

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

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

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

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

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

XMLSyntaxError: Document is empty, line 1, column 1


Axel Mendoza

--Axel Mendoza--
| 6 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 9/16/15, 4:01 AM

Seems that one of your xml files defined in the __openerp__.py of the module doesn't exist or they are empty.

On 9/16/15, 3:57 AM

@aneesh: Could you please tell me what you have been done with that module? Which module you have been upgraded??

issue solved and thankyou

on 9/16/15, 7:59 AM

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

2 follower(s)


Asked: 9/16/15, 3:29 AM
Seen: 445 times
Last updated: 9/16/15, 7:58 AM