Hello Amit,
Putting widget="selection" for the field is not a good solution to make it working same in both gtk and web,
Probably there is a problem in web-client,
It crashes with following traceback when I search for any location in web-client:
09/Feb/2011:14:50:52] HTTP
Request Headers:
REFERER: http://localhost:8080/openerp/menu?active=73
Content-Length: 889
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.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
CONNECTION: keep-alive
COOKIE: session_id=a984ebbb12568c7a5cb5d08846b9e84e9ee29daf; terp_db=latest; terp_user=admin
Remote-Addr: 127.0.0.1
PRAGMA: no-cache
HOST: localhost:8080
CACHE-CONTROL: no-cache
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: en-us,en;q=0.5
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 115
[09/Feb/2011:14:50:52] HTTP Traceback (most recent call last):
File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/rpa/projects/webclient/trunk/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/rpa/projects/webclient/trunk/openobject/controllers/_root.py", line 87, in default
return request.handler()
File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/rpa/projects/webclient/trunk/addons/openerp/controllers/utils.py", line 112, in wrapper
return fn(*args, **kw)
File "/home/rpa/projects/webclient/trunk/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/rpa/projects/webclient/trunk/addons/openerp/controllers/search.py", line 107, in eval_domain_and_context
params, data = TinyDict.split(kw)
File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 178, in split
return _make_dict(params, True), _make_dict(data, False)
File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 80, in _make_dict
return make_dict_internal(data, is_params, set())
File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 75, in make_dict_internal
res[k] = make_dict_internal(v, is_params and isinstance(v, TinyDict), previous_dict_ids)
File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 75, in make_dict_internal
res[k] = make_dict_internal(v, is_params and isinstance(v, TinyDict), previous_dict_ids)
File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 41, in make_dict_internal
raise ValueError("Recursive dictionary detected, _make_dict does not handle recursive dictionaries.")
ValueError: Recursive dictionary detected, _make_dict does not handle recursive dictionaries.
Hello Amit,
Putting widget="selection" for the field is not a good solution to make it working same in both gtk and web,
Probably there is a problem in web-client,
It crashes with following traceback when I search for any location in web-client:
09/Feb/ 2011:14: 50:52] HTTP localhost: 8080/openerp/ menu?active= 73 1,utf-8; q=0.7,* ;q=0.7 id=a984ebbb1256 8c7a5cb5d08846b 9e84e9ee29daf; terp_db=latest; terp_user=admin application/ xhtml+xml, application/ xml;q=0. 9,*/*;q= 0.8 x-www-form- urlencoded; charset=UTF-8 2011:14: 50:52] HTTP Traceback (most recent call last): rpa/projects/ webclient/ trunk/lib/ cherrypy/ _cprequest. py", line 606, in respond response. body = self.handler() rpa/projects/ webclient/ trunk/lib/ cherrypy/ _cpdispatch. py", line 25, in __call__ *self.args, **self.kwargs) rpa/projects/ webclient/ trunk/openobjec t/tools/ _expose. py", line 182, in func_wrapper rpa/projects/ webclient/ trunk/openobjec t/controllers/ _root.py" , line 87, in default rpa/projects/ webclient/ trunk/lib/ cherrypy/ _cpdispatch. py", line 25, in __call__ *self.args, **self.kwargs) rpa/projects/ webclient/ trunk/addons/ openerp/ controllers/ utils.py" , line 112, in wrapper rpa/projects/ webclient/ trunk/openobjec t/tools/ _expose. py", line 182, in func_wrapper rpa/projects/ webclient/ trunk/addons/ openerp/ controllers/ search. py", line 107, in eval_domain_ and_context rpa/projects/ webclient/ trunk/addons/ openerp/ utils/utils. py", line 178, in split rpa/projects/ webclient/ trunk/addons/ openerp/ utils/utils. py", line 80, in _make_dict internal( data, is_params, set()) rpa/projects/ webclient/ trunk/addons/ openerp/ utils/utils. py", line 75, in make_dict_internal internal( v, is_params and isinstance(v, TinyDict), previous_dict_ids) rpa/projects/ webclient/ trunk/addons/ openerp/ utils/utils. py", line 75, in make_dict_internal internal( v, is_params and isinstance(v, TinyDict), previous_dict_ids) rpa/projects/ webclient/ trunk/addons/ openerp/ utils/utils. py", line 41, in make_dict_internal "Recursive dictionary detected, _make_dict does not handle recursive dictionaries.")
Request Headers:
REFERER: http://
Content-Length: 889
ACCEPT-CHARSET: ISO-8859-
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
CONNECTION: keep-alive
COOKIE: session_
Remote-Addr: 127.0.0.1
PRAGMA: no-cache
HOST: localhost:8080
CACHE-CONTROL: no-cache
ACCEPT: text/html,
ACCEPT-LANGUAGE: en-us,en;q=0.5
Content-Type: application/
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 115
[09/Feb/
File "/home/
cherrypy.
File "/home/
return self.callable(
File "/home/
res = func(*args, **kw)
File "/home/
return request.handler()
File "/home/
return self.callable(
File "/home/
return fn(*args, **kw)
File "/home/
res = func(*args, **kw)
File "/home/
params, data = TinyDict.split(kw)
File "/home/
return _make_dict(params, True), _make_dict(data, False)
File "/home/
return make_dict_
File "/home/
res[k] = make_dict_
File "/home/
res[k] = make_dict_
File "/home/
raise ValueError(
ValueError: Recursive dictionary detected, _make_dict does not handle recursive dictionaries.
Can you please check it again,
Thanks