I'm on gentoo... And there we are obtaining updates much quicker than twice
per year like for Ubuntu:) So... be ready for update of werkzeug to 0.9.1...
Ilia
2013/6/24 Alberto Martín - Guadaltech <email address hidden>
> The apt-get package for werkzeug is the same as Gustavo (0.8.3), and
> worked to me too,
>
> so the problem must be in the version of pip (0.9.3) or in the SO, i'm
> using Ubuntu 13.04
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1193563
>
> Title:
> Can't print: raise TypeError('Expected bytes') in the logs
>
> Status in OpenERP Addons (modules):
> Incomplete
>
> Bug description:
> We have openerp v7 installation. When I'm trying to print any page with
> the aid of "Print" submenu I obtain following in UI:
>
> Uncaught SyntaxError: Unexpected end of input
>
> http://erp.npp-alion.ru/?ts=1371848653090#id=6&view_type=form&model=product.product&menu_id=363&action=425:0
>
> And following in the logs:
>
> 2013-06-22 07:12:50,987 24036 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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1193563/+subscriptions
>
I'm on gentoo... And there we are obtaining updates much quicker than twice
per year like for Ubuntu:) So... be ready for update of werkzeug to 0.9.1...
Ilia
2013/6/24 Alberto Martín - Guadaltech <email address hidden>
> The apt-get package for werkzeug is the same as Gustavo (0.8.3), and /bugs.launchpad .net/bugs/ 1193563 erp.npp- alion.ru/ ?ts=13718486530 90#id=6& view_type= form&model= product. product& menu_id= 363&action= 425:0 addons. web.http. HttpRequest. dispatch: An error occurred while 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 python2. 7/site- packages/ werkzeug/ http.py" , line 905, python2. 7/site- packages/ werkzeug/ _compat. py", line /bugs.launchpad .net/openobject -addons/ +bug/1193563/ +subscriptions
> worked to me too,
>
> so the problem must be in the version of pip (0.9.3) or in the SO, i'm
> using Ubuntu 13.04
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Can't print: raise TypeError('Expected bytes') in the logs
>
> Status in OpenERP Addons (modules):
> Incomplete
>
> Bug description:
> We have openerp v7 installation. When I'm trying to print any page with
> the aid of "Print" submenu I obtain following in UI:
>
> Uncaught SyntaxError: Unexpected end of input
>
> http://
>
> And following in the logs:
>
> 2013-06-22 07:12:50,987 24036 ERROR openerp
> openerp.
> handling a json request
> Traceback (most recent call last):
> File "/usr/openerp/
> r = method(self, **self.params)
> File "/usr/openerp/
> cookies=
> File "/usr/openerp/
> response.
> File "/usr/lib64/
> 960, in set_cookie
> self.charset))
> File "/usr/lib64/
> in dump_cookie
> value = to_bytes(value, charset)
> File "/usr/lib64/
> 106, in to_bytes
> raise TypeError('Expected bytes')
> TypeError: Expected bytes
>
> To manage notifications about this bug go to:
> https:/
>