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.
I have the same last problem with OpenERP 7.0, Ubuntu 12.04 Python 2.7.3 Have you found a solution ?
This the log file :
2014-02-09 21:23:36,338 2953 INFO ? openerp: database user: openerp
2014-02-09 21:23:36,860 2953 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-02-09 21:23:36,861 2953 CRITICAL ? openerp.modules.module: from __future__ imports must occur at the beginning of the file (Manager.py, line 8)
2014-02-09 21:23:36,861 2953 ERROR ? openerp.service: Failed to load server-wide module
web module is provided by the addons found in the
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/opt/openerp/7.0/server/openerp/service/__init__.py", line 60, in load_server_wide_modules
File "/opt/openerp/7.0/server/openerp/modules/module.py", line 415, in load_openerp_module getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
File "/opt/openerp/7.0/web/addons/web/http.py", line 628, in wsgi_postload openerp.wsgi.register_wsgi_handler(Root())
File "/opt/openerp/7.0/web/addons/web/http.py", line 517, in __init__ self.load_addons()
File "/opt/openerp/7.0/web/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module)
File "/opt/openerp/7.0/server/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/7.0/addons/asterisk_click2dial/__init__.py", line 24, in <module> import asterisk_click2dial
File "/opt/openerp/7.0/addons/asterisk_click2dial/asterisk_click2dial.py", line 30, in <module> from Asterisk import Manager
File "/usr/local/lib/python2.7/dist-packages/Asterisk/Manager.py", line 8 from __future__ import absolute_import
SyntaxError: from __future__ imports must occur at the beginning of the file
2014-02-09 21:23:36,874 2953 INFO ? openerp: OpenERP server is running, waiting for connections...
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 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: 8/3/13, 1:02 AM|
|Seen: 6168 times|
|Last updated: 3/16/15, 8:10 AM|