Dear Nathan,

We found that condor was running the job as the "nobody" user, which had no permissions to the files galaxy created in the database/pbs directory. This was fixed by setting


in the condor config file.

Now the job runs, but fails immediately because it cannot find the PATH environment variable. If I run the generated database/pbs/galaxy_<jobID>.sh file manually at the command line, it works fine. Do we need any some environment setting in galaxy/condor?

Traceback (most recent call last):
File "/home/galaxy/galaxy-dist/tools/stats/", line 7, in <module>
    from import validation
File "/home/galaxy/galaxy-dist/lib/galaxy/tools/", line 15, in <module>
    from galaxy import util, jobs, model
File "/home/galaxy/galaxy-dist/lib/galaxy/jobs/", line 4, in <module>
    from galaxy import util, model
File "/home/galaxy/galaxy-dist/lib/galaxy/model/", line 13, in <module>
    import galaxy.datatypes.registry
File "/home/galaxy/galaxy-dist/lib/galaxy/datatypes/", line 6, in <module> import data, tabular, interval, images, sequence, qualityscore, genetics, xml, coverage, tracks, chrominfo, binary, assembly, ngsindex, wsf File "/home/galaxy/galaxy-dist/lib/galaxy/datatypes/", line 7, in <module>
    import metadata
File "/home/galaxy/galaxy-dist/lib/galaxy/datatypes/", line 5, in <module>
    from galaxy.web import form_builder
File "/home/galaxy/galaxy-dist/lib/galaxy/web/", line 5, in <module> from framework import expose, json, json_pretty, require_login, require_admin, url_for, error, form, FormBuilder, expose_api File "/home/galaxy/galaxy-dist/lib/galaxy/web/framework/", line 18, in <module>
    import helpers
File "/home/galaxy/galaxy-dist/lib/galaxy/web/framework/helpers/", line 4, in <module>
    from webhelpers import *
File "/home/galaxy/galaxy-dist/eggs/WebHelpers-0.2-py2.6.egg/webhelpers/", line 1, in <module>
    from webhelpers.rails import *
File "/home/galaxy/galaxy-dist/eggs/WebHelpers-0.2-py2.6.egg/webhelpers/rails/", line 9, in <module>
    from text import *
File "/home/galaxy/galaxy-dist/eggs/WebHelpers-0.2-py2.6.egg/webhelpers/rails/", line 10, in <module>
    import webhelpers.textile as textile
File "/home/galaxy/galaxy-dist/eggs/WebHelpers-0.2-py2.6.egg/webhelpers/", line 241, in <module>
    import tidy
File "/usr/lib/pymodules/python2.6/tidy/", line 43, in <module>
    from tidy.lib import parse, parseString
  File "/usr/lib/pymodules/python2.6/tidy/", line 24, in <module>
os.environ['PATH'] = "%s%s%s" % (packagedir, os.pathsep, os.environ['PATH'])
  File "/usr/lib/python2.6/", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'PATH'

Thank you so much again for your help.


The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

Reply via email to