Hi, I am trying to install galaxy in my macbook with python version 2.5.2. But I got error messages when I sh run.sh. Could you please help me with this? Best regards, Lin Traceback (most recent call last): File "./scripts/paster.py", line 34, in <module> command.run() File "/Users/linjiang/galaxy_dist/eggs/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/Users/linjiang/galaxy_dist/eggs/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/Users/linjiang/galaxy_dist/eggs/PasteScript-1.7.3-py2.5.egg/ paste/script/command.py", line 218, in run result = self.command() File "/Users/linjiang/galaxy_dist/eggs/PasteScript-1.7.3-py2.5.egg/ paste/script/serve.py", line 276, in command relative_to=base, global_conf=vars) File "/Users/linjiang/galaxy_dist/eggs/PasteScript-1.7.3-py2.5.egg/ paste/script/serve.py", line 313, in loadapp **kw) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 204, in loadapp return loadobj(APP, uri, name=name, **kw) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 224, in loadobj global_conf=global_conf) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 248, in loadcontext global_conf=global_conf) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 278, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 413, in get_context section) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 458, in _context_from_explicit value = import_string(found_expr) File "/Users/linjiang/galaxy_dist/eggs/PasteDeploy-1.3.3-py2.5.egg/ paste/deploy/loadwsgi.py", line 18, in import_string return pkg_resources.EntryPoint.parse("x="+s).load(False) File "/Users/linjiang/galaxy_dist/lib/pkg_resources.py", line 1912, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/Users/linjiang/galaxy_dist/lib/galaxy/web/__init__.py", line 5, in <module> from framework import expose, json, require_login, require_admin, url_for, error, form, FormBuilder File "/Users/linjiang/galaxy_dist/lib/galaxy/web/framework/ __init__.py", line 29, in <module> from babel.support import Translations File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/ support.py", line 29, in <module> from babel.dates import format_date, format_datetime, format_time, LC_TIME File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/ dates.py", line 34, in <module> LC_TIME = default_locale('LC_TIME') File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/ core.py", line 642, in default_locale return '_'.join(filter(None, parse_locale(locale))) File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/ core.py", line 763, in parse_locale raise ValueError('expected only letters, got %r' % lang) ValueError: expected only letters, got 'utf-8' -- Lin Jiang, Ph.D student Dept. of Medical Biochemistry and Microbiology Uppsala University Husargatan 3 Biomedical Centre D11:3 307d Box 582 IMBIM Husdjursgenetik S-752 37 Uppsala Sweden Workphone: +46 (0) 18 471 4383 Lin.Jiang@imbim.uu.se -- Lin Jiang, Ph.D student Dept. of Medical Biochemistry and Microbiology Uppsala University Husargatan 3 Biomedical Centre D11:3 307d Box 582 IMBIM Husdjursgenetik S-752 37 Uppsala Sweden Workphone: +46 (0) 18 471 4383 Lin.Jiang@imbim.uu.se
On Thu, Mar 11, 2010 at 09:03:40PM +0100, Lin Jiang wrote:
Hi,
I am trying to install galaxy in my macbook with python version 2.5.2. But I got error messages when I sh run.sh. Could you please help me with this? [snip] "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/dates.py", line 34, in <module> LC_TIME = default_locale('LC_TIME') File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/core.py", line 642, in default_locale return '_'.join(filter(None, parse_locale(locale))) File "/Users/linjiang/galaxy_dist/eggs/Babel-0.9.4-py2.5.egg/babel/core.py", line 763, in parse_locale raise ValueError('expected only letters, got %r' % lang) ValueError: expected only letters, got 'utf-8'
It looks like you've run into a problem in the Babel module/egg: http://groups.google.com/group/python-babel/browse_thread/thread/8f17f8cf2e6... Try unsetting the LC_TIME environment variable or explicitly setting it to something more standard than "utf-8": $ LC_TIME="en_US" run.sh -- Ry4an Brase 612-626-6575 University of Minnesota Supercomputing Institute for Advanced Computational Research http://www.msi.umn.edu
participants (2)
-
Lin Jiang
-
Ry4an Brase