我正在安装一个需要该模块的自定义模块decimal_precision
,但是,这个模块已经更新,所以我下载并安装了全新的apps.openerp.com
现在给了我一个常见No handler found
错误,我需要中止我的 openerp 安装的模块安装队列以创建一个新的数据库并重新开始,但它一直给我错误并寻找这个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)
File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/account/__init__.py", line 23, in <module>
import account
File "/opt/openerp/server/openerp/addons/account/account.py", line 34, in <module>
import openerp.addons.decimal_precision as dp
File "/opt/openerp/server/openerp/modules/module.py", line 132, in load_module
f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named decimal_precision
2013-06-08 19:27:58,624 17011 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2013-06-08 19:27:58,624 17011 INFO ? openerp: OpenERP server is running, waiting for connections...
2013-06-08 19:28:01,719 17011 INFO ? werkzeug: 200.82.128.50 - - [08/Jun/2013 19:28:01] "GET / HTTP/1.1" 404 -
2013-06-08 19:28:02,145 17011 INFO ? werkzeug: 200.82.128.50 - - [08/Jun/2013 19:28:02] "GET /favicon.ico HTTP/1.1" 404 -
它还说找不到web
模块,但我认为问题的根源仍然是decimal_precision
,addons
路径正确,其他一切。
我从pgadmin3
停止服务器中删除了安装数据库并sudo pkill -9 -f openerp-server
重新启动/etc/init.d/openerp-server start
并一直给我这个错误,即使没有安装数据库,我如何在不重新启动服务器的情况下中止所有这些安装?
(我通过 Teamviewer 远程登录,无法重新启动系统,因为它会踢我,直到有人登录服务器)
提前致谢。