Project

General

Profile

Bug #23455

"not implemented" exception

Added by Gennadiy Lukhanin 24 days ago. Updated 16 days ago.

Status:
Reviewed
Priority:
Normal
Category:
artdaq-database
Target version:
-
Start date:
10/21/2019
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

artdaq_database throws a "not implemented" exception while running artdaq_demo.

/home/ron/work/artdaqPrj/demo0-database
ron@mu2edaq13 :^) srcs/artdaq_demo/tools/configure_artdaq_database.sh --setup-script=$PWD/setupARTDAQDEMO
Info: Running configure_artdaq_database()
setup artdaq_database v1_04_77 -q e15:s67:prof
DAQINTERFACE_FHICL_DIRECTORY=/home/ron/work/artdaqPrj/demo0-database/artdaq-utilities-daqinterface/simple_test_config
Info: Configuring artdaq_database v1_04_77 with qualifiers e15:s67:prof in /home/ron/work/artdaqPrj/demo0-database/database.
Info: Running load_configs()
Info: ARTDAQ_DATABASE_URI=filesystemdb:///home/ron/work/artdaqPrj/demo0-database/database/online_config_db
Info: Importing ascii_simulator_example
Info: Importing circular_buffer_mode_example
Info: Importing circular_buffer_mode_withRM
Info: Importing config_includes
Info: Importing demo
Info: Importing demo_largesystem
Info: Importing dune_sample_system
Info: Importing eventbuilder_diskwriting
Info: Importing file_closing_example
Info: Importing mediumsystem_with_routing_master
Info: Importing multiple_art_processes_example
Info: Importing multiple_dataloggers
Info: Importing pdune_swtrig
Info: Importing pdune_swtrig_noRM
Info: Importing request_based_dataflow_example
Info: Importing routing_master_example
Info: Importing simple_subsystems
cp: cannot stat '/home/ron/work/artdaqPrj/demo0-database/artdaq-utilities-daqinterface/simple_test_config/subconfigs/*.fcl': No such file or directory
Info: Importing subconfigs
Info: Importing subrun_example
Info: Available run configurations:
simple_subsystems00001
subconfigs00001
subrun_example00001
multiple_dataloggers00001
pdune_swtrig00001
pdune_swtrig_noRM00001
request_based_dataflow_example00001
routing_master_example00001
eventbuilder_diskwriting00001
file_closing_example00001
mediumsystem_with_routing_master00001
multiple_art_processes_example00001
demo00001
demo_largesystem00001
dune_sample_system00001
circular_buffer_mode_example00001
circular_buffer_mode_withRM00001
config_includes00001
ascii_simulator_example00001
Info: Finished load_configs()
Info: No instances of DAQInterface are up.
Info: artdaq_database is alreday enabled.
--2019-10-20_18:46:20--

I had to edit/fix DAQInterface/user_sourcefile_example, so I can:

/home/ron/work/artdaqPrj/demo0-database
ron@mu2edaq13 :^) . DAQInterface/user_sourcefile_example
Put code here which sets up the database environment
--2019-10-20_19:20:39--
/home/ron/work/artdaqPrj/demo0-database
ron@mu2edaq13 :^) conftool.py getListOfAvailableRunConfigurations
simple_subsystems00001
subconfigs00001
subrun_example00001
multiple_dataloggers00001
pdune_swtrig00001
pdune_swtrig_noRM00001
request_based_dataflow_example00001
routing_master_example00001
eventbuilder_diskwriting00001
file_closing_example00001
mediumsystem_with_routing_master00001
multiple_art_processes_example00001
demo00001
demo_largesystem00001
dune_sample_system00001
circular_buffer_mode_example00001
circular_buffer_mode_withRM00001
config_includes00001
ascii_simulator_example00001
--2019-10-20_19:21:03--

When I "./run_demo.sh --no_om --config demo00001" I'm seeing:

...
Sun Oct 20 18:58:36 CDT 2019: BOOT transition complete

Sun Oct 20 18:58:40 CDT 2019: CONFIG transition underway
Config name: demo00001

Obtaining FHiCL documents...Errorrocess exitedStack trace [30 frames] @ __cxa_throw():
  30 libc.so.6(clone+0x6d) [0x7fd0cf83b34d]
  29 libpthread.so.0(+0x7e25) [0x7fd0d0216e25]
  28 libpython2.7.so.1.0(+0x1514f2) [0x7fd0d057c4f2]
  27 libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47) [0x7fd0d0530837]
  26 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  25 libpython2.7.so.1.0(+0x62aad) [0x7fd0d048daad]
  24 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  23 libpython2.7.so.1.0(+0x85dc0) [0x7fd0d04b0dc0]
  22 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  21 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  20 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  19 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3597) [0x7fd0d05343c7]
  18 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  17 libpython2.7.so.1.0(+0x85e95) [0x7fd0d04b0e95]
  16 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  15 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  14 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
  13 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  12 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  11 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
  10 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
   9 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
   8 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
   7 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f79) [0x7fd0d0537da9]
   6 _conftoolp.so(+0x115f2) [0x7fd0c360e5f2]
   5 _conftoolp.so(search_collection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1d) [0x7fd0c3611dcd]
   4 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::json::search_collection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x233)
[0x7fd0c30577e3]
   3 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::detail::search_collection(artdaq::database::configuration::ManageDocumentOperation const&, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)+0x65d) [0x7fd0c3096e2d]
   2 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::filesystem::searchCollection(artdaq::database::configuration::ManageDocumentOperation const&,
artdaq::database::docrecord::JSONDocument const&)+0xdb) [0x7fd0c30a0e0b]
   1 libartdaq-database_SharedCommon.so(__cxa_throw+0x27) [0x7fd0c0d5c907]

Error: Dynamic exception type: artdaq::database::runtime_error
std::exception::what: ---- findVersionAliases BEGIN
   findVersionAliases: is not implemented
---- findVersionAliases END

Errorrocess exitedStack trace [30 frames] @ __cxa_throw():
  30 libc.so.6(clone+0x6d) [0x7fd0cf83b34d]
  29 libpthread.so.0(+0x7e25) [0x7fd0d0216e25]
  28 libpython2.7.so.1.0(+0x1514f2) [0x7fd0d057c4f2]
  27 libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47) [0x7fd0d0530837]
  26 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  25 libpython2.7.so.1.0(+0x62aad) [0x7fd0d048daad]
  24 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  23 libpython2.7.so.1.0(+0x85dc0) [0x7fd0d04b0dc0]
  22 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  21 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  20 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  19 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3597) [0x7fd0d05343c7]
  18 libpython2.7.so.1.0(PyObject_Call+0x43) [0x7fd0d047ef73]
  17 libpython2.7.so.1.0(+0x85e95) [0x7fd0d04b0e95]
  16 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  15 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  14 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
  13 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
  12 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a57) [0x7fd0d0537887]
  11 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
  10 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
   9 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x693c) [0x7fd0d053776c]
   8 libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d) [0x7fd0d053a5ed]
   7 libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f79) [0x7fd0d0537da9]
   6 _conftoolp.so(+0x115f2) [0x7fd0c360e5f2]
   5 _conftoolp.so(search_collection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1d) [0x7fd0c3611dcd]
   4 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::json::search_collection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x233)
[0x7fd0c30577e3]
   3 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::detail::search_collection(artdaq::database::configuration::ManageDocumentOperation const&, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)+0x65d) [0x7fd0c3096e2d]
   2 libartdaq-database_ConfigurationDB.so(artdaq::database::configuration::filesystem::searchCollection(artdaq::database::configuration::ManageDocumentOperation const&,
artdaq::database::docrecord::JSONDocument const&)+0xdb) [0x7fd0c30a0e0b]
   1 libartdaq-database_SharedCommon.so(__cxa_throw+0x27) [0x7fd0c0d5c907]

Error: Dynamic exception type: artdaq::database::runtime_error
std::exception::what: ---- findVersionAliases BEGIN
   findVersionAliases: is not implemented
---- findVersionAliases END

Traceback (most recent call last):
   File "/home/ron/work/artdaqPrj/demo0-database/artdaq-utilities-daqinterface/rc/control/daqinterface.py", line 1779, in do_config
     tmpdir_for_fhicl, self.fhicl_file_path = self.get_config_info()
   File "/home/ron/work/artdaqPrj/demo0-database/artdaq-utilities-daqinterface/rc/control/config_functions_database_v2.py", line 76, in get_config_info_base
     if subconfig in getListOfMaskedRunConfigurations():
   File "/home/ron/work/artdaqPrj/demo0-database/products/artdaq_database/v1_04_77/slf7.x86_64.e15.s67.prof/python/../bin/conftool.py", line 373, in getListOfMaskedRunConfigurations
     return [c for c in mask if last[c] == mask[c]]
TypeError: 'NoneType' object is not iterable

History

#1 Updated by Gennadiy Lukhanin 24 days ago

  • % Done changed from 0 to 90

Updated conftool.py so it issues a warning if __getListOfMaskedRunConfigurations is called for the filesystemdb or ucondb backends.

#2 Updated by Gennadiy Lukhanin 17 days ago

  • Status changed from New to Resolved

#3 Updated by Gennadiy Lukhanin 17 days ago

  • % Done changed from 90 to 100

#4 Updated by Ron Rechenmacher 16 days ago

  • Status changed from Resolved to Reviewed

I was able to run the demo.



Also available in: Atom PDF