Question: Valueerror On Startup: Workaround
0
John Norris [jnn] • 10 wrote:
Hi,
Just installed Galaxy locally and ran "sh run.sh" for the first time.
The web page on 127.0.0.1:8080 gave this error:
ValueError: expected only letters, got ' en'
This was from line 762 in core.py
(in /opt/galaxy-dist/eggs/Babel-0.9.4-py2.6.egg/babel)
if not lang.isalpha()
raise ValueError('expected only letters, got %r' % lang)
So, the workaround is to insert a line before:
lang = lang.strip()
Then it worked :)
Cheers,
John
John Norris
Biorenewables Group (IBERS)
Aberystwyth University
01970 823 069