Details
-
Type:
Bug
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_tasks
-
Labels:None
-
Team:Data Release Production
Description
When running ingestImages.py using symbolic links you get a failure if the links already exist. As it's quite common to want to re-ingest files, this shouldn't fail (or an option such as --force should be provided).
The traceback is
Traceback (most recent call last):
|
File "/Users/lsst/products/DarwinX86/anaconda/4.0.0/envs/lsst/opt/lsst/pipe_tasks/bin/ingestImages.py", line 3, in <module>
|
IngestTask.parseAndRun()
|
File "/Users/lsst/products/DarwinX86/anaconda/4.0.0/envs/lsst/opt/lsst/pipe_tasks/python/lsst/pipe/tasks/ingest.py", line 366, in parseAndRun
|
task.run(args)
|
File "/Users/lsst/products/DarwinX86/anaconda/4.0.0/envs/lsst/opt/lsst/pipe_tasks/python/lsst/pipe/tasks/ingest.py", line 459, in run
|
ingested = self.ingest(infile, outfile, mode=args.mode, dryrun=args.dryrun)
|
File "/Users/lsst/products/DarwinX86/anaconda/4.0.0/envs/lsst/opt/lsst/pipe_tasks/python/lsst/pipe/tasks/ingest.py", line 397, in ingest
|
os.symlink(os.path.abspath(infile), outfile)
|
OSError: [Errno 17] File exists
|
Attachments
Issue Links
- mentioned in
-
Page Loading...
There are several config options that allow you to do what you want: