Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
12 Відповіді
30422 Переглядів

hello, I can not install the module in hotel management open erp v7 an error that occurred is as follows:

OpenERP Server Error

Client Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\http.py", line 195, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1082, in call_button File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1070, in _call_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 43, in proxy File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 31, in proxy_method File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 90, in send File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\netsvc.py", line 295, in dispatch_rpc File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\service\web_services.py", line 614, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 169, in execute_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 123, in wrapper File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 179, in execute File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 166, in execute_cr File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\registry.py", line 214, in new File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 347, in load_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 258, in load_marked_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 161, in load_module_graph File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 405, in load_openerp_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 133, in load_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\hotel__init__.py", line 21, in <module> File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\hotel\hotel.py", line 24, in <module> ImportError: No module named mx

I need help and thank's

Аватар
Відмінити
Автор

problem resolved http://bazaar.launchpad.net/~dhwani-serpentcs/hotel-management-system/hotel-7.0/revision/22?start_revid=22

Найкраща відповідь

Hi,

For windows, you can download from this location : http://www.egenix.com/products/python/mxBase/

For Linux : you can execute this command : sudo easy_install egenix-mx-base

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

Аватар
Відмінити

Why add your contact information into answer? good answer, but I guess you shouldn't add that information here, but you got my vote. I would like to add into your answer in archlinux already has this package `pacman -S python2-egenix-mx-base` installs the package on system or you can use `pip install egenix-mx-base`.

Найкраща відповідь

Another way to solved this,

follow the below step : 1) download package form download.egenix.com downloads.egenix.com/python/egenix-mx-base-3.2.3.win32-py2.6.prebuilt.zip?baseurl=http%3A%2F%2Fdownloads.egenix.com%2Fpython%2F&product=egenix-mx-base&version=3.2.3&platform=win32&python=py2.6.prebuilt.zip 2)extract the file 3) copy the mx folder form the extracted file to C:\Program Files\OpenERP 6.1-1\server 4) restart

Аватар
Відмінити

great, it works!

Найкраща відповідь

You can install mx module by typing at the command prompt:

pip install egenix-mx-base

pip install egenix-mx-base
for Windows:

python -m pip install egenix-mx-base


if you do not have pip:

just install it by downloading get-pip.py from https://bootstrap.pypa.io/get-pip.py

then run it with:

python -m get-pip.py
Аватар
Відмінити
Найкраща відповідь

You should ask the hotel module developer, since the module developer (to the best of my knowledge Hotel module is not part of the OpenERP core) has more information on how it is configured. Having said that, you do not have the mx python module installed in your server

Аватар
Відмінити
Найкраща відповідь

hotel\hotel.py line 24 : from mx import DateTime

"No module named mx " --> a module named mx does not exist.

know that the mx python library is available.

psycopg 2.4.2+ resolve your problem.

Аватар
Відмінити
Автор

thank's for your answer Can you explain a little how to install psycop2.4.2 in my windows?

Project : http://www.initd.org/psycopg/

Windows download : http://www.stickpeople.com/projects/python/win-psycopg/

Hi, we have a Windows all-in-one installation v6.1 running on a separate machine to our v7. On the v6.1 installation, having followed the comments here above successfully, we still get the "ImportError: No module named mx" error when installing modules. We even installed the egenix mx modules but still the same error. It looks as though OpenERP v6.1 does not realise that the above modules have been installed. (Python 2.5)

Any ideas where we are going wrong or how to tell OpenERP that the modules mx are actually installed?

Related Posts Відповіді Переглядів Дія
0
груд. 24
9660
3
вер. 24
21910
5
груд. 24
53251
4
лип. 24
10753
7
серп. 23
11168