Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

Windows 环境源码调试OE,报了代码错,请问是什么原因?



  • 2012-07-04 01:15:23,671 5768 INFO ? openerp: OpenERP version 6.1-1<br />2012-07-04 01:15:23,671 5768 INFO ? openerp: addons paths: E:\eclipse\workspace\openerp\openerp\addons<br />2012-07-04 01:15:23,671 5768 INFO ? openerp: database hostname: localhost<br />2012-07-04 01:15:23,673 5768 INFO ? openerp: database port: 5432<br />2012-07-04 01:15:23,673 5768 INFO ? openerp: database user: Administrator<br />2012-07-04 01:15:23,674 5768 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070<br />2012-07-04 01:15:23,677 5768 INFO ? openerp.netsvc: Starting 1 services<br />2012-07-04 01:15:23,766 5768 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069<br />2012-07-04 01:15:23,971 5768 INFO ? openerp.addons.web: embedded mode<br />2012-07-04 01:15:25,249 5768 INFO ? openerp: OpenERP server is running, waiting for connections...<br />2012-07-04 01:15:26,280 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/home HTTP/1.1" 200 -<br />2012-07-04 01:15:26,345 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/css HTTP/1.1" 304 -<br />2012-07-04 01:15:26,381 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/js HTTP/1.1" 304 -<br />2012-07-04 01:15:28,825 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:28] "POST /web/session/get_session_info HTTP/1.1" 200 -<br />2012-07-04 01:15:33,469 5768 ERROR ? openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request<br />Traceback (most recent call last):<br />  File "E:\eclipse\workspace\openerp\openerp\addons\web\common\http.py", line 180, in dispatch<br />    response["result"] = method(controller, self, **self.params)<br />TypeError: qweblist() keywords must be strings



  • 2012-07-04 01:15:23,671 5768 INFO ? openerp: OpenERP version 6.1-1<br />2012-07-04 01:15:23,671 5768 INFO ? openerp: addons paths: E:\eclipse\workspace\openerp\openerp\addons<br />2012-07-04 01:15:23,671 5768 INFO ? openerp: database hostname: localhost<br />2012-07-04 01:15:23,673 5768 INFO ? openerp: database port: 5432<br />2012-07-04 01:15:23,673 5768 INFO ? openerp: database user: Administrator<br />2012-07-04 01:15:23,674 5768 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070<br />2012-07-04 01:15:23,677 5768 INFO ? openerp.netsvc: Starting 1 services<br />2012-07-04 01:15:23,766 5768 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069<br />2012-07-04 01:15:23,971 5768 INFO ? openerp.addons.web: embedded mode<br />2012-07-04 01:15:25,249 5768 INFO ? openerp: OpenERP server is running, waiting for connections...<br />2012-07-04 01:15:26,280 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/home HTTP/1.1" 200 -<br />2012-07-04 01:15:26,345 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/css HTTP/1.1" 304 -<br />2012-07-04 01:15:26,381 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:26] "GET /web/webclient/js HTTP/1.1" 304 -<br />2012-07-04 01:15:28,825 5768 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2012 01:15:28] "POST /web/session/get_session_info HTTP/1.1" 200 -<br />2012-07-04 01:15:33,469 5768 ERROR ? openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request<br />Traceback (most recent call last):<br />  File "E:\eclipse\workspace\openerp\openerp\addons\web\common\http.py", line 180, in dispatch<br />    response["result"] = method(controller, self, **self.params)<br />TypeError: qweblist() keywords must be strings



  • 补充一下环境信息:<br />windows7,OE6.1


  • 管理员

    要看server log才能定位你的错误位置。



  • 上面打印的就是server log呀



  • 跟打出来的server log日志是一样的,下面是debug级别:<br />2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.request:INFO"<br />2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.response:INFO"<br />2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.addons.web.common.http:INFO"<br />2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.addons.web.common.openerplib:INFO"<br />2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.sql_db:INFO"<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: ":INFO"<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: "openerp:DEBUG"<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: ":INFO"<br />2012-07-06 22:09:27,438 5244 INFO ? openerp: OpenERP version 6.1-1<br />2012-07-06 22:09:27,438 5244 INFO ? openerp: addons paths: C:\Program Files\OpenERP 6.1-1\server\openerp\addons<br />2012-07-06 22:09:27,438 5244 INFO ? openerp: database hostname: localhost<br />2012-07-06 22:09:27,438 5244 INFO ? openerp: database port: 5432<br />2012-07-06 22:09:27,438 5244 INFO ? openerp: database user: openpg<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: db<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: common<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: object<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: wizard<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: report<br />2012-07-06 22:09:27,438 5244 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.cron: Master cron daemon started!<br />2012-07-06 22:09:27,438 5244 DEBUG ? openerp.cron: Going to sleep for 60s<br />2012-07-06 22:09:27,438 5244 INFO ? openerp.netsvc: Starting 1 services<br />2012-07-06 22:09:27,532 5244 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069<br />2012-07-06 22:09:27,736 5244 INFO ? openerp.addons.web: embedded mode<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,782 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:27,798 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,798 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:27,798 5244 DEBUG ? openerp.tools.translate: no translation language detected, skipping translation for "'Write-Off'" <br />2012-07-06 22:09:28,048 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,048 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,062 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,062 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,095 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,187 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,187 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,219 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,219 5244 DEBUG ? openerp.netsvc: Registered an exported service: report<br />2012-07-06 22:09:28,328 5244 DEBUG ? openerp.netsvc: Registered an exported service: edi<br />2012-07-06 22:09:28,359 5244 DEBUG ? openerp.tools.translate: no translation language detected, skipping translation for "'Regarding '" <br />2012-07-06 22:09:28,407 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,407 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,453 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer field required has no effect, as NULL values are automatically turned into 0.<br />2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,780 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,782 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,795 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,813 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,815 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,815 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,821 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,822 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,828 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,865 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,880 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,881 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,884 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,888 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,895 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,897 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:28,898 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float field required has no effect, as NULL values are automatically turned into 0.0.<br />2012-07-06 22:09:29,095 5244 INFO ? openerp: OpenERP server is running, waiting for connections...<br />2012-07-06 22:10:27,453 5244 DEBUG ? openerp.cron: Going to sleep for 60s<br />2012-07-06 22:10:55,592 5244 INFO ? werkzeug: 127.0.0.1 - - [06/Jul/2012 22:10:55] "GET /web/webclient/home HTTP/1.1" 200 -<br />2012-07-06 22:10:55,647 5244 INFO ? werkzeug: 127.0.0.1 - - [06/Jul/2012 22:10:55] "GET /web/webclient/css HTTP/1.1" 304 -<br />2012-07-06 22:10:55,680 5244 INFO ? werkzeug: 127.0.0.1 - - [06/Jul/2012 22:10:55] "GET /web/webclient/js HTTP/1.1" 304 -<br />2012-07-06 22:10:55,782 5244 INFO ? werkzeug: 127.0.0.1 - - [06/Jul/2012 22:10:55] "POST /web/session/get_session_info HTTP/1.1" 200 -<br />2012-07-06 22:10:55,789 5244 ERROR ? openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request<br />Traceback (most recent call last):<br />  File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 180, in dispatch<br />    response["result"] = method(controller, self, **self.params)<br />TypeError: qweblist() keywords must be strings<br />2012-07-06 22:10:55,819 5244 INFO ? werkzeug: 127.0.0.1 - - [06/Jul/2012 22:10:55] "POST /web/webclient/qweblist HTTP/1.1" 200 -<br />



  • 我把源码里面的 openerp-server.py 拷贝到安装目录下面启动,同样出现调试的问题,这个有点想不明白。<br />从网站下载的安装版本跟源码是同一个版本来的。


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待