Project

General

Profile

Bug #19305

Configuration validation issue in toyExperiment messagefacility FHiCL files?

Added by Ben Morgan about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/07/2018
Due date:
% Done:

0%

Estimated time:
1.00 h
Duration:

Description

I've been trying out toyExperiment to demo/evaulate Art for an experiment, but have run into what I think is a bug, at least using the current v0_03_15 tag of toyExperiment with Art v2_10_01.

Following the info from the Art workbook and other info, running the initial "HelloWorld" example fails:

$ art -c hello.fcl
Any parameters prefaced with '#' are optional.
Unsupported parameters:

 + statistics                     [ /locallyvalidpath/fcl/messageService.fcl:86 ]
 + statistics.type                [  ]

Art has completed and will exit with status 70.
$

Digging in the relevant files, I think the hierarchy of the tables in messageService.fcl may be wrong. The existing mf_interactive table in source:toy-experiment|toyExperiment/fcl/messageService.fcl#76

# interactive -- intended for developers running a job, sending the output
#                of all normal messages to cout.
mf_interactive : 
{
  destinations : 
  {
    log:      @local::mf_coutInfo  # a destination which will react to 
                                   # messages of ERROR or WARNING or 
                                   # INFO severity, but not DEBUG severity                                      # LogPrint).
                                   # (INFO severity is LogInfo or
                                   # LogVerbatim).
  }
  statistics :  @local::mf_coutInfoStats
}

should, I think, have statistics under the destinations table, and qualified as follows:

# interactive -- intended for developers running a job, sending the output
#                of all normal messages to cout.
mf_interactive : 
{
  destinations : 
  {
    log:      @local::mf_coutInfo  # a destination which will react to 
                                   # messages of ERROR or WARNING or 
                                   # INFO severity, but not DEBUG severity                                      # LogPrint).
                                   # (INFO severity is LogInfo or
                                   # LogVerbatim).
    statistics :  { stats: @local::mf_coutInfoStats }
  }
}

With that patch, everything seems to work correctly. If this is a bug, then it also affects the other tables in source:toy-experiment|toyExperiment/fcl/messageService.fcl , though I haven't gone further yet.

History

#1 Updated by Kyle Knoepfel about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Kyle Knoepfel
  • Estimated time set to 1.00 h

Thank you for catching the error--we will fix it.

#2 Updated by Kyle Knoepfel about 3 years ago

  • Status changed from Assigned to Closed

Fixes implemented with commit 434206e.

Also available in: Atom PDF