我正在安装需要该decimal_precision模块的自定义模块,但是,此模块已更新,因此我从以下位置下载并安装了全新的模块apps.openerp.com
现在给了我一个常见的No handler found错误,我需要中止openerp安装的模块安装队列以创建一个新的db并重新开始,但是它一直在给我错误,并一直在寻找该错误,decimal_precision就像我从未更新过它一样。
这是我的回溯 openerp-server.log
2013-06-08 19:27:58,544 17011 INFO ? openerp: OpenERP version 7.0-20130206-000101
2013-06-08 19:27:58,544 17011 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2013-06-08 19:27:58,544 17011 INFO ? openerp: database hostname: localhost
2013-06-08 19:27:58,544 17011 INFO ? openerp: database port: 5432
2013-06-08 19:27:58,544 17011 INFO ? openerp: database user: openerp
2013-06-08 19:27:58,619 17011 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-06-08 19:27:58,619 17011 CRITICAL ? openerp.modules.module: No module named decimal_precision
2013-06-08 19:27:58,620 17011 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 59, 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/server/openerp/addons/web/http.py", line 593, in wsgi_postload
openerp.wsgi.register_wsgi_handler(Root())
File "/opt/openerp/server/openerp/addons/web/http.py", line 483, in __init__
self.load_addons()
File "/opt/openerp/server/openerp/addons/web/http.py", line 546, in load_addons
m = __import__('openerp.addons.' + module)
它也说找不到web模块,但是我认为问题的根源仍然decimal_precision在于addons路径正确和其他所有问题。
我从pgadmin3停止的服务器中删除了安装数据库,然后sudo pkill -9 -f openerp-server
重新启动,/etc/init.d/openerp-server start并一直给我这个错误,即使没有安装数据库,如何在不重新启动服务器的情况下中止所有安装?
(我是通过Teamviewer远程登录的,无法重新启动系统,因为它将被我踢走,直到有人登录服务器为止)
相关分类