-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python bindings work only with sources present. #106
Comments
The fix there was to have all the files available. |
@andresailer @vvolkl Is this fixed by now? |
Potentially related: #136 |
This still seems to be an issue if one actually tries to use the python bindings from pyLCIO import IOIMPL
reader = IOIMPL.LCFactory.getInstance().createLCReader() fails with the following error In file included from IOIMPL dictionary payload:9:
/cvmfs/sw.hsf.org/spackages/linux-centos7-x86_64/gcc-8.3.0/lcio-2.16.1-nqt55lk5fmwwer334skcjgjcihnbghmr/include/IOIMPL/LCEventLazyImpl.h:6:10: fatal error: 'SIO/SIOHandlerMgr.h' file not found
#include "SIO/SIOHandlerMgr.h"
^~~~~~~~~~~~~~~~~~~~~
Error in <TInterpreter::AutoParse>: Error parsing payload code for class IOIMPL::LCFactory with content:
[...] This only seems to happen with out of source installations (i.e. spack). Installations with iLCSoft do not have this problem, although the |
I have checked that this also happens without spack and it does (if the sources from which LCIO is built are (re)moved). The two headers: Should we try and fix these installation issues in LCIO rather than in the spack recipe for LCIO? |
When building LCIO and removing the sources, all python imports fail with many error messages of the type:
This is a bit reminiscent of AIDASoft/DD4hep#565. @andresailer, maybe your fix works here as well?
The text was updated successfully, but these errors were encountered: