Insufficient diagnostic info for a fhicl error
Using the attached typo.fcl
$ mu2e -c typo.fcl %MSG-i MF_INIT_OK: mu2e 21-May-2015 16:48:40 CDT JobSetup Messagelogger initialization complete. %MSG %MSG-s ArtException: mu2e 21-May-2015 16:48:45 CDT JobSetup cet::exception caught in art ---- Type mismatch BEGIN filter ---- Type mismatch BEGIN invalid sequence ---- Type mismatch END ---- Type mismatch END %MSG Art has completed and will exit with status 8001.
The actual problem is "filter" instead of "filters" in the last line.
The complaint about a sequence is confusing.
#1 Updated by Christopher Green almost 6 years ago
- Category set to Application
- Status changed from New to Accepted
- Target version set to 1.18.00
- Estimated time set to 2.00 h
- SSI Package art added
- SSI Package deleted (
Any parameter in the
physics parameter set that is not either
analyzers is assumed to be a path specification, which must be a sequence. We can certainly trap this error and throw a more useful error message in these circumstances.
#2 Updated by Kyle Knoepfel over 5 years ago
- Status changed from Accepted to Resolved
- Assignee set to Kyle Knoepfel
- % Done changed from 0 to 100
Should a user specify a parameter that is not supported in the
'physics' block of the configuration file, the following exception will now be thrown:
---- Configuration BEGIN You have specified the following unsupported parameters in the "physics" block of your configuration: "physics.filter" (table) Supported parameters include the following tables: "physics.producers" "physics.filters" "physics.analyzers" and sequences. Atomic configuration parameters are not allowed. ---- Configuration END
Implemented with commit art:7c471e2e55fa21ba75fb869a1a8ded7784b7ab4f.