Dear all,
I have a problem with the cleanup scripts on my local galaxy
instance.
I am using the updated cleanup_datasets.py, as per Nate's
earlier reply here
http://gmod.827538.n3.nabble.com/Problem-running-purge-datasets-sh-cleanup-scripts-td3688016.html#none.
This is the output I get when running cleanup_datasets.py:
~/ngs-bin/galaxy-dist $
scripts/cleanup_datasets/cleanup_datasets.py -d 2 -6 -r
Traceback (most recent call last):
File "scripts/cleanup_datasets/cleanup_datasets.py", line 524,
in <module>
if __name__ == "__main__": main()
File "scripts/cleanup_datasets/cleanup_datasets.py", line 82, in
main
ini_file = args[0]
IndexError: list index out of range
... and this if I call
it via the shell script cleanup_datasets.sh
~/ngs-bin/galaxy-dist $
scripts/cleanup_datasets/delete_datasets.sh
Traceback (most recent call last):
File "./scripts/cleanup_datasets/cleanup_datasets.py", line 524,
in <module>
if __name__ == "__main__": main()
File "./scripts/cleanup_datasets/cleanup_datasets.py", line 101,
in main
app = CleanupDatasetsApplication( config )
File "./scripts/cleanup_datasets/cleanup_datasets.py", line 512,
in __init__
self.model = galaxy.model.mapping.init( config.file_path,
config.database_connection, engine_options={},
create_tables=False, object_store=self.object_store )
File
"/home/klausmetzeler/ngs-bin/galaxy-dist/lib/galaxy/model/mapping.py",
line 1818, in init
load_egg_for_url( url )
File
"/home/klausmetzeler/ngs-bin/galaxy-dist/lib/galaxy/model/mapping.py",
line 1798, in load_egg_for_url
dialect = guess_dialect_for_url( url )
File
"/home/klausmetzeler/ngs-bin/galaxy-dist/lib/galaxy/model/mapping.py",
line 1794, in guess_dialect_for_url
return (url.split(':', 1))[0]
AttributeError: 'bool' object has no attribute 'split'
Any idea what might be
wrong?
Thanks a lot for your support,
Klaus