c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29853
[Bug 799088] Re: [openobject-client-web/6.0/] TypeError: sequence item 72: expected string or Unicode, bool found
Hello,
I finally figure out the way to get around it: to start the openerp-
server with all default configuration and save the profile (-s), then
update relevant fields to the necessary values (before I was using the
6.0-RC2 version for production and would like to move to the final
release). Apparently, there are incompatible changes between these 6.0
versions.
However, I'm facing similar problems with 6.1 web-client, and the above
tactic doesn't seem to work anymore. I can't use all the default
configuration values (i.e. no configuration) as it conflict with my
production instances.
I just wonder if you have any test-cases for this kind of error?
--
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/799088
Title:
[openobject-client-web/6.0/] TypeError: sequence item 72: expected
string or Unicode, bool found
Status in OpenERP Web Client:
Incomplete
Bug description:
I have the following error when using the latest openobject-client-
web/6.0/ (details version info is at the end). Strangely, if I change
the openerp-server port (e.g from 8070 to 8170), the this error
doesn't show up but of course the web-client cannot find the server
(see attached). Is there any possibility that the openerp-server and
openerp-webclient is out of sync when talking UTF-8 data?
500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Traceback (most recent call last):
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/openobject/controllers/_root.py", line 90, in default
return request.handler()
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/addons/openerp/controllers/utils.py", line 188, in wrapper
return fn(*args, **kw)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/addons/openerp/controllers/root.py", line 167, in login
return tiny_login(target=location, db=db, user=user, password=password, action="login", message=message)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/openobject/tools/_expose.py", line 222, in func_wrapper
return render_template(_template, res).encode("utf-8")
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/openobject/tools/_expose.py", line 141, in render_template
return utils.NoEscape(template.render_unicode(**kw))
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/mako/template.py", line 305, in render_unicode
as_unicode=True)
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/mako/runtime.py", line 661, in _render
return context._pop_buffer().getvalue()
File "/var/local/software/openerp-6.0-trunk-20110603-0404/web/lib/mako/util.py", line 136, in getvalue
return self.delim.join(self.data)
TypeError: sequence item 72: expected string or Unicode, bool found
Powered by CherryPy 3.1.2
$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .
Related branches:
parent branch: http://bazaar.launchpad.net/~openerp/openobject-client-web/6.0/
ubuntu@ip-10-128-191-131:/var/local/software/6.0-trunk/web$ bzr version-info
revision-id: noz@xxxxxxxxxxx-20110610101019-edxod1zdauc4m8me
date: 2011-06-10 15:40:19 +0530
build-date: 2011-06-18 15:34:40 +0700
revno: 4638
branch-nick: web
$ bzr version-info ../server/
revision-id: jvo@xxxxxxxxxxx-20110617090357-bcbg80ec7raw4ldf
date: 2011-06-17 14:33:57 +0530
build-date: 2011-06-18 15:39:14 +0700
revno: 3444
branch-nick: server
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/799088/+subscriptions
References