mx's import problem

Bug #1308639 reported by Nicola Malcontenti - Agile BG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hotel Management System
Invalid
Undecided
Unassigned

Bug Description

Hi all,
i've added the module to my addons_path and when i run the server i obtain:

2014-04-16 14:55:50,771 67137 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 "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/server-7.0/openerp/service/__init__.py", line 60, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/server-7.0/openerp/modules/module.py", line 415, in load_openerp_module
getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/addons-web-7.0/addons/web/http.py", line 628, in wsgi_postload
openerp.wsgi.register_wsgi_handler(Root())
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/addons-web-7.0/addons/web/http.py", line 517, in __init__
self.load_addons()
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/addons-web-7.0/addons/web/http.py", line 580, in load_addons
m = __import__('openerp.addons.' + module)
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/server-7.0/openerp/modules/module.py", line 133, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/hotel-management-system/hotel/__init__.py", line 21, in <module>
import hotel
File "/Users/hurrinico/Documents/Work/demo-7/buildout_cfg/parts/hotel-management-system/hotel/hotel.py", line 25, in <module>
from mx import DateTime
ImportError: No module named mx

Related branches

Changed in hotel-management-system:
status: New → Fix Committed
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

As module is not ported yet, I'll set this bug report as invalid.

Please see portage evolution on https://code.launchpad.net/~serpentcs/hotel-management-system/hotel-7.0

Changed in hotel-management-system:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.