{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/13014","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/13014/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/13014/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/13014/events","html_url":"https://github.com/odoo/odoo/issues/13014","id":169294963,"number":13014,"title":"[9.0] ERROR TEST openerp.http: Exception during JSON request handling.","user":{"login":"rohailnasir","id":7452386,"avatar_url":"https://avatars.githubusercontent.com/u/7452386?v=3","gravatar_id":"","url":"https://api.github.com/users/rohailnasir","html_url":"https://github.com/rohailnasir","followers_url":"https://api.github.com/users/rohailnasir/followers","following_url":"https://api.github.com/users/rohailnasir/following{/other_user}","gists_url":"https://api.github.com/users/rohailnasir/gists{/gist_id}","starred_url":"https://api.github.com/users/rohailnasir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohailnasir/subscriptions","organizations_url":"https://api.github.com/users/rohailnasir/orgs","repos_url":"https://api.github.com/users/rohailnasir/repos","events_url":"https://api.github.com/users/rohailnasir/events{/privacy}","received_events_url":"https://api.github.com/users/rohailnasir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-04T05:36:13Z","updated_at":"2016-08-05T07:41:20Z","closed_at":null,"body":"Odoo 9 is having trouble loading menu bar for my in-use database. While parsing it raises the below exception. \r\n![odoo error](https://cloud.githubusercontent.com/assets/7452386/17391393/c511a4bc-5a26-11e6-8419-15b387026f23.png)\r\n\r\n_2016-08-04 11:18:43,190 16140 INFO ? openerp.service.server: HTTP service (werkzeug) running on localhost:8069\r\n2016-08-04 11:18:47,832 16140 INFO ? openerp.addons.bus.models.bus: Bus.loop listen imbus on db postgres\r\n2016-08-04 11:18:48,055 16140 INFO TEST openerp.modules.loading: loading 1 modules...\r\n2016-08-04 11:18:48,085 16140 INFO TEST openerp.modules.loading: 1 modules loaded in 0.02s, 0 queries\r\n2016-08-04 11:18:55,448 16140 INFO TEST openerp.modules.loading: loading 53 modules...\r\n2016-08-04 11:18:57,546 16140 INFO TEST openerp.addons.report.models.report: You need Wkhtmltopdf to print a pdf version of the reports.\r\n2016-08-04 11:19:06,150 16140 INFO TEST openerp.modules.loading: 53 modules loaded in 10.70s, 0 queries\r\n2016-08-04 11:19:18,144 16140 INFO ? openerp.http: HTTP Configuring static files\r\n2016-08-04 11:19:18,890 16140 INFO TEST openerp.modules.loading: Modules loaded.\r\n2016-08-04 11:19:18,892 16140 INFO TEST openerp.addons.base.ir.ir_http: Generating routing map\r\n2016-08-04 11:19:18,892 16140 INFO TEST openerp.addons.base.ir.ir_http: Generating routing map\r\n2016-08-04 11:19:22,881 16140 INFO TEST openerp.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: None, model: bus.presence\r\n2016-08-04 11:19:22,891 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:22] \"POST /longpolling/poll HTTP/1.1\" 200 -\r\n2016-08-04 11:19:25,062 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web? HTTP/1.1\" 200 -\r\n2016-08-04 11:19:25,471 16140 INFO ? werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/static/src/css/full.css HTTP/1.1\" 304 -\r\n2016-08-04 11:19:25,782 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/content/402-490ce44/web.assets_common.0.css HTTP/1.1\" 304 -\r\n2016-08-04 11:19:25,798 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/content/766-eec7c6f/web.assets_backend.0.css HTTP/1.1\" 200 -\r\n2016-08-04 11:19:25,832 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/content/767-eec7c6f/web.assets_backend.1.css HTTP/1.1\" 200 -\r\n2016-08-04 11:19:25,858 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/content/403-490ce44/web.assets_common.js HTTP/1.1\" 200 -\r\n2016-08-04 11:19:25,980 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:25] \"GET /web/content/768-eec7c6f/web.assets_backend.js HTTP/1.1\" 200 -\r\n2016-08-04 11:19:26,703 16140 INFO ? werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:26] \"GET /web_editor/static/src/xml/editor.xml HTTP/1.1\" 200 -\r\n2016-08-04 11:19:26,815 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:26] \"POST /web/dataset/call HTTP/1.1\" 200 -\r\n2016-08-04 11:19:26,835 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:26] \"GET /web/binary/company_logo HTTP/1.1\" 304 -\r\n2016-08-04 11:19:27,058 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:27] \"POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.1\" 200 -\r\n2016-08-04 11:19:27,147 16140 INFO ? werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:27] \"GET /web_editor/static/src/xml/snippets.xml HTTP/1.1\" 200 -\r\n2016-08-04 11:19:27,168 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:27] \"POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.1\" 200 -\r\n2016-08-04 11:19:27,548 16140 INFO ? werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:27] \"GET /web_editor/static/src/xml/translator.xml HTTP/1.1\" 200 -\r\n2016-08-04 11:19:27,630 16140 INFO ? werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:27] \"GET /mail/static/src/audio/ting.ogg HTTP/1.1\" 200 -\r\n2016-08-04 11:19:28,127 16140 INFO TEST openerp.service.common: successful login from 'admin' using database 'test'\r\n2016-08-04 11:19:28,562 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:28] \"POST /mail/client_action HTTP/1.1\" 200 -\r\n2016-08-04 11:19:29,575 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:29] \"POST /mail/chat_init HTTP/1.1\" 200 -\r\n2016-08-04 11:19:30,263 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:30] \"POST /web/webclient/translations HTTP/1.1\" 200 -\r\n2016-08-04 11:19:30,783 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:30] \"POST /web/session/get_session_info HTTP/1.1\" 200 -\r\n2016-08-04 11:19:35,756 16140 INFO TEST openerp.http: Generating nondb routing\r\n2016-08-04 11:19:45,030 16140 ERROR TEST openerp.http: Exception during JSON request handling.\r\nTraceback (most recent call last):\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 643, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 680, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 316, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\service\\model.py\", line 118, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 309, in checked_call\r\n    result = self.endpoint(*a, **kw)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 959, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 509, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\addons\\web\\controllers\\main.py\", line 616, in load\r\n    return Client(request.httprequest.app, BaseResponse).get(path, base_url=base_url).data\r\n  File \"D:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg\\werkzeug\\test.py\", line 762, in get\r\n    return self.open(*args, **kw)\r\n  File \"D:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg\\werkzeug\\test.py\", line 736, in open\r\n    response = self.run_wsgi_app(environ, buffered=buffered)\r\n  File \"D:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg\\werkzeug\\test.py\", line 659, in run_wsgi_app\r\n    rv = run_wsgi_app(self.application, environ, buffered=buffered)\r\n  File \"D:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg\\werkzeug\\test.py\", line 855, in run_wsgi_app\r\n    app_iter = app(environ, start_response)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 1490, in __call__\r\n    return self.dispatch(environ, start_response)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 1464, in __call__\r\n    return self.app(environ, start_wrapped)\r\n  File \"D:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg\\werkzeug\\wsgi.py\", line 588, in __call__\r\n    return self.app(environ, start_response)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 1658, in dispatch\r\n    result = _dispatch_nodb()\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 1631, in _dispatch_nodb\r\n    result = request.dispatch()\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 840, in dispatch\r\n    r = self._call_function(**self.params)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 317, in _call_function\r\n    return self.endpoint(*args, **kwargs)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 959, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\http.py\", line 509, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\addons\\web\\controllers\\main.py\", line 530, in qweb\r\n    content, checksum = concat_xml(files)\r\n  File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\addons\\web\\controllers\\main.py\", line 205, in concat_xml\r\n    xml = ElementTree.parse(fp).getroot()\r\n  File \"D:\\Python27\\lib\\xml\\etree\\ElementTree.py\", line 1182, in parse\r\n    tree.parse(source, parser)\r\n  File \"D:\\Python27\\lib\\xml\\etree\\ElementTree.py\", line 657, in parse\r\n    self._root = parser.close()\r\n  File \"D:\\Python27\\lib\\xml\\etree\\ElementTree.py\", line 1654, in close\r\n    self._raiseerror(v)\r\n  File \"D:\\Python27\\lib\\xml\\etree\\ElementTree.py\", line 1506, in _raiseerror\r\n    raise err\r\nParseError: no element found: line 1, column 0\r\n2016-08-04 11:19:45,036 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:45] \"POST /web/proxy/load HTTP/1.1\" 200 -\r\n2016-08-04 11:19:45,509 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:45] \"POST /web/session/modules HTTP/1.1\" 200 -\r\n2016-08-04 11:19:45,617 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:45] \"POST /web/dataset/search_read HTTP/1.1\" 200 -\r\n2016-08-04 11:19:45,838 16140 INFO TEST werkzeug: 127.0.0.1 - - [04/Aug/2016 11:19:45] \"POST /web/webclient/translations HTTP/1.1\" 200 -_"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/237778731","html_url":"https://github.com/odoo/odoo/issues/13014#issuecomment-237778731","issue_url":"https://api.github.com/repos/odoo/odoo/issues/13014","id":237778731,"user":{"login":"JKE-be","id":4848797,"avatar_url":"https://avatars.githubusercontent.com/u/4848797?v=3","gravatar_id":"","url":"https://api.github.com/users/JKE-be","html_url":"https://github.com/JKE-be","followers_url":"https://api.github.com/users/JKE-be/followers","following_url":"https://api.github.com/users/JKE-be/following{/other_user}","gists_url":"https://api.github.com/users/JKE-be/gists{/gist_id}","starred_url":"https://api.github.com/users/JKE-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKE-be/subscriptions","organizations_url":"https://api.github.com/users/JKE-be/orgs","repos_url":"https://api.github.com/users/JKE-be/repos","events_url":"https://api.github.com/users/JKE-be/events{/privacy}","received_events_url":"https://api.github.com/users/JKE-be/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T07:41:19Z","updated_at":"2016-08-05T07:41:19Z","body":"You should print 'files' from File \"D:\\eclipse\\Workspace\\odoo-9.0c-latest-20160613\\openerp\\addons\\web\\controllers\\main.py\", line 530, in qweb\r\ncontent, checksum = concat_xml(files) ...\r\nSeems like you have a badly formatted file. (`ParseError: no element found: line 1, column 0\r\n`)\r\nDo you have some customizations ? "}}
{"actor":{"display_login":"JKE-be"}}