openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17156
[Bug 1072803] [NEW] [trunk] reports cannot be printed if name contains non latin charachter
Public bug reported:
It is not possible to print any report, if report name contains non
latin-1 character.
How to reproduce:
1. Switch user interface to some non-latin language.
2. Find a report with non-latin character in name.
3. Print it.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-server-7/openerp/service/wsgi_server.py", line 408, in application
return application_unproxied(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-server-7/openerp/service/wsgi_server.py", line 393, in application_unproxied
result = handler(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 461, in __call__
return self.dispatch(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 435, in __call__
return self.app(environ, start_wrapped)
File "/usr/lib/python2.7/site-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 491, in dispatch
return response(environ, start_response)
File "/usr/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1082, in __call__
app_iter, status, headers = self.get_wsgi_response(environ)
File "/usr/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1072, in get_wsgi_response
return app_iter, self.status, headers.to_list()
File "/usr/lib/python2.7/site-packages/werkzeug/datastructures.py", line 1141, in to_list
for k, v in self]
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0105' in position 23: ordinal not in range(256)
openobject-server revno: 4516
openobject-addons revno: 7886
openerp-web revno: 3328
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1072803
Title:
[trunk] reports cannot be printed if name contains non latin
charachter
Status in OpenERP Server:
New
Bug description:
It is not possible to print any report, if report name contains non
latin-1 character.
How to reproduce:
1. Switch user interface to some non-latin language.
2. Find a report with non-latin character in name.
3. Print it.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-server-7/openerp/service/wsgi_server.py", line 408, in application
return application_unproxied(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-server-7/openerp/service/wsgi_server.py", line 393, in application_unproxied
result = handler(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 461, in __call__
return self.dispatch(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 435, in __call__
return self.app(environ, start_wrapped)
File "/usr/lib/python2.7/site-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/home/giedrius/Projektai/inovera/lib/openerp-web-7-old/addons/web/http.py", line 491, in dispatch
return response(environ, start_response)
File "/usr/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1082, in __call__
app_iter, status, headers = self.get_wsgi_response(environ)
File "/usr/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1072, in get_wsgi_response
return app_iter, self.status, headers.to_list()
File "/usr/lib/python2.7/site-packages/werkzeug/datastructures.py", line 1141, in to_list
for k, v in self]
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0105' in position 23: ordinal not in range(256)
openobject-server revno: 4516
openobject-addons revno: 7886
openerp-web revno: 3328
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1072803/+subscriptions
Follow ups
References