8#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_READOUTISSUES_HPP_
9#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_READOUTISSUES_HPP_
27 "SourceID[" <<
sourceid <<
"] Command Error: " << commanderror,
32 "Readout Initialization Error: " << initerror,
33 ((std::string)initerror))
37 "SourceID[" <<
sourceid <<
"] Readout Configuration Error: " << conferror,
42 "Configuration Error: " << conferror,
43 ((
std::
string)conferror))
46 DataRecorderConfigurationError,
47 "Configuration Error: " << conferror,
48 ((
std::
string)conferror))
52 "Configuration Error: " << conferror,
53 ((
std::
string)conferror))
57 "Binary file contains extra data, " << numbytes
58 <<
" bytes beyond an exact integer number of super-chunks. "
59 <<
"This is not a problem and those bytes will be ignored, "
60 <<
"filesize is " << filesize <<
", "
68 "SourceID " <<
sourceid <<
" failed to send send TimeSync message to " << dest <<
".",
74 BufferedReaderWriterCannotOpenFile,
81 " Couldn't read properly the binary file: " <<
filename <<
" Cause: " << errorstr,
83 ((
std::
string)errorstr))
88 PostprocessingNotKeepingUp,
89 "SourceID[" <<
sourceid <<
"] Postprocessing has too much backlog, thread: " << i,
94 "SourceID[" <<
sourceid <<
"] Source Buffer is empty, check file: " <<
filename,
99 "SourceID[" <<
sourceid <<
"] Failed attempt to read from the queue: " << queuename,
104 "SourceID[" <<
sourceid <<
"] Failed attempt to write to the queue: " << queuename
105 <<
". Data will be lost!",
110 "Module [" << name <<
"] Failed attempt to write to the queue: "
111 <<
". Data will be lost!",
115 RequestSourceIDMismatch,
116 "SourceID[" <<
sourceid <<
"] Got request for SourceID: " << request_sourceid,
120 RequestOnEmptyBuffer,
121 "SourceID[" <<
sourceid <<
"] Request on empty buffer: " << trmdetails,
125 FailedReadoutInitialization,
127 " Couldnt initialize Readout with current Init arguments " << initparams <<
' ',
129 ((
std::
string)initparams))
132 FailedFakeCardInitialization,
133 "Could not initialize fake card " << name,
137 NoImplementationAvailableError,
139 " No " << impl <<
" implementation available for raw type: " << rawt <<
' ',
145 " The " << queueType <<
" queue was not successfully created for " << moduleName,
146 ((
std::
string)queueType)((
std::
string)moduleName))
149 DataRecorderModuleResourceQueueError,
151 " The " << queueType <<
" queue was not successfully created. ",
153 ((
std::
string)queueType))
156 GenericResourceQueueError,
157 "The " << queueType <<
" queue was not successfully created for " << moduleName,
158 ((
std::
string)queueType)((
std::
string)moduleName))
163 ConfigurationProblem,
164 "SourceID[" <<
sourceid <<
"] Configuration problem: " << text,
169 "SourceID[" <<
sourceid <<
"] Request timed out",
173 VerboseRequestTimedOut,
174 "SourceID[" <<
sourceid <<
"] Request timed out for trig/seq_num " << trignum <<
"." << seqnum
175 <<
", run_num " << runnum <<
", window begin/end " << window_begin <<
"/" << window_end
176 <<
", data_destination: " << dest,
180 EndOfRunEmptyFragment,
181 "SourceID[" <<
sourceid <<
"] Empty fragment at the end of the run",
185 DataPacketArrivedTooLate,
186 "SourceID[" <<
sourceid <<
"] Received a late data packet in run " <<
run <<
", payload first timestamp = " << ts1 <<
187 ", request_handler cutoff timestamp = " << ts2 <<
", difference = " << tick_diff <<
188 " ticks, " << msec_diff <<
" msec.",
192 NonZeroLatencyBufferInsertFailures,
193 "SourceID[" <<
sourceid <<
"] There were " << fail_count <<
" failures to insert data into the latency buffer out of " <<
194 total_count <<
" attempts in the latest monitoring interval.",
199 ers_metadata <<
"New error registered with \"" << error_name <<
"\"",
200 ((
std::
string)ers_metadata) ((
std::
string)error_name))
204 ers_metadata <<
"Cleared error of \"" << error_name <<
"\"",
205 ((
std::
string)ers_metadata) ((
std::
string)error_name))
static volatile sig_atomic_t run
#define ERS_DECLARE_ISSUE( namespace_name, class_name, message_, attributes)
ERS_DECLARE_ISSUE_BASE(timinglibs, ProgressUpdate, appfwk::GeneralDAQModuleIssue, message,((std::string) name),((std::string) message)) ERS_DECLARE_ISSUE_BASE(timinglibs
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror Configuration std::string conferror TimeSyncTransmissionFailed
Cannot add TPSet with sourceid
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk int chunksize((size_t) expected)) ERS_DECLARE_ISSUE(flxlibs
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror BufferedReaderWriterConfigurationError
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror GenericConfigurationError
ERS_DECLARE_ISSUE(cmdlib, MalformedUri, "Malformed uri: "<< error<< " uri:"<< uri,((std::string) error)((std::string) uri)) ERS_DECLARE_ISSUE(cmdlib
cmdlib specific issues
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error