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 << ", "
74 BufferedReaderWriterCannotOpenFile,
80 datahandlinglibs::ConfigurationError,
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,
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,
137 NoImplementationAvailableError,
138 datahandlinglibs::ConfigurationError,
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,
150 datahandlinglibs::DataRecorderConfigurationError,
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))
160ERS_DECLARE_ISSUE(datahandlinglibs, ConfigurationNote, "ConfigurationNote: " << text, ((
std::
string)name)((
std::
string)text))
163 ConfigurationProblem,
164 "SourceID[" <<
sourceid << "] Configuration problem: " << text,
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 void check(std::vector< conffwk::ConfigurationChange * > &changes, const InheritanceData &inheritance, const std::set< std::string > &class_names, const OksConfiguration::SMap &objects, const std::string &obj_class, const std::string &obj_id, const char action)
static volatile sig_atomic_t run
#define ERS_DECLARE_ISSUE( namespace_name, class_name, message_, attributes)
#define ERS_DECLARE_ISSUE_BASE( namespace_name, class_name, base_class_name, message_, base_attributes, attributes)
Unsupported std::string uri Execution of command failed
SourceID[" << sourceid << "] Command daqdataformats::SourceID InitializationError
FELIX Initialization std::string initerror FELIX queue timed out
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror Configuration std::string conferror TimeSyncTransmissionFailed
LED calibration failed to initialize
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 Error
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror BufferedReaderWriterConfigurationError
Both frame_count_limit and tp_count_limit were set to(disabled) in the TPCRawDataProcessor config. TPs will not send."
SourceID[" << sourceid << "] Command daqdataformats::SourceID Readout Initialization std::string initerror Configuration std::string conferror GenericConfigurationError
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error