Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi all, I made an update of OpenERP v7 this week-end and I have the following error that I can't resolve. If anybody could help, it would be greatly appreciated.
> 2014-04-29 14:39:03,924 20052 CRITICAL ? openerp.modules.module: > Couldn't load module web > 2014-04-29 14:39:03,925 20052 CRITICAL ? openerp.modules.module: > invalid syntax (<unknown>, line 93) > 2014-04-29 14:39:03,925 20052 ERROR ? openerp.service: Failed to > load server-wide module `web`. > The `web` module is provided by the addons found in the `openerp-web` > project. > Maybe you forgot to add those addons in your addons_path > configuration. > Traceback (most recent call last): > File "/opt/openerp/server/openerp/service/__init__.py", > line 60, in load_server_wide_modules > openerp.modules.module.load_openerp_module(m) > File "/opt/openerp/server/openerp/modules/module.py", > line 415, in load_openerp_module > getattr(sys.modules['openerp.addons.' > + module_name], info['post_load'])() > File "/opt/openerp/web/addons/web/http.py", > line 628, in wsgi_postload > openerp.wsgi.register_wsgi_handler(Root()) > File "/opt/openerp/web/addons/web/http.py", > line 517, in __init__ > self.load_addons() > File "/opt/openerp/web/addons/web/http.py", > line 576, in load_addons > manifest = ast.literal_eval(open(manifest_path).read()) > File "/usr/lib/python2.7/ast.py", line 49, > in literal_eval > node_or_string = parse(node_or_string, mode='eval') > File "/usr/lib/python2.7/ast.py", line 37, > in parse > return compile(source, filename, mode, PyCF_ONLY_AST) > File "<unknown>", line 93 > <<<<<<< TREE > ^ > SyntaxError: invalid syntax
Might be a bit late, but nonetheless:
It seems that you were updating a module that had differences from the original module. Differences that could not be resolved automatically by bazaar. Now some of the commenting that is used to point to differences in files is still left in your file (its the <<<<<< TREE).
Baiscally you have multiple options, but the fastest might be to remove the file and download it again. This is in the case of OpenERP. Your file looks like its part of the standard python library (ast.py file) on your OS. It will depend on the OS how to solve this. Most likely you will see a patch appear in a matter of hours (sometimes days) of the problem.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/29/14, 1:11 PM|
|Seen: 2769 times|
|Last updated: 3/16/15, 8:10 AM|