[quote author=zw1982 link=topic=5769.msg14282#msg14282 date=1361783794]
[color=red][size=14pt][b]openERP6.1源码调试开发发生的问题,ImportError: No module named wsgi[/b][/size][/color]
[size=12pt]本机环境:windows7旗舰版+eclipse+pydev+pg数据库+python2.7[/size]
2013-02-25 15:02:40,374 5992 INFO ? openerp: OpenERP version 6.1-20130205-002350
2013-02-25 15:02:40,374 5992 INFO ? openerp: addons paths: D:\develop\projects\workspace_python\openerp61\openerp\addons
2013-02-25 15:02:40,374 5992 INFO ? openerp: database hostname: localhost
2013-02-25 15:02:40,374 5992 INFO ? openerp: database port: 5432
2013-02-25 15:02:40,374 5992 INFO ? openerp: database user: openpg
2013-02-25 15:02:40,405 5992 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2013-02-25 15:02:40,405 5992 INFO ? openerp.netsvc: Starting 1 services
2013-02-25 15:02:40,562 5992 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2013-02-25 15:02:40,576 5992 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-02-25 15:02:40,576 5992 CRITICAL ? openerp.modules.module: No module named wsgi
2013-02-25 15:02:40,576 5992 ERROR ? openerp: 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 "D:\develop\projects\workspace_python\openerp61\openerp-server", line 252, in <module>
openerp.modules.module.load_openerp_module(m)
File "D:\develop\projects\workspace_python\openerp61\openerp\modules\module.py", line 409, in load_openerp_module
import('openerp.addons.' + module_name)
File "D:\develop\projects\workspace_python\openerp61\openerp\modules\module.py", line 139, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "D:\develop\projects\workspace_python\openerp61\openerp\addons\web_init_.py", line 3, in <module>
from . import common
File "D:\develop\projects\workspace_python\openerp61\openerp\addons\web\common_init_.py", line 2, in <module>
from . import http
File "D:\develop\projects\workspace_python\openerp61\openerp\addons\web\common\http.py", line 21, in <module>
import werkzeug.contrib.sessions
File "D:\develop\Python27\lib\site-packages\werkzeug-0.8.3-py2.7.egg\werkzeug\contrib\sessions.py", line 69, in <module>
from werkzeug.wsgi import ClosingIterator
ImportError: No module named wsgi
2013-02-25 15:02:40,592 5992 INFO ? openerp: OpenERP server is running, waiting for connections...
2013-02-25 15:02:44,665 5992 INFO ? werkzeug: 127.0.0.1 - - [25/Feb/2013 15:02:44] "GET /mobile HTTP/1.1" 404 -
2013-02-25 15:02:44,819 5992 INFO ? werkzeug: 127.0.0.1 - - [25/Feb/2013 15:02:44] "GET /favicon.ico HTTP/1.1" 404 -
2013-02-25 15:02:48,464 5992 INFO ? werkzeug: 127.0.0.1 - - [25/Feb/2013 15:02:48] "GET /mobile HTTP/1.1" 404 -
2013-02-25 15:02:48,526 5992 INFO ? werkzeug: 127.0.0.1 - - [25/Feb/2013 15:02:48] "GET /favicon.ico HTTP/1.1" 404
[/quote]
R
rufengzizai_5
@rufengzizai_5
-
请问该如何解决呢?openERP6.1源码调试和开发,ImportError: No module named wsgi -
请问该如何解决呢?openERP6.1源码调试和开发,ImportError: No module named wsgi楼主是如何解决的呢,我现在也碰到了这样的问题?