← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719665] Re: web client crashed suddenly

 

*** This bug is a duplicate of bug 705859 ***
    https://bugs.launchpad.net/bugs/705859

** This bug has been marked a duplicate of bug 705859
   [V6.0.1] Problem run client-web after insatll
 * You can subscribe to bug 705859 by following this link: https://bugs.launchpad.net/openobject-client-web/+bug/705859/+subscribe

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/719665

Title:
  web client crashed suddenly

Status in OpenERP Web Client:
  New

Bug description:
  1) Launch openerp-web
  2) Try to create a database and populate it with russian language demo data.
  3) Wait
  4) STDOUT looks like this:

  192.168.56.1 - - [16/Feb/2011:01:37:40] "POST /openerp/database/do_create HTTP/1.1" 303 170 "http://192.168.56.101:8080/openerp/database/create"; "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
  [16/Feb/2011:01:37:40] HTTP 
  Request Headers:
    REFERER: http://192.168.56.101:8080/openerp/database/create
    HOST: 192.168.56.101:8080
    CACHE-CONTROL: max-age=0
    ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.3
    USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
    CONNECTION: keep-alive
    COOKIE: terp_db=demo001; terp_user=admin; session_id=28ced611a79a8a1a0421702138de13ab1ef18b9b
    Remote-Addr: 192.168.56.1
    ACCEPT-LANGUAGE: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
    ACCEPT-ENCODING: gzip,deflate,sdch
  [16/Feb/2011:01:37:40] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/controllers/_root.py", line 66, in default
      obj = pooler.get_pool().get_controller("/openerp/modules")
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/pooler.py", line 97, in get_pool
      addons.load_addons(db_name, config)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/addons.py", line 217, in load_addons
      new_modules = obj.get_new_modules()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/modules.py", line 44, in get_new_modules
      web_payload = modules.get_web(addons_to_download)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/rpc.py", line 396, in <lambda>
      return lambda *args: self(name, *args)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/rpc.py", line 405, in __call__
      self._resource, *args)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/rpc.py", line 357, in execute
      return self.gateway.execute(obj, method, *args)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/rpc.py", line 147, in execute
      return self.__execute(obj, method, args)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/rpc.py", line 133, in __execute
      common.error(_('Application Error'), err.backtrace)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/utils/common.py", line 66, in error
      raise TinyError(message=msg, title=title or _("Error"))
  TinyError: Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/pyshared/openerp-server/addons/base/module/module.py", line 631, in get_web
      addons.get_module_resource(module.name, 'web'), False)
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 232, in zip_directory
      archive.writepy(directory)
    File "/usr/lib/python2.6/zipfile.py", line 1262, in writepy
      fname, arcname = self._get_codename(initname[0:-3], basename)
    File "/usr/lib/python2.6/zipfile.py", line 1323, in _get_codename
      py_compile.compile(file_py, file_pyc, None, True)
    File "/usr/lib/python2.6/py_compile.py", line 135, in compile
      fc = open(cfile, 'wb')
  IOError: [Errno 13] \u041e\u0442\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0435: '/usr/share/pyshared/openerp-server/addons/web_livechat/web/__init__.pyc'

  
  [16/Feb/2011:01:37:40]  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
      message = errorpage.render()
  AttributeError: 'NoneType' object has no attribute 'render'

  192.168.56.1 - - [16/Feb/2011:01:37:40] "GET /openerp/menu?next=%2Fopenerp%2Fhome HTTP/1.1" 500 - "http://192.168.56.101:8080/openerp/database/create"; "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
  [16/Feb/2011:01:38:26] HTTP 
  Request Headers:
    COOKIE: terp_db=demo001; terp_user=admin; session_id=28ced611a79a8a1a0421702138de13ab1ef18b9b
    HOST: 192.168.56.101:8080
    ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.3
    USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
    CONNECTION: keep-alive
    Remote-Addr: 192.168.56.1
    ACCEPT-LANGUAGE: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
    ACCEPT-ENCODING: gzip,deflate,sdch
  [16/Feb/2011:01:38:26] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/controllers/_root.py", line 67, in default
      if obj.has_new_modules():
  AttributeError: 'NoneType' object has no attribute 'has_new_modules'

  [16/Feb/2011:01:38:26]  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
      message = errorpage.render()
  AttributeError: 'NoneType' object has no attribute 'render'

  192.168.56.1 - - [16/Feb/2011:01:38:26] "GET / HTTP/1.1" 500 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
  [16/Feb/2011:01:38:29] HTTP 
  Request Headers:
    COOKIE: terp_db=demo001; terp_user=admin; session_id=28ced611a79a8a1a0421702138de13ab1ef18b9b
    HOST: 192.168.56.101:8080
    CACHE-CONTROL: max-age=0
    ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.3
    USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
    CONNECTION: keep-alive
    Remote-Addr: 192.168.56.1
    ACCEPT-LANGUAGE: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
    ACCEPT-ENCODING: gzip,deflate,sdch
  [16/Feb/2011:01:38:29] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/controllers/_root.py", line 67, in default
      if obj.has_new_modules():
  AttributeError: 'NoneType' object has no attribute 'has_new_modules'

  [16/Feb/2011:01:38:29]  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
      message = errorpage.render()
  AttributeError: 'NoneType' object has no attribute 'render'

  192.168.56.1 - - [16/Feb/2011:01:38:29] "GET / HTTP/1.1" 500 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
  [16/Feb/2011:01:38:30] HTTP 
  Request Headers:
    COOKIE: terp_db=demo001; terp_user=admin; session_id=28ced611a79a8a1a0421702138de13ab1ef18b9b
    HOST: 192.168.56.101:8080
    CACHE-CONTROL: max-age=0
    ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.3
    USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
    CONNECTION: keep-alive
    Remote-Addr: 192.168.56.1
    ACCEPT-LANGUAGE: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
    ACCEPT-ENCODING: gzip,deflate,sdch
  [16/Feb/2011:01:38:30] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/controllers/_root.py", line 67, in default
      if obj.has_new_modules():
  AttributeError: 'NoneType' object has no attribute 'has_new_modules'

  [16/Feb/2011:01:38:30]  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
      message = errorpage.render()
  AttributeError: 'NoneType' object has no attribute 'render'

  192.168.56.1 - - [16/Feb/2011:01:38:30] "GET / HTTP/1.1" 500 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12"
  [16/Feb/2011:01:38:31] HTTP 
  Request Headers:
    COOKIE: terp_db=demo001; terp_user=admin; session_id=28ced611a79a8a1a0421702138de13ab1ef18b9b
    HOST: 192.168.56.101:8080
    CACHE-CONTROL: max-age=0
    ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    ACCEPT-CHARSET: windows-1251,utf-8;q=0.7,*;q=0.3
    USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12
    CONNECTION: keep-alive
    Remote-Addr: 192.168.56.1
    ACCEPT-LANGUAGE: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
    ACCEPT-ENCODING: gzip,deflate,sdch
  [16/Feb/2011:01:38:31] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/openobject/controllers/_root.py", line 67, in default
      if obj.has_new_modules():
  AttributeError: 'NoneType' object has no attribute 'has_new_modules'

  [16/Feb/2011:01:38:31]  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
      message = errorpage.render()
  AttributeError: 'NoneType' object has no attribute 'render'

  Server Side platform: maverick-server openerp-server 6.0.1 openerp-web 6.0.1
  Client Side: maverick-desktop. Google Chrome 9 beta





References