Web-Client Crash whenyou use it on "standalone-mode" & cherryperry old installed in the same machine.

Asked by Nhomar - Vauxoo

Hello.

I have in my Production Server the web-client 5.0.1
It works with cherrypy 2, im trying to use web-client 5.0.6 obtained with:
.- bzr clone lp:~openerp/openobject-client-web/5.0 web-client
.- I run the populate.sh script to use it on stand alone mode.
All fine for now, when i try to install some module that depend of account the web client crash
Plataform: Ubuntu 8.04

 Error:
<class 'babel.core.UnknownLocaleError'>: unknown locale 'es_ES'
      args = ("unknown locale 'es_ES'",)
      identifier = 'es_ES'
      message = "unknown locale 'es_ES'"

Other lines for the error:
 /usr/lib/python2.5/site-packages/Babel-1.0dev_r471-py2.5.egg/babel/numbers.py in format_decimal(number=0, format=None, locale=u'es_ES')
/usr/lib/python2.5/site-packages/Babel-1.0dev_r471-py2.5.egg/babel/core.py in parse(cls=<class 'babel.core.Locale'>, identifier=u'es_ES', sep='_')
 /usr/lib/python2.5/site-packages/Babel-1.0dev_r471-py2.5.egg/babel/core.py in __init__(self=<Locale "es_ES">, language=u'es', territory=u'ES', script=None, variant=None)

I've installed all locales by this manual written by me [http://geronimo.com.ve/libro/locales], because in past opportunities i resolved this issue with this procedure instalation, the question is, that appear like Babel is not calling the right path to locales.

How can you reproduce the problem:
.- bzr clone lp:~openerp/openobject-client-web/5.0 web-client
Run the script populate.sh on lib folder.
Run the web-client
Run The Server
Try to install a module that had dependencies of account module.
BROKE

Run your client-gtk
Try to install a module that had dependencies of account module.
It Works FINE

I prove in a virtual machine which not have installed cherrypy2 and webclient works fine.

I think that is important, because, the planification to migrate involve test on the production enviroment and the standalone mode is so important.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Web Client Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nhomar - Vauxoo (nhomar) said :
#1

Sorry.
In the title I tried to say Cherrypy2 not "cherryperry old" sorry

Revision history for this message
Marijn van der Zee (marijnvanderzee) said :
#2

To me it appears that this issue is addressed in the installation documentation, see http://doc.openerp.com/install/linux/web/index.html.

I'm not sure if this is a "clean" solution, but it is what the openobject team advises.

Revision history for this message
Amit Mendapara (cristatus) said :
#3

There should be a `babel` package in the local `lib` dir but the error trace shows ` /usr/lib/python2.5/site-packages/Babel-1.0dev_r471-py2.5.egg/babel/numbers.py` which is system path. Please check that `populate.sh` has downloaded all required dependencies in local `lib` dir.

Can you help with this problem?

Provide an answer of your own, or ask Nhomar - Vauxoo for more information if necessary.

To post a message you must log in.