I updated werkzeug package with the aid of "pip install" plus installed lates openerp. Pretty much the same problem:
2013-06-24 14:17:13,437 3340 DEBUG ? openerp.report.render.rml2pdf.customfonts: Found font DejaVuSans-BoldOblique.ttf at /usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf
2013-06-24 14:17:13,979 3340 ERROR openerp openerp.addons.web.http.HttpRequest.dispatch: An error occurred while handling a json request
Traceback (most recent call last):
File "/usr/openerp/addons/web/http.py", line 285, in dispatch
r = method(self, **self.params)
File "/usr/openerp/addons/web/controllers/main.py", line 1767, in index
cookies={'fileToken': int(token)})
File "/usr/openerp/addons/web/http.py", line 332, in make_response
response.set_cookie(k, v)
File "/usr/lib64/python2.7/site-packages/werkzeug/wrappers.py", line 960, in set_cookie
self.charset))
File "/usr/lib64/python2.7/site-packages/werkzeug/http.py", line 905, in dump_cookie
value = to_bytes(value, charset)
File "/usr/lib64/python2.7/site-packages/werkzeug/_compat.py", line 106, in to_bytes
raise TypeError('Expected bytes')
TypeError: Expected bytes
2013-06-24 14:17:14,022 3340 INFO openerp werkzeug: 127.0.0.1 - - [24/Jun/2013 14:17:14] "GET /web/report?action=%7B%22flags%22%3A%7B%22views_switcher%22%3Atrue%2C%22search_view%22%3Atrue%2C%22action_buttons%22%3Atrue%2C%22sidebar%22%3Atrue%2C%22pager%22%3Atrue%2C%22display_title%22%3Atrue%2C%22search_disable_custom_filters%22%3Atrue%7D%2C%22type%22%3A%22ir.actions.report.xml%22%2C%22datas%22%3A%7B%22ids%22%3A%5B6%5D%2C%22form%22%3A%7B%22number%22%3A1%2C%22id%22%3A12%7D%7D%2C%22report_name%22%3A%22product.price%22%2C%22context%22%3A%7B%22lang%22%3A%22ru_RU%22%2C%22tz%22%3A%22Europe%2FMoscow%22%2C%22uid%22%3A1%2C%22active_id%22%3A12%2C%22active_ids%22%3A%5B12%5D%2C%22active_model%22%3A%22mrp.product_price%22%2C%22search_disable_custom_filters%22%3Atrue%7D%2C%22menu_id%22%3Anull%7D&token=1372083282647&session_id=ca25b9e0f933486880e139244b9c8a7c HTTP/1.1" 500 -
I updated werkzeug package with the aid of "pip install" plus installed lates openerp. Pretty much the same problem:
2013-06-24 14:17:13,437 3340 DEBUG ? openerp. report. render. rml2pdf. customfonts: Found font DejaVuSans- BoldOblique. ttf at /usr/share/ fonts/dejavu/ DejaVuSans- BoldOblique. ttf addons. web.http. HttpRequest. dispatch: An error occurred while handling a json request addons/ web/http. py", line 285, in dispatch addons/ web/controllers /main.py" , line 1767, in index {'fileToken' : int(token)}) addons/ web/http. py", line 332, in make_response set_cookie( k, v) python2. 7/site- packages/ werkzeug/ wrappers. py", line 960, in set_cookie python2. 7/site- packages/ werkzeug/ http.py" , line 905, in dump_cookie python2. 7/site- packages/ werkzeug/ _compat. py", line 106, in to_bytes action= %7B%22flags% 22%3A%7B% 22views_ switcher% 22%3Atrue% 2C%22search_ view%22% 3Atrue% 2C%22action_ buttons% 22%3Atrue% 2C%22sidebar% 22%3Atrue% 2C%22pager% 22%3Atrue% 2C%22display_ title%22% 3Atrue% 2C%22search_ disable_ custom_ filters% 22%3Atrue% 7D%2C%22type% 22%3A%22ir. actions. report. xml%22% 2C%22datas% 22%3A%7B% 22ids%22% 3A%5B6% 5D%2C%22form% 22%3A%7B% 22number% 22%3A1% 2C%22id% 22%3A12% 7D%7D%2C% 22report_ name%22% 3A%22product. price%22% 2C%22context% 22%3A%7B% 22lang% 22%3A%22ru_ RU%22%2C% 22tz%22% 3A%22Europe% 2FMoscow% 22%2C%22uid% 22%3A1% 2C%22active_ id%22%3A12% 2C%22active_ ids%22% 3A%5B12% 5D%2C%22active_ model%22% 3A%22mrp. product_ price%22% 2C%22search_ disable_ custom_ filters% 22%3Atrue% 7D%2C%22menu_ id%22%3Anull% 7D&token= 1372083282647& session_ id=ca25b9e0f933 486880e139244b9 c8a7c HTTP/1.1" 500 -
2013-06-24 14:17:13,979 3340 ERROR openerp openerp.
Traceback (most recent call last):
File "/usr/openerp/
r = method(self, **self.params)
File "/usr/openerp/
cookies=
File "/usr/openerp/
response.
File "/usr/lib64/
self.charset))
File "/usr/lib64/
value = to_bytes(value, charset)
File "/usr/lib64/
raise TypeError('Expected bytes')
TypeError: Expected bytes
2013-06-24 14:17:14,022 3340 INFO openerp werkzeug: 127.0.0.1 - - [24/Jun/2013 14:17:14] "GET /web/report?
What is your version of werkzeug?