Just an additional problem. I retried running the scripts, and I got this error when I was doing the purging:
Removing disk, file Error attempting to purge data file:
Traceback (most recent call last):
File "scripts/cleanup_datasets/cleanup_datasets.py", line 518, in <module>
if __name__ == "__main__": main()
File "scripts/cleanup_datasets/cleanup_datasets.py", line 116, in main
purge_datasets( app, cutoff_time, options.remove_from_disk, info_only = options.info_only, force_retry = options.force_retry )
File "scripts/cleanup_datasets/cleanup_datasets.py", line 353, in purge_datasets
_purge_dataset( app, dataset, remove_from_disk, info_only = info_only )
File "scripts/cleanup_datasets/cleanup_datasets.py", line 478, in _purge_dataset
print "Error attempting to purge data file: ", dataset.file_name, " error: ", str( exc )
File "/home/applications/galaxy-dist/lib/galaxy/model/__init__.py", line 651, in get_file_name
assert self.object_store is not None, "Object Store has not been initialized for dataset %s" %
self.id
AssertionError: Object Store has not been initialized for dataset 1
Can you please enlighten me on this error? I am just new to Galaxy and Python, so I'm quite at a loss here.
Thanks in advance for any help!
On Fri, Apr 20, 2012 at 10:24 AM, Ciara Ledero
<lederoc@gmail.com> wrote:
Dear all,
I was able to execute the cleanup scripts in galaxy, using the -r option with them. According to what I've read, that option removes the datasets from the disk. But why didn't that happen? Also, since I have 'deleted and purged' the files, can I now remove them manually from the server?
Cheers,
CLedero