c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15398
Re: [Bug 713091] Re: [6.0.1] locale regression: Error: unsupported locale setting
hello, I confirm it has been fixed. However, I think the status in those
case should be "fixed released" rather than invalid.
On Tue, Feb 8, 2011 at 4:05 AM, Devishree Brahmbhatt (OpenERP) <
713091@xxxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> This problem fixed in trunk web-client.
> Please update web-client, and check it again.
> If you face the same problem reopen this bug.
>
> Revision-info:
> #4519 cpa@xxxxxxxxxxx-20110204113552-ia9td31nvmkgpxv2
>
> Thanks.
>
> ** Changed in: openobject-client-web
> Importance: High => Undecided
>
> ** Changed in: openobject-client-web
> Status: New => Invalid
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/713091
>
> Title:
> [6.0.1] locale regression: Error: unsupported locale setting
>
> Status in OpenERP Web Client:
> Invalid
>
> Bug description:
> Hello
>
>
> today's commit #4513 cpa@xxxxxxxxxxx-20110204071214-j44sdr5vre2xft5u
> introduced a regression fro us in Brazil. We use the language pt_BR in
> OpenERP and have the following locale on Ubuntu 10.0.10
> (/etc/default/locale) :
> LANG="pt_BR.UTF-8"
> LANGUAGE="pt_BR:pt:en"
>
>
> But now, as soon as we login, we get that blocker error:
>
>
> 189.60.36.156 - - [04/Feb/2011:11:18:33] "GET
> /openerp/static/css/style.css HTTP/1.1" 304 - "
> http://dreamon:8080/openerp/login?db=&user=" "Mozilla/5.0 (X11; U; Linux
> x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.642.2
> Safari/534.16"
> [04/Feb/2011:11:18:41] HTTP
> Request Headers:
> ACCEPT:
> application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Content-Type: application/x-www-form-urlencoded
> REFERER: http://cetel.dyndns.org:8080/openerp/login?db=&user=
> HOST: cetel.dyndns.org:8080
> ORIGIN: http://cetel.dyndns.org:8080
> CACHE-CONTROL: max-age=0
> Content-Length: 63
> ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
> USER-AGENT: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16
> (KHTML, like Gecko) Chrome/10.0.642.2 Safari/534.16
> CONNECTION: keep-alive
> COOKIE: session_id=2806d822e6b3d2b618f3b11faa595dd75ccd9799
> Remote-Addr: 189.60.36.156
> ACCEPT-LANGUAGE: en-US,en;q=0.8
> ACCEPT-ENCODING: gzip,deflate,sdch
> [04/Feb/2011:11:18:41] HTTP Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in
> respond
> cherrypy.response.body = self.handler()
> File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in
> __call__
> return self.callable(*self.args, **self.kwargs)
> File "/opt/openerp-trunk/web/openobject/tools/_expose.py", line 182, in
> func_wrapper
> res = func(*args, **kw)
> File "/opt/openerp-trunk/web/openobject/controllers/_root.py", line 87,
> in default
> return request.handler()
> File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in
> __call__
> return self.callable(*self.args, **self.kwargs)
> File "/opt/openerp-trunk/web/addons/openerp/controllers/utils.py", line
> 128, in wrapper
> if rpc.session.login(db, user, password) <= 0:
> File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 300, in
> login
> self._logged_as(db, uid, password)
> File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 315, in
> _logged_as
> self.context_reload()
> File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 358, in
> context_reload
> locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
> File "/usr/lib/python2.6/locale.py", line 513, in setlocale
> return _setlocale(category, locale)
> Error: unsupported locale setting
>
>
> Hope this helps
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-client-web/+bug/713091/+subscribe
>
--
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/713091
Title:
[6.0.1] locale regression: Error: unsupported locale setting
Status in OpenERP Web Client:
Invalid
Bug description:
Hello
today's commit #4513 cpa@xxxxxxxxxxx-20110204071214-j44sdr5vre2xft5u
introduced a regression fro us in Brazil. We use the language pt_BR in OpenERP and have the following locale on Ubuntu 10.0.10 (/etc/default/locale) :
LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR:pt:en"
But now, as soon as we login, we get that blocker error:
189.60.36.156 - - [04/Feb/2011:11:18:33] "GET /openerp/static/css/style.css HTTP/1.1" 304 - "http://dreamon:8080/openerp/login?db=&user=" "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.642.2 Safari/534.16"
[04/Feb/2011:11:18:41] HTTP
Request Headers:
ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/x-www-form-urlencoded
REFERER: http://cetel.dyndns.org:8080/openerp/login?db=&user=
HOST: cetel.dyndns.org:8080
ORIGIN: http://cetel.dyndns.org:8080
CACHE-CONTROL: max-age=0
Content-Length: 63
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
USER-AGENT: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.642.2 Safari/534.16
CONNECTION: keep-alive
COOKIE: session_id=2806d822e6b3d2b618f3b11faa595dd75ccd9799
Remote-Addr: 189.60.36.156
ACCEPT-LANGUAGE: en-US,en;q=0.8
ACCEPT-ENCODING: gzip,deflate,sdch
[04/Feb/2011:11:18:41] HTTP Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/openerp-trunk/web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/opt/openerp-trunk/web/openobject/controllers/_root.py", line 87, in default
return request.handler()
File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/openerp-trunk/web/addons/openerp/controllers/utils.py", line 128, in wrapper
if rpc.session.login(db, user, password) <= 0:
File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 300, in login
self._logged_as(db, uid, password)
File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 315, in _logged_as
self.context_reload()
File "/opt/openerp-trunk/web/addons/openerp/utils/rpc.py", line 358, in context_reload
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
File "/usr/lib/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
Error: unsupported locale setting
Hope this helps
References