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