c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26767
[Bug 799088] Re: [openobject-client-web/6.0/] TypeError: sequence item 72: expected string or Unicode, bool found
openerp-web settings:
[global]
server.environment = "development"
server.socket_host = "0.0.0.0"
server.socket_port = 8080
server.thread_pool = 10
tools.sessions.on = True
tools.sessions.persistent = False
server.profile_on = False
server.profile_dir = "profile"
log.access_file = "/var/local/software/6.0-trunk/web/access.log"
log.error_file = "/var/local/software/6.0-trunk/web/error.log"
log.access_level = "DEBUG"
log.error_level = "DEBUG"
tools.csrf.on = True
tools.log_tracebacks.on: False
tools.cgitb.on: True
tools.cgitb.ignore=(
openobject.errors.Concurrency,
openobject.errors.TinyException)
openerp.server.host = 'localhost'
openerp.server.port = '8070'
openerp.server.protocol = 'socket'
openerp.server.timeout = 450
[openerp-web]
dblist.filter = 'NONE'
dbbutton.visible = True
company.url = ''
--
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:
New
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