我正在安装需要decimal_precision
模块的自定义模块,但是,此模块已更新,因此我从apps.openerp.com
下载并安装了全新模块
现在给我一个常见的No handler found
错误,我需要中止我的openerp安装的模块安装队列来创建一个新的db并重新开始,但它一直给我错误并寻找这个{ {1}}好像我从来没有更新它或其他什么。
这是我的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
路径是正确的以及其他一切。< / p>
我从addons
删除了安装数据库,并使用pgadmin3
重新启动sudo pkill -9 -f openerp-server
停止服务器,并且不断给我这个错误,即使没有安装数据库,如何中止所有这些安装没有重新启动服务器?
(我通过Teamviewer远程登录,无法重启系统,因为它会让我离开,直到有人登录服务器)
提前致谢。
答案 0 :(得分:1)
模块http://v6apps.openerp.com/addon/655看起来最近更新了,也许他们修复了一个导致你问题的错误?否则你可能要重新安装openerp?你可以在某处发布模块的代码吗?否则请在http://help.openerp.com/
上询问