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

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

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

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

开发环境在浏览器中点击模块菜单出错,大家帮忙看看什么问题?



  • 同一操作,在服务器用FIREFOX没问题,在另外一台LINUX上用FIREFOX也没问题,就是在WINDOWS上装的FIREFOX就报这个错

    A problem occurred in a Python script.&nbsp; Here is the sequence of<br />function calls leading up to the error, in the order they occurred.<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py in respond(self=&lt;cherrypy._cprequest.Request object at 0x95dcd8c&gt;, path_info=&#039;/openerp/tree/data&#039;)<br />&nbsp; 598&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  self.hooks.run(&#039;before_request_body&#039;)<br />&nbsp; 599&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if self.process_request_body:<br />&nbsp; 600&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  self.process_body()<br />&nbsp; 601 <br />&nbsp; 602&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  self.stage = &#039;before_handler&#039;<br />self = &lt;cherrypy._cprequest.Request object at 0x95dcd8c&gt;<br />self.process_body = &lt;bound method Request.process_body of &lt;cherrypy._cprequest.Request object at 0x95dcd8c&gt;&gt;<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py in process_body(self=&lt;cherrypy._cprequest.Request object at 0x95dcd8c&gt;)<br />&nbsp; 720&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  # FieldStorage only recognizes POST.<br />&nbsp; 721&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  environ={&#039;REQUEST_METHOD&#039;: &quot;POST&quot;},<br />&nbsp; 722&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  keep_blank_values=1)<br />&nbsp; 723&nbsp; &nbsp; &nbsp; &nbsp;  except Exception, e:<br />&nbsp; 724&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if e.__class__.__name__ == &#039;MaxSizeExceeded&#039;:<br />keep_blank_values undefined<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpcgifs.py in __init__(self=FieldStorage(None, None, None), *args=(), **kwds={&#039;environ&#039;: {&#039;REQUEST_METHOD&#039;: &#039;POST&#039;}, &#039;fp&#039;: &lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;, &#039;headers&#039;: {&#039;Remote-Addr&#039;: &#039;192.168.1.224&#039;, &#039;Content-Length...pplication/x-www-form-urlencoded; charset=UTF-8&#039;}, &#039;keep_blank_values&#039;: 1})<br />&nbsp; &nbsp; 6&nbsp; &nbsp;  def __init__(self, *args, **kwds):<br />&nbsp; &nbsp; 7&nbsp; &nbsp; &nbsp; &nbsp;  try:<br />&nbsp; &nbsp; 8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  cgi.FieldStorage.__init__(self, *args, **kwds)<br />&nbsp; &nbsp; 9&nbsp; &nbsp; &nbsp; &nbsp;  except ValueError, ex:<br />&nbsp;  10&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if str(ex) == &#039;Maximum content length exceeded&#039;:<br />global cgi = &lt;module &#039;cgi&#039; from &#039;/usr/lib/python2.6/cgi.pyc&#039;&gt;<br />cgi.FieldStorage = &lt;class cgi.FieldStorage at 0x82f2bcc&gt;<br />cgi.FieldStorage.__init__ = &lt;unbound method FieldStorage.__init__&gt;<br />self = FieldStorage(None, None, None)<br />args = ()<br />kwds = {&#039;environ&#039;: {&#039;REQUEST_METHOD&#039;: &#039;POST&#039;}, &#039;fp&#039;: &lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;, &#039;headers&#039;: {&#039;Remote-Addr&#039;: &#039;192.168.1.224&#039;, &#039;Content-Length...pplication/x-www-form-urlencoded; charset=UTF-8&#039;}, &#039;keep_blank_values&#039;: 1}<br /><br /> /usr/lib/python2.6/cgi.py in __init__(self=FieldStorage(None, None, None), fp=&lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;, headers={&#039;Remote-Addr&#039;: &#039;192.168.1.224&#039;, &#039;Content-Length...pplication/x-www-form-urlencoded; charset=UTF-8&#039;}, outerboundary=&#039;&#039;, environ={&#039;REQUEST_METHOD&#039;: &#039;POST&#039;}, keep_blank_values=1, strict_parsing=0)<br />&nbsp; 504&nbsp; &nbsp; &nbsp; &nbsp;  self.done = 0<br />&nbsp; 505&nbsp; &nbsp; &nbsp; &nbsp;  if ctype == &#039;application/x-www-form-urlencoded&#039;:<br />&nbsp; 506&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  self.read_urlencoded()<br />&nbsp; 507&nbsp; &nbsp; &nbsp; &nbsp;  elif ctype[:10] == &#039;multipart/&#039;:<br />&nbsp; 508&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  self.read_multi(environ, keep_blank_values, strict_parsing)<br />self = FieldStorage(None, None, None)<br />self.read_urlencoded = &lt;bound method FieldStorage.read_urlencoded of FieldStorage(None, None, None)&gt;<br /><br /> /usr/lib/python2.6/cgi.py in read_urlencoded(self=FieldStorage(None, None, None))<br />&nbsp; 605&nbsp; &nbsp;  def read_urlencoded(self):<br />&nbsp; 606&nbsp; &nbsp; &nbsp; &nbsp;  &quot;&quot;&quot;Internal: read data in query string format.&quot;&quot;&quot;<br />&nbsp; 607&nbsp; &nbsp; &nbsp; &nbsp;  qs = self.fp.read(self.length)<br />&nbsp; 608&nbsp; &nbsp; &nbsp; &nbsp;  if self.qs_on_post:<br />&nbsp; 609&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  qs += &#039;&amp;&#039; + self.qs_on_post<br />qs undefined<br />self = FieldStorage(None, None, None)<br />self.fp = &lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;<br />self.fp.read = &lt;bound method SizeCheckWrapper.read of &lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;&gt;<br />self.length = 17713<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py in read(self=&lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;, size=17713)<br />&nbsp; 197 <br />&nbsp; 198&nbsp; &nbsp;  def read(self, size=None):<br />&nbsp; 199&nbsp; &nbsp; &nbsp; &nbsp;  data = self.rfile.read(size)<br />&nbsp; 200&nbsp; &nbsp; &nbsp; &nbsp;  self.bytes_read += len(data)<br />&nbsp; 201&nbsp; &nbsp; &nbsp; &nbsp;  self._check_length()<br />data undefined<br />self = &lt;cherrypy.wsgiserver.SizeCheckWrapper object at 0x964efcc&gt;<br />self.rfile = &lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;<br />self.rfile.read = &lt;bound method CP_fileobject.read of &lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;&gt;<br />size = 17713<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py in read(self=&lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;, size=17713)<br />&nbsp; 789&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  # as we copy it into a StringIO and free it.&nbsp; This avoids<br />&nbsp; 790&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  # fragmentation issues on many platforms.<br />&nbsp; 791&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  data = self.recv(left)<br />&nbsp; 792&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if not data:<br />&nbsp; 793&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  break<br />data undefined<br />self = &lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;<br />self.recv = &lt;bound method CP_fileobject.recv of &lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;&gt;<br />left = 14000<br /><br /> /usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py in recv(self=&lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;, size=14000)<br />&nbsp; 745&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  while True:<br />&nbsp; 746&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  try:<br />&nbsp; 747&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  return self._sock.recv(size)<br />&nbsp; 748&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  except socket.error, e:<br />&nbsp; 749&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if (e.args[0] not in socket_errors_nonblocking<br />self = &lt;cherrypy.wsgiserver.CP_fileobject object at 0x943c22c&gt;<br />self._sock = &lt;socket._socketobject object at 0x8f104fc&gt;<br />self._sock.recv = &lt;built-in method recv of _socket.socket object at 0x87da638&gt;<br />size = 14000<br />&lt;class &#039;socket.timeout&#039;&gt;: timed out<br />&nbsp; &nbsp; __class__ = &lt;class &#039;socket.timeout&#039;&gt;<br />&nbsp; &nbsp; __delattr__ = &lt;method-wrapper &#039;__delattr__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __dict__ = {}<br />&nbsp; &nbsp; __doc__ = None<br />&nbsp; &nbsp; __format__ = &lt;built-in method __format__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __getattribute__ = &lt;method-wrapper &#039;__getattribute__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __getitem__ = &lt;method-wrapper &#039;__getitem__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __getslice__ = &lt;method-wrapper &#039;__getslice__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __hash__ = &lt;method-wrapper &#039;__hash__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __init__ = &lt;method-wrapper &#039;__init__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __module__ = &#039;socket&#039;<br />&nbsp; &nbsp; __new__ = &lt;built-in method __new__ of type object at 0x24fc60&gt;<br />&nbsp; &nbsp; __reduce__ = &lt;built-in method __reduce__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __reduce_ex__ = &lt;built-in method __reduce_ex__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __repr__ = &lt;method-wrapper &#039;__repr__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __setattr__ = &lt;method-wrapper &#039;__setattr__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __setstate__ = &lt;built-in method __setstate__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __sizeof__ = &lt;built-in method __sizeof__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __str__ = &lt;method-wrapper &#039;__str__&#039; of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __subclasshook__ = &lt;built-in method __subclasshook__ of type object at 0x81f56a4&gt;<br />&nbsp; &nbsp; __unicode__ = &lt;built-in method __unicode__ of timeout object at 0x85169ec&gt;<br />&nbsp; &nbsp; __weakref__ = None<br />&nbsp; &nbsp; args = (&#039;timed out&#039;,)<br />&nbsp; &nbsp; errno = None<br />&nbsp; &nbsp; filename = None<br />&nbsp; &nbsp; message = &#039;timed out&#039;<br />&nbsp; &nbsp; strerror = None<br /><br />The above is a description of an error in a Python program.&nbsp; Here is<br />the original traceback:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py&quot;, line 600, in respond<br />&nbsp; &nbsp; self.process_body()<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py&quot;, line 722, in process_body<br />&nbsp; &nbsp; keep_blank_values=1)<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpcgifs.py&quot;, line 8, in __init__<br />&nbsp; &nbsp; cgi.FieldStorage.__init__(self, *args, **kwds)<br />&nbsp; File &quot;/usr/lib/python2.6/cgi.py&quot;, line 506, in __init__<br />&nbsp; &nbsp; self.read_urlencoded()<br />&nbsp; File &quot;/usr/lib/python2.6/cgi.py&quot;, line 607, in read_urlencoded<br />&nbsp; &nbsp; qs = self.fp.read(self.length)<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py&quot;, line 199, in read<br />&nbsp; &nbsp; data = self.rfile.read(size)<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py&quot;, line 791, in read<br />&nbsp; &nbsp; data = self.recv(left)<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/wsgiserver/__init__.py&quot;, line 747, in recv<br />&nbsp; &nbsp; return self._sock.recv(size)<br />timeout: timed out<br /><br /><br />192.168.1.224 - - [20/Jun/2011:18:23:27] &quot;POST /openerp/tree/data HTTP/1.1&quot; 500 17990 &quot;http://192.168.1.117:8080/openerp/menu?active=376&quot; &quot;Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3&quot;<br />[20/Jun/2011:18:23:45] HTTP <br />Request Headers:<br />&nbsp; REFERER: [检测到链接无效,已移除] br />&nbsp; Content-Length: 17713<br />&nbsp; ACCEPT-CHARSET: GB2312,utf-8;q=0.7,*;q=0.7<br />&nbsp; USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3<br />&nbsp; CONNECTION: keep-alive<br />&nbsp; COOKIE: session_id=e73442bee744bdc1e5c2c4505ebe8c08d58fa2be; terp_db=PCB; terp_user=admin<br />&nbsp; Remote-Addr: 192.168.1.224<br />&nbsp; PRAGMA: no-cache<br />&nbsp; HOST: 192.168.1.117:8080<br />&nbsp; CACHE-CONTROL: no-cache<br />&nbsp; ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br />&nbsp; ACCEPT-LANGUAGE: zh-cn,zh;q=0.5<br />&nbsp; Content-Type: application/x-www-form-urlencoded; charset=UTF-8<br />&nbsp; ACCEPT-ENCODING: gzip,deflate<br />&nbsp; KEEP-ALIVE: 300<br />[20/Jun/2011:18:23:45] HTTP &lt;class &#039;socket.timeout&#039;&gt;<br />Python 2.6.2: /usr/bin/python2.6<br />Mon Jun 20 18:23:45 2011
    


  • 测试发现,把虚拟机拷到另一台机器上,运行正常,创建虚拟机时的主机是双核,后面升级成4核才出的问题,难道跟虚拟机所在主机配置变化有关系?



  • 自已解决了,将vmware 6.5.3升级到7.1.4后再打开就没这个问题了。



  • 没有遇上过这种问题.
    倒是在 WinXP 上的 web client 老是容易出 HTTP 408 错误...