Question: setting metadata externally failed for HistoryDatasetAssociation
0
gravatar for Anthony
2.5 years ago by
Anthony10
Anthony10 wrote:

Jobs that I run on a local Galaxy install on a Fedora 23 machine are completing but are erroring with the message below. Any idea why the metadata can not be written?

Thanks

galaxy.jobs.runners.local DEBUG 2016-06-03 17:30:02,044 execution finished: /home/anthony.underwood/galaxy/database/jobs_directory/000/142/galaxy_142.sh
    galaxy.model.metadata DEBUG 2016-06-03 17:30:02,158 setting metadata externally failed for HistoryDatasetAssociation 158: [Errno 2] No such file or directory
    galaxy.jobs.runners.local ERROR 2016-06-03 17:30:02,235 Job wrapper finish method failed
    Traceback (most recent call last):
      File "/home/anthony.underwood/galaxy/lib/galaxy/jobs/runners/local.py", line 128, in queue_job
        job_wrapper.finish( stdout, stderr, exit_code )
      File "/home/anthony.underwood/galaxy/lib/galaxy/jobs/__init__.py", line 1257, in finish
        dataset.datatype.set_meta( dataset, overwrite=False )
      File "/home/anthony.underwood/galaxy/lib/galaxy/datatypes/binary.py", line 339, in set_meta
        exit_code = subprocess.call( args=command, stderr=open( stderr_name, 'wb' ) )
      File "/usr/lib64/python2.7/subprocess.py", line 522, in call
        return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
        errread, errwrite)
      File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
software error • 750 views
ADD COMMENTlink written 2.5 years ago by Anthony10

What release version of Galaxy are you running? And what changes have you made beyond the basic install (items under "Advanced Configuration" for production servers)?

This info will help with technical troubleshooting.

Thanks, Jen, Galaxy team

ADD REPLYlink written 2.5 years ago by Jennifer Hillman Jackson25k
1
gravatar for Anthony
2.5 years ago by
Anthony10
Anthony10 wrote:

This was weirdly due to samtools not being in the PATH. Apparently Galaxy needs samtools to register the metadata of a bam file

ADD COMMENTlink written 2.5 years ago by Anthony10

This is correct. Samtools (and Picard) should be the first tools installed on any new instance.

Our team had discussed documenting this to be clearer. I'll follow up on that.

Thanks for writing back and letting us know how this worked out. Jen, Galaxy team

ADD REPLYlink written 2.5 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 181 users visited in the last hour