art does not perform config dumping correctly when using a URI as input file
touch empty.fcl lar -c empty.fcl -s root://fndca1.fnal.gov:1094/pnfs/fnal.gov/usr/sbnd/persistent/ContinuousIntegration/reference/standard/gen/nucosmics_gen_test_sbndcode_Reference-201803090902.root --config-out empty.cfgproduces an empty
lar -c empty.fcl -s root://fndca1.fnal.gov:1094/pnfs/fnalgov/usr/sbnd/persistent/ContinuousIntegration/reference/standard/gen/nucosmics_gen_test_sbndcode_Reference-201803090902.root --config-out empty.cfginstead (the
fnal.govin the path became
fnalgov), the configuration dump is non-empty, as it should (but of course the input file is not found).
#2 Updated by Kyle Knoepfel almost 3 years ago
- Status changed from Feedback to Assigned
- Assignee set to Kyle Knoepfel
- Estimated time set to 4.00 h
This bug has been confirmed. A quick fix is possible, but we'd prefer to enact a more robust solution. Is a bug-fix release of art requested at this time?
#4 Updated by Kyle Knoepfel almost 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
The bug was due to accessing a moved-from address. The program-options interactions with the main executable have been improved. Since the configuration persisted to disk has been adjusted, this corresponds to a breaking change and will thus need to go in the next minor version of art. If you would like an art 2.11 series with this fix, please open a feature request.
Implemented with commits: