You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of examples fail out of the box. All the failures are due to missing data files. For example (copied from #406):
----------------------------------------------------------
### running test : 'geoPluginRun -volmgr -destroy -plugin DD4hep_AlignmentExample_populate -input file:/root/install/examples/AlignDet/compact/Telescope.xml -iovs 10'
PersistencyIO INFO +++ Set Streamer to dd4hep::OpaqueDataBlock
PersistencyIO INFO +++ Patching TGeoVolume.fUserExtension to persistent
Info in <TGeoManager::TGeoManager>: Geometry world, Detector Geometry created
PersistencyIO INFO +++ Patching TGeoNode.fUserExtension to persistent
geoPluginRun: No geometry input supplied. No geometry will be loaded.
DD4hepVolumeManager INFO **** running plugin DD4hepVolumeManager !
VolumeManager INFO - populating volume ids - be patient ...
VolumeManager INFO - populating volume ids - done. 0 nodes.
VolumeManager INFO +++ Volume manager populated and loaded.
XercesC FATAL +++ FATAL Error at file "", Line 0 Column: 0 Message:unable to open primary document entity '/root/install/examples/AlignDet/compact/Telescope.xml'
RunPlugin ERROR ++ Exception while executing plugin DD4hep_AlignmentExample_populate:
Document::root: Invalid handle!
dd4hep: while parsing file:/root/install/examples/AlignDet/compact/Telescope.xml
dd4hep: with plugin:DD4hep_AlignmentExample_populate
geoPluginRun: Got uncaught exception: RunPlugin: ++ Exception while executing plugin DD4hep_AlignmentExample_populate:
Document::root: Invalid handle!
dd4hep: while parsing file:/root/install/examples/AlignDet/compact/Telescope.xml
dd4hep: with plugin:DD4hep_AlignmentExample_populate
<end of output>
Test time = 0.37 sec
----------------------------------------------------------
This particular failure can be fixed by updating the CMakeLists.txt file in exampls/AlignDet by replacing the line:
The rest of the test failures can be fixed with similar modifications. The CMakeLists.txt files in Conditionss and DDDB need to be similarly updated. The CMakeLists.txt in DDDB is slightly different and the one line must be updated to look like:
I do not know the DD4hep cmake code well enough to know if this is a bug in the script copying over, or is the above code changes are the proper ones to fix. But, certainly, after these changes are made to the three files all tests build in the examples directory.
Using Ubuntu, Xenial, and working off the release 1.07 branch.
The text was updated successfully, but these errors were encountered:
A number of examples fail out of the box. All the failures are due to missing data files. For example (copied from #406):
This particular failure can be fixed by updating the CMakeLists.txt file in exampls/AlignDet by replacing the line:
with
The rest of the test failures can be fixed with similar modifications. The CMakeLists.txt files in Conditionss and DDDB need to be similarly updated. The CMakeLists.txt in DDDB is slightly different and the one line must be updated to look like:
I do not know the DD4hep cmake code well enough to know if this is a bug in the script copying over, or is the above code changes are the proper ones to fix. But, certainly, after these changes are made to the three files all tests build in the examples directory.
Using Ubuntu, Xenial, and working off the release 1.07 branch.
The text was updated successfully, but these errors were encountered: