1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3203caa787c1/ Changeset: 3203caa787c1 User: natefoo Date: 2014-09-17 14:26:48+00:00 Summary: Provide feedback on job failures due to tools removed from the config now that new state jobs are not recovered when tracking in the databsae (3d92d6f). Affected #: 1 file diff -r 0111073204bca68f004c2830eb1a249f17d5741e -r 3203caa787c1af0ec130995cebca7b7a86a06839 lib/galaxy/jobs/handler.py --- a/lib/galaxy/jobs/handler.py +++ b/lib/galaxy/jobs/handler.py @@ -355,8 +355,13 @@ """ job_destination = None try: + assert job_wrapper.tool is not None, 'This tool was disabled before the job completed. Please contact your Galaxy administrator.' # Cause the job_destination to be set and cached by the mapper job_destination = job_wrapper.job_destination + except AssertionError as e: + log.warning( "(%s) Tool '%s' removed from tool config, unable to run job" % ( job.id, job.tool_id ) ) + job_wrapper.fail( e ) + return JOB_ERROR, job_destination except JobNotReadyException as e: job_state = e.job_state or JOB_WAIT return job_state, None Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.