Chris Cole wrote:
As a follow-up, I've found a work-around. By deleting all preferred languages settings in Edit->Preferences->Content in Firefox the web pages are loaded correctly.
The error appears to stem from the setup_il8( self ) function at line 200 in /homes/www-galaxy/galaxy_devel/lib/galaxy/web/framework/__init__.py and only works when 'if 'HTTP_ACCEPT_LANGUAGE' in self.environ:' is false and drops to the default 'else' block.
Even when the 'HTTP_ACCEPT_LANGUAGE' is set to 'en' (as for the 'else' block), the code fails. Cheers,
Chris
On 12/11/10 12:22, Chris Cole wrote:
Hi,
I've just updated our local Galaxy install and got an error when trying to run it. It started fine, but as soon as I tried to connect with Firefox it brought up a server error:
10.31.3.203 - - [12/Nov/2010:12:07:05 +0100] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux i686; rv:2.0b7) Gecko/20100101 Firefox/4.0b7" Error - <class 'babel.core.UnknownLocaleError'>: unknown locale 'en_GB' URL: http://xxxxxxxxxxxxx/ ... File '/homes/www-galaxy/galaxy_devel/eggs/Babel-0.9.4-py2.6.egg/babel/core.py', line 137 in __init__ UnknownLocaleError: unknown locale 'en_GB'
Strangely, /homes/www-galaxy/galaxy_devel/eggs/Babel-0.9.4-py2.6.egg/babel/core.py doesn't exist? Any pointers on how to fix this?
Chris, Are there any Babel eggs in /homes/www-galaxy/galaxy_devel/eggs? If so, are they files or directories? Thanks, --nate
Cheers,
Chris _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
-- Dr Chris Cole Senior Bioinformatics Research Officer School of Life Sciences Research University of Dundee Dow Street Dundee DD1 5EH Scotland, UK
url: http://network.nature.com/profile/drchriscole e-mail: chris@compbio.dundee.ac.uk Tel: +44 (0)1382 388 721
The University of Dundee is a registered Scottish charity, No: SC015096 _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev