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

Odoo 9 not working after new Database creation

By
snigdha
on 10/27/16, 3:57 AM 122 views

I am using Odoo 9 . After creating  new Database I got stuck with the below error.I am very new to Odoo.How can I resolve it .Any Idea?

 XMLSyntaxError: Malformed declaration expecting version, line 1, column 7
     
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
     
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
     
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510)   
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808)      
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258)    
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599)    
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287)      
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
    update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 355, in get 
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 365, in registry 
    ir_http = request.registry['ir.http'] 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1644, in dispatch 
    return self.app(environ, start_response) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 591, in __call__ 
    return self.app(environ, start_wrapped) 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1469, in __call__ 
    return self.dispatch(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1495, in __call__ 
    result = handler(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/wsgi_server.py", line 170, in application_unproxied 
    return application_unproxied(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/wsgi_server.py", line 184, in application 
    return self.app(e, s) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/server.py", line 246, in app 
    application_iter = app(environ, start_response) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 168, in execute 
    execute(self.server.app) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi 
Traceback (most recent call last): 
2016-10-27 07:38:08,289 5255 ERROR dietfacts2 werkzeug: Error on request: 
2016-10-27 07:38:08,280 5255 INFO dietfacts2 werkzeug: 127.0.0.1 - - [27/Oct/2016 07:38:08] "POST /longpolling/poll HTTP/1.1" 500 - 
XMLSyntaxError: Malformed declaration expecting version, line 1, column 7 
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) 
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808) 
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258) 
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599) 
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287) 
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
Traceback (most recent call last): 
2016-10-27 07:38:08,213 5255 ERROR dietfacts2 openerp.modules.registry: Failed to load registry 
2016-10-27 07:38:08,212 5255 INFO dietfacts2 openerp.modules.loading: loading dietfacts/dietfacts_view.xml 
2016-10-27 07:38:08,148 5255 INFO dietfacts2 openerp.modules.module: module dietfacts: creating or updating database tables 
2016-10-27 07:38:07,598 5255 INFO dietfacts2 openerp.modules.loading: loading 36 modules... 
2016-10-27 07:38:07,527 5255 INFO dietfacts2 openerp.modules.loading: 1 modules loaded in 0.02s, 0 queries 
2016-10-27 07:38:07,503 5255 INFO dietfacts2 openerp.modules.loading: loading 1 modules... 
XMLSyntaxError: Malformed declaration expecting version, line 1, column 7 
     
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
     
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
     
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) 
     
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808) 
     
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258) 
     
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599) 
     
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287) 
     
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
    update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 355, in get 
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 365, in registry 
    ir_http = request.registry['ir.http'] 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1644, in dispatch 
    return self.app(environ, start_response) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 591, in __call__ 
    return self.app(environ, start_wrapped) 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1469, in __call__ 
    return self.dispatch(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/http.py", line 1495, in __call__ 
    result = handler(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/wsgi_server.py", line 170, in application_unproxied 
    return application_unproxied(environ, start_response) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/wsgi_server.py", line 184, in application 
    return self.app(e, s) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/server.py", line 246, in app 
    application_iter = app(environ, start_response) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 168, in execute 
    execute(self.server.app) 
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi 
Traceback (most recent call last): 
2016-10-27 07:37:53,490 5255 ERROR dietfacts2 werkzeug: Error on request: 
2016-10-27 07:37:53,471 5255 INFO dietfacts2 werkzeug: 127.0.0.1 - - [27/Oct/2016 07:37:53] "POST /longpolling/poll HTTP/1.1" 500 - 
XMLSyntaxError: Malformed declaration expecting version, line 1, column 7 
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) 
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808) 
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258) 
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599) 
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287) 
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
Traceback (most recent call last): 
2016-10-27 07:37:53,333 5255 ERROR dietfacts2 openerp.modules.registry: Failed to load registry 
2016-10-27 07:37:53,332 5255 INFO dietfacts2 openerp.modules.loading: loading dietfacts/dietfacts_view.xml 
2016-10-27 07:37:53,275 5255 INFO dietfacts2 openerp.modules.module: module dietfacts: creating or updating database tables 
2016-10-27 07:37:53,073 5255 INFO dietfacts2 openerp.modules.loading: loading 36 modules... 
2016-10-27 07:37:53,042 5255 INFO dietfacts2 openerp.modules.loading: 1 modules loaded in 0.02s, 0 queries 
2016-10-27 07:37:53,022 5255 INFO dietfacts2 openerp.modules.loading: loading 1 modules... 
2016-10-27 07:37:53,017 5255 INFO ? openerp.http: HTTP Configuring static files 
XMLSyntaxError: Malformed declaration expecting version, line 1, column 7 
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) 
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808) 
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258) 
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599) 
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287) 
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
    registry = RegistryManager.new(dbname, update_module=update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/service/server.py", line 893, in preload_registries 
Traceback (most recent call last): 
2016-10-27 07:37:40,253 5255 CRITICAL dietfacts2 openerp.service.server: Failed to initialize database `dietfacts2`. 
XMLSyntaxError: Malformed declaration expecting version, line 1, column 7 
  File "src/lxml/parser.pxi", line 613, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111124) 
  File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) 
  File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) 
  File "src/lxml/parser.pxi", line 1139, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:117808) 
  File "src/lxml/parser.pxi", line 1718, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:123258) 
  File "src/lxml/parser.pxi", line 1823, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:124599) 
  File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124287) 
  File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) 
    doc = etree.parse(xmlfile) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 915, in convert_xml_import 
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/tools/convert.py", line 849, in convert_file 
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 98, in _load_data 
    _load_data(cr, module_name, idref, mode, kind='data') 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 156, in load_module_graph 
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 237, in load_marked_modules 
    force, status, report, loaded_modules, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/loading.py", line 334, in load_modules 
    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
  File "/home/odoodev/Odoo/Odoo9/openerp/modules/registry.py", line 386, in new 
Traceback (most recent call last): 
2016-10-27 07:37:40,251 5255 ERROR dietfacts2 openerp.modules.registry: Failed to load registry 

0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 10/27/16, 4:33 AM

Looks like there is bug in the version which you have pulled out, so why don't you fetch again the latest copy of Odoo. Simpler way to avoid hassles.

unless if you have added any custom module of yours, try and find out if the error is caused by it...


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: 10/27/16, 3:57 AM
Seen: 122 times
Last updated: 10/27/16, 4:33 AM