Question: Babel error in local Galaxy server
0
gravatar for mj308
3.3 years ago by
mj308 • 0
United Kingdom
mj308 • 0 wrote:

Hi,

I am trying to set up a Galaxy local server to easily run and maintain my workflows. But, after following al the steps and configure everything, I get this error message in the terminal every single time I send an order using the web interface: 

galaxy.web.framework.webapp DEBUG 2015-08-14 10:52:31,307 Error parsing locale 'en-GB'. <type 'exceptions.RuntimeError'>: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files.  Just make sure to run "python setup.py import_cldr" before installing the library.
galaxy.web.framework.webapp DEBUG 2015-08-14 10:52:31,308 Error parsing locale 'en;q=0.5'. <type 'exceptions.RuntimeError'>: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files.  Just make sure to run "python setup.py import_cldr" before installing the library.

I have tried installing and uninstalling babel, updating python, compiling babel by source, and, of course, executing "python setup.py import_cldr" before and after everything. And I keep getting the error.

I am installing it in Red Hat Enterprise Linux Server release 6.7 (Santiago), and I have tried babel with python 2.6.6 and 2.7.

Does anybody know how to solve this problem?

Thanks for your help,

Miguel

 

software error galaxy • 914 views
ADD COMMENT • link • modified 3.2 years ago by Nate Coraor ♦ 3.2k • written 3.3 years ago by mj308 • 0
0
gravatar for Nate Coraor
3.2 years ago by
Nate Coraor ♦ 3.2k
United States
Nate Coraor ♦ 3.2k wrote:

This is due to a [bug in Paste >= 2.0](https://bitbucket.org/ianb/paste/issues/4/wsgi-environ-totally-borked). Galaxy should be using Paste 1.7.5.1, which means Paste is probably being loaded from elsewhere in your environment. Be sure to create a clean virtualenv and run Galaxy from that, and it should resolve the problem.

ADD COMMENT • link written 3.2 years ago by Nate Coraor ♦ 3.2k

Nate, this bug is back with 16.01: Paste==2.0.2

ADD REPLY • link written 2.8 years ago by Bjoern Gruening ♦ 5.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 169 users visited in the last hour