Skip to Content
Menu
This question has been flagged
2 Replies
5847 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

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

issue solved and thankyou