Hello!

I'm running into an error when trying to download a composite dataset from the history with the floppy disk icon. Here is the error message in the logs:



galaxy.web.controllers.dataset ERROR 2012-01-18 16:32:10,324 Unable to remove temporary library download archive and directory
Traceback (most recent call last):
File "/g/funcgen/galaxy-dev/lib/galaxy/web/controllers/dataset.py", line 285, in archive_composite_dataset
    os.rmdir( tmpd )
OSError: [Errno 39] Directory not empty: './database/tmp/tmpkRv28I'


Then I tried replacing the os.rmdir by a shutil.rmtree to see if it would solve the issue, and here is what I got:


galaxy.web.controllers.dataset ERROR 2012-01-18 16:34:30,239 Unable to remove temporary library download archive and directory
Traceback (most recent call last):
File "/g/funcgen/galaxy-dev/lib/galaxy/web/controllers/dataset.py", line 286, in archive_composite_dataset
    shutil.rmtree( tmpd )
File "/g/steinmetz/collaboration/software/CentOS5/opt/Python-2.6.5/lib/python2.6/shutil.py", line 221, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
File "/g/steinmetz/collaboration/software/CentOS5/opt/Python-2.6.5/lib/python2.6/shutil.py", line 219, in rmtree
    os.remove(fullname)
OSError: [Errno 16] Device or resource busy: './database/tmp/tmpwpsShD/.nfs000000000289ccea00000138'


But when I check the contents of the direcory, there is no hidden .nfs-something file.

Does anyone have an idea why this could occur? Both our testing instance and our production instance have the same issue, the first being on galaxy-central and the second on galaxy-dist.

Thanks,
L-A

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Reply via email to