Traceback on original execution
Hi, Galaxy, Developers, My name is Dan Sullivan and I work at the University of Chicago in the newly-formed Center for Research Informatics. This is my first post to this list, and I am a very new Galaxy user, so please be patient with me :-) I have a question regarding an error I am reciecveing when I try to start up galaxy for the first time. I think it might be related to the older version of python I am running (2.4.3-46.el5). I am running this on an RHEL 5 box and the output of "hg parent" command shows 6799 as the chageset number. When I attempt to start galaxy for the first time, I get the following traceback: Traceback (most recent call last): File "./scripts/paster.py", line 34, in ? command.run() File "/opt/local/galaxy-dist/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/opt/local/galaxy-dist/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/opt/local/galaxy-dist/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 218, in run result = self.command() File "/opt/local/galaxy-dist/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py", line 276, in command relative_to=base, global_conf=vars) File "/opt/local/galaxy-dist/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py", line 311, in loadapp return loadapp( File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 204, in loadapp return loadobj(APP, uri, name=name, **kw) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 224, in loadobj global_conf=global_conf) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext global_conf=global_conf) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 278, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 413, in get_context section) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 458, in _context_from_explicit value = import_string(found_expr) File "/opt/local/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 18, in import_string return pkg_resources.EntryPoint.parse("x="+s).load(False) File "/opt/local/galaxy-dist/lib/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/opt/local/galaxy-dist/lib/galaxy/web/buildapp.py", line 19, in ? from galaxy import config, jobs, util, tools File "/opt/local/galaxy-dist/lib/galaxy/jobs/__init__.py", line 4, in ? from galaxy import util, model File "/opt/local/galaxy-dist/lib/galaxy/model/__init__.py", line 13, in ? import galaxy.datatypes.registry File "/opt/local/galaxy-dist/lib/galaxy/datatypes/registry.py", line 146 finally: ^ SyntaxError: invalid syntax [dansully@pegasus tmp]$ Is this somthing that somebody could possibly commment on? Should I just try to install a more recent version of python? Thank-you so much for your help and guidance. Dan Sullivan
On Apr 10, 2012, at 2:42 PM, Daniel Patrick Sullivan wrote:
Is this somthing that somebody could possibly commment on? Should I just try to install a more recent version of python? Thank-you so much for your help and guidance.
Hi Dan, This past October we did officially deprecate python2.4, and this particular error aside you may run into further issues trying to run galaxy under 2.4. If you're able to install a newer version of python, I would recommend doing so. Prior to python2.5, you could not have 'finally' and 'except' clauses in the same 'try' statement, and that's the issue you're seeing here. -Dannon
participants (2)
-
Daniel Patrick Sullivan
-
Dannon Baker