← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 675741] Re: Object None doesn't exist

 

** Changed in: openobject-client-web
       Status: New => Triaged

-- 
Object None doesn't exist
https://bugs.launchpad.net/bugs/675741
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Triaged

Bug description:
Hello, i was working with the browser connected to the openerp-web server when the laptop ran out of batteries, when i open the browser again and try to connect again to the openerp-web server didn't let me login in, showing the message: "Object None donesn't exist", i login into the system using the openerp-gtk client and everything was fine, so i suspect the problem was related with some kind of cookie or similar, so i decided to log in again using the browser and when the system show me the above error i manually enter the openerp-web server url again without hitting the "ok" button, so having authenticated before i was able to work again using the web interface and after that logout and login again, this is the error log from the openerp-web server:


[15/Nov/2010:15:35:47] HTTP 
Request Headers:
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Content-Type: application/x-www-form-urlencoded
  REFERER: http://192.168.1.1:8081/form/switch?_terp_source_view_type=tree
  HOST: 192.168.1.1:8081
  Content-Length: 88
  ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100911 Iceweasel/3.5.12 (like Firefox/3.5.12)
  CONNECTION: keep-alive
  COOKIE: _notebook_1TGTabber=0; terp_db=openerp_ch03; terp_user=admin; terp_db=openerp_ch03; terp_user=admin; terp_sidebar=; se
ssion_id=55ab38eb14d091cc80e788886649545f9788471e
  Remote-Addr: 192.168.1.51
  ACCEPT-LANGUAGE: en-us,en;q=0.5
  ACCEPT-ENCODING: gzip,deflate
  KEEP-ALIVE: 300
[15/Nov/2010:15:36:04] HTTP Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/pymodules/python2.5/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/openerp-web-5.0.14/openerp/controllers/base.py", line 130, in wrapper
    return fn(*args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/tools/expose.py", line 204, in func_wrapper
    res = func(*args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/controllers/form.py", line 854, in switch
    return self.create(params)
  File "/usr/local/openerp-web-5.0.14/openerp/controllers/base.py", line 130, in wrapper
    return fn(*args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/tools/expose.py", line 204, in func_wrapper
    res = func(*args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/controllers/form.py", line 211, in create
    form = self.create_form(params, tg_errors)
  File "/usr/local/openerp-web-5.0.14/openerp/controllers/form.py", line 201, in create_form
    return tw.form_view.ViewForm(params, name="view_form", action="/form/save")
  File "/usr/local/openerp-web-5.0.14/openerp/widgets/base/meta.py", line 40, in wrapper
    res = func(self, *args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/widgets/form_view.py", line 83, in __init__
    context=params.context, values=params.search_data or {})
  File "/usr/local/openerp-web-5.0.14/openerp/widgets/base/meta.py", line 40, in wrapper
    res = func(self, *args, **kw)
    res = func(self, *args, **kw)
  File "/usr/local/openerp-web-5.0.14/openerp/widgets_search/search.py", line 113, in __init__
    view = cache.fields_view_get(self.model, False, 'tree', ctx, True)
  File "/usr/local/openerp-web-5.0.14/openerp/cache.py", line 82, in fields_view_get
    return __fields_view_get(model, view_id, view_type, context, hastoolbar=hastoolbar, uid=rpc.session.uid)
  File "/usr/local/openerp-web-5.0.14/openerp/cache.py", line 79, in __fields_view_get
    return rpc.RPCProxy(model).fields_view_get(view_id, view_type, context, hastoolbar)
  File "/usr/local/openerp-web-5.0.14/openerp/rpc.py", line 390, in <lambda>
    return lambda *args: self._session.execute("object", "execute", self._resource, name, *args)
  File "/usr/local/openerp-web-5.0.14/openerp/rpc.py", line 351, in execute
    return self.gateway.execute(obj, method, *args)
  File "/usr/local/openerp-web-5.0.14/openerp/rpc.py", line 153, in execute
    return self.__execute(obj, method, args)
  File "/usr/local/openerp-web-5.0.14/openerp/rpc.py", line 135, in __execute
    raise common.warning(err.data)
  File "/usr/local/openerp-web-5.0.14/openerp/common.py", line 75, in warning
    raise TinyWarning(message=msg, title=title or _("Warning"))
TinyWarning: Object None doesn't exist





References