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

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

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

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

急!请教:添加用户又出现internal error,查看log,好像是出现unicodeDecode这里。



  •   。。。。。<br /><br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 249, in encode<br />    chunks = self.iterencode(o, _one_shot=True)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 325, in iterencode<br />    return _iterencode(o, 0)<br />UnicodeDecodeError: 'utf8' codec can't decode byte 0xc6 in position 0: invalid c<br />ontinuation byte<br />2015-06-13 01:26:39,562 1824 INFO wgo werkzeug: 192.168.1.28 - - [13/Jun/2015 01<br />:26:39] "POST /web/dataset/call_kw/res.users/create HTTP/1.1" 500 -<br />2015-06-13 01:26:39,592 1824 ERROR wgo werkzeug: Error on request:<br />Traceback (most recent call last):<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\serving.py", line 159, in run_wsgi<br />    execute(app)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\serving.py", line 146, in execute<br />    application_iter = app(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\service\server.py", line 285, in app<br />    return self.app(e, s)<br />  File "D:\GreenOdoo8\source\openerp\service\wsgi_server.py", line 216, in appli<br />cation<br />    return application_unproxied(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\service\wsgi_server.py", line 202, in appli<br />cation_unproxied<br />    result = handler(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1289, in call<br />    return self.dispatch(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1263, in call<br />    return self.app(environ, start_wrapped)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\wsgi.py", line 411, in call<br />    return self.app(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1434, in dispatch<br />    result = ir_http._dispatch()<br />  File "D:\GreenOdoo8\source\openerp\addons\base\ir\ir_http.py", line 177, in _d<br />ispatch<br />    return self._handle_exception(e)<br />  File "D:\GreenOdoo8\source\openerp\addons\base\ir\ir_http.py", line 147, in _h<br />andle_exception<br />    return request._handle_exception(exception)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 551, in _handle_exception<br />    return self._json_response(error=error)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 525, in json_response<br />    body = simplejson.dumps(response)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson_init.py",<br />line 324, in dumps<br />    return _default_encoder.encode(obj)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 249, in encode<br />    chunks = self.iterencode(o, _one_shot=True)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 325, in iterencode<br />    return _iterencode(o, 0)<br />UnicodeDecodeError: 'utf8' codec can't decode byte 0xc6 in position 0: invalid c<br />ontinuation byte<br /><br />以上是添加一个用户,中文名,email, 设置各权限(其中财务部是经理,刚才添加用户是没有问题的,于是装了财务和会计模块),正想建个财务经理的用户名,出错了。请问,这个问题如何解决呢? <br /><br />------ windows XP SP3, GreenopenERP 8.0win32. <br /><br />



  •   。。。。。<br /><br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 249, in encode<br />    chunks = self.iterencode(o, _one_shot=True)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 325, in iterencode<br />    return _iterencode(o, 0)<br />UnicodeDecodeError: 'utf8' codec can't decode byte 0xc6 in position 0: invalid c<br />ontinuation byte<br />2015-06-13 01:26:39,562 1824 INFO wgo werkzeug: 192.168.1.28 - - [13/Jun/2015 01<br />:26:39] "POST /web/dataset/call_kw/res.users/create HTTP/1.1" 500 -<br />2015-06-13 01:26:39,592 1824 ERROR wgo werkzeug: Error on request:<br />Traceback (most recent call last):<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\serving.py", line 159, in run_wsgi<br />    execute(app)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\serving.py", line 146, in execute<br />    application_iter = app(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\service\server.py", line 285, in app<br />    return self.app(e, s)<br />  File "D:\GreenOdoo8\source\openerp\service\wsgi_server.py", line 216, in appli<br />cation<br />    return application_unproxied(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\service\wsgi_server.py", line 202, in appli<br />cation_unproxied<br />    result = handler(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1289, in call<br />    return self.dispatch(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1263, in call<br />    return self.app(environ, start_wrapped)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\werkzeug-0.8.3-py2.7.egg<br />werkzeug\wsgi.py", line 411, in call<br />    return self.app(environ, start_response)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 1434, in dispatch<br />    result = ir_http._dispatch()<br />  File "D:\GreenOdoo8\source\openerp\addons\base\ir\ir_http.py", line 177, in _d<br />ispatch<br />    return self._handle_exception(e)<br />  File "D:\GreenOdoo8\source\openerp\addons\base\ir\ir_http.py", line 147, in _h<br />andle_exception<br />    return request._handle_exception(exception)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 551, in _handle_exception<br />    return self._json_response(error=error)<br />  File "D:\GreenOdoo8\source\openerp\http.py", line 525, in json_response<br />    body = simplejson.dumps(response)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson_init.py",<br />line 324, in dumps<br />    return _default_encoder.encode(obj)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 249, in encode<br />    chunks = self.iterencode(o, _one_shot=True)<br />  File "D:\GreenOdoo8\runtime\python\lib\site-packages\simplejson\encoder.py", l<br />ine 325, in iterencode<br />    return _iterencode(o, 0)<br />UnicodeDecodeError: 'utf8' codec can't decode byte 0xc6 in position 0: invalid c<br />ontinuation byte<br /><br />以上是添加一个用户,中文名,email, 设置各权限(其中财务部是经理,刚才添加用户是没有问题的,于是装了财务和会计模块),正想建个财务经理的用户名,出错了。请问,这个问题如何解决呢? <br /><br />------ windows XP SP3, GreenopenERP 8.0win32. <br /><br />



  • ---  弹出这个窗口,就感到没辙了。<br />Odoo<br /><br />XmlHttpRequestError INTERNAL SERVER ERROR<br /><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><br /><title>500 Internal Server Error</title><br /><h1>Internal Server Error</h1><br /><p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p><br /><br />---- 安装财务和会计模块之前,添加用户是不出现这样的报错的。


登录后回复
 

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