Project

General

Profile

Bug #20433

When I accidentally try to import a configuration from a subdirectory, I get an extra schema.fcl file in that subdirectory

Added by Kurt Biery over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
07/24/2018
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

And, if I don't realize that this extra schema.fcl file is created and delete it, when I successfully import the configuration and try to export it, I get an error on the export.

Traceback (most recent call last):
File "/nfs/sw/artdaq/products/artdaq_database/v1_04_54/slf7.x86_64.e14.s50.prof/bin/conftool.py", line 610, in <module>
result = thefunc(*sys.argv[2:len(args0) + 2]) if args else thefunc()
File "/nfs/sw/artdaq/products/artdaq_database/v1_04_54/slf7.x86_64.e14.s50.prof/bin/conftool.py", line 393, in exportConfiguration
return __exportConfiguration(config)
File "/nfs/sw/artdaq/products/artdaq_database/v1_04_54/slf7.x86_64.e14.s50.prof/bin/conftool.py", line 327, in __exportConfiguration
path = cfg[collection] if cfg[collection] in include_dirs else __get_prefix(config)
IndexError: tuple index out of range



Also available in: Atom PDF