我把源码里面的 openerp-server.py 拷贝到安装目录下面启动,同样出现调试的问题,这个有点想不明白。
从网站下载的安装版本跟源码是同一个版本来的。
barry-ouyang163.com
-
Windows 环境源码调试OE,报了代码错,请问是什么原因? -
Windows 环境源码调试OE,报了代码错,请问是什么原因?跟打出来的server log日志是一样的,下面是debug级别:
2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.request:INFO"
2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.response:INFO"
2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.addons.web.common.http:INFO"
2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.addons.web.common.openerplib:INFO"
2012-07-06 22:09:27,424 5244 DEBUG ? openerp.netsvc: logger level set: "openerp.sql_db:INFO"
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: ":INFO"
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: "openerp:DEBUG"
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: logger level set: ":INFO"
2012-07-06 22:09:27,438 5244 INFO ? openerp: OpenERP version 6.1-1
2012-07-06 22:09:27,438 5244 INFO ? openerp: addons paths: C:\Program Files\OpenERP 6.1-1\server\openerp\addons
2012-07-06 22:09:27,438 5244 INFO ? openerp: database hostname: localhost
2012-07-06 22:09:27,438 5244 INFO ? openerp: database port: 5432
2012-07-06 22:09:27,438 5244 INFO ? openerp: database user: openpg
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: db
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: common
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: object
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: wizard
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.netsvc: Registered an exported service: report
2012-07-06 22:09:27,438 5244 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.cron: Master cron daemon started!
2012-07-06 22:09:27,438 5244 DEBUG ? openerp.cron: Going to sleep for 60s
2012-07-06 22:09:27,438 5244 INFO ? openerp.netsvc: Starting 1 services
2012-07-06 22:09:27,532 5244 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2012-07-06 22:09:27,736 5244 INFO ? openerp.addons.web: embedded mode
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,766 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,782 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:27,798 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,798 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:27,798 5244 DEBUG ? openerp.tools.translate: no translation language detected, skipping translation for "'Write-Off'"
2012-07-06 22:09:28,048 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,048 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,062 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,062 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,095 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,187 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,187 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,219 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,219 5244 DEBUG ? openerp.netsvc: Registered an exported service: report
2012-07-06 22:09:28,328 5244 DEBUG ? openerp.netsvc: Registered an exported service: edi
2012-07-06 22:09:28,359 5244 DEBUG ? openerp.tools.translate: no translation language detected, skipping translation for "'Regarding '"
2012-07-06 22:09:28,407 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,407 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,453 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,562 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making an integer fieldrequired
has no effect, as NULL values are automatically turned into 0.
2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,578 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,641 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,703 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,780 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,782 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,795 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,813 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,815 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,815 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,821 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,822 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,828 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,865 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,880 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,881 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,884 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,888 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,895 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,897 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:28,898 5244 DEBUG ? openerp.osv.fields: required=True is deprecated: making a float fieldrequired
has no effect, as NULL values are automatically turned into 0.0.
2012-07-06 22:09:29,095 5244 INFO ? openerp: OpenERP server is running, waiting for connections...
2012-07-06 22:10:27,453 5244 DEBUG ? openerp.cron: Going to sleep for 60s
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 -
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 -
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 -
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 -
2012-07-06 22:10:55,789 5244 ERROR ? openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request
Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
TypeError: qweblist() keywords must be strings
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 - -
Windows 环境源码调试OE,报了代码错,请问是什么原因?上面打印的就是server log呀
-
Windows 环境源码调试OE,报了代码错,请问是什么原因?补充一下环境信息:
windows7,OE6.1 -
Windows 环境源码调试OE,报了代码错,请问是什么原因?2012-07-04 01:15:23,671 5768 INFO ? openerp: OpenERP version 6.1-1
2012-07-04 01:15:23,671 5768 INFO ? openerp: addons paths: E:\eclipse\workspace\openerp\openerp\addons
2012-07-04 01:15:23,671 5768 INFO ? openerp: database hostname: localhost
2012-07-04 01:15:23,673 5768 INFO ? openerp: database port: 5432
2012-07-04 01:15:23,673 5768 INFO ? openerp: database user: Administrator
2012-07-04 01:15:23,674 5768 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2012-07-04 01:15:23,677 5768 INFO ? openerp.netsvc: Starting 1 services
2012-07-04 01:15:23,766 5768 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2012-07-04 01:15:23,971 5768 INFO ? openerp.addons.web: embedded mode
2012-07-04 01:15:25,249 5768 INFO ? openerp: OpenERP server is running, waiting for connections...
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 -
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 -
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 -
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 -
2012-07-04 01:15:33,469 5768 ERROR ? openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request
Traceback (most recent call last):
File "E:\eclipse\workspace\openerp\openerp\addons\web\common\http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
TypeError: qweblist() keywords must be strings