Bug #23168
exception thrown when attempting to save the run record
100%
Description
head of develop
Fri Aug 23 21:08:23 CDT 2019: CONFIG transition underway
Config name: demo
Obtaining FHiCL documents...done (0.0 seconds).
Bookkeeping the FHiCL documents...done (0.1 seconds).
Reformatting the FHiCL documents...done (0.4 seconds).
Saving the run record...Traceback (most recent call last):
File "/home/ron/work/artdaqPrj/demo0-v3_06_00/artdaq-utilities-daqinterface/rc/control/daqinterface.py", line 1910, in do_config
self.save_run_record()
File "/home/ron/work/artdaqPrj/demo0-v3_06_00/artdaq-utilities-daqinterface/rc/control/save_run_record.py", line 160, in save_run_record_base
self.fill_package_versions( [ string.replace(pkg, "-", "_") for pkg in packages_whose_versions_we_need ] )
File "/home/ron/work/artdaqPrj/demo0-v3_06_00/artdaq-utilities-daqinterface/rc/control/daqinterface.py", line 1117, in fill_package_versions
(package, version) = line.split()
ValueError: need more than 0 values to unpack
WARNING: an exception was thrown when attempting to save the run record.
While datataking may be able to proceed, this may also indicate a serious
problem
done (4.0 seconds).
component02 at localhost:14100, returned string is:
Success
component01 at localhost:14101, returned string is:
Success
EventBuilder1 at localhost:14102, returned string is:
Success
EventBuilder2 at localhost:14103, returned string is:
Success
DataLogger1 at localhost:14104, returned string is:
Success
Dispatcher1 at localhost:14105, returned string is:
Success
Ensuring FHiCL documents will be archived in the output *.root files...done (0.0 seconds).
Process manager logfiles (if applicable):
Fri Aug 23 21:08:28 CDT 2019: CONFIG transition complete
This causes problems when trying to use the database. The file "ranks.txt" is missing.
Associated revisions
History
#1 Updated by Ron Rechenmacher over 1 year ago
It appears that fill_package_versions has a problem when called with [] packages.
#2 Updated by John Freeman over 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Resolved
DAQInterface was creating a malformed regex when it wasn't asked to save any package versions via the "package_hashes_to_save" variable in $DAQINTERFACE_SETTINGS; this has been fixed at the head of feature/issue23168_support_not_saving_package_info (commit 63cab5db50293dc25f7fd433cf656a558857c31b)
#3 Updated by John Freeman over 1 year ago
- Status changed from Resolved to Reviewed
Reviewed by Ron, success.
JCF: simple check s.t. if no packages have been requested to have their versions saved in the run record, a malformed regex isn't created. Resolves Issue #23168