I was able to run the tutorial script (such as runAsNumpy.py) in the past. But I suddenly got errors when I run it with new installed root 6.18 + python3.
Anyone has this kind of problem before?
➜ pyTDataFrame git:(master) ✗ python3
Python 3.5.0b4 (v3.5.0b4:c0d641054635, Jul 25 2015, 16:26:13)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import ROOT
ROOT.ROOT.EnableImplicitMT(4)
df = ROOT.RDataFrame(10)
… .Define(“x”, “(int)rdfentry_”)
… .Define(“y”, “1.f/(1.f+rdfentry_)”)
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDataFrame
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
IncrementalExecutor::executeFunction: symbol ‘_ZN4ROOT10RDataFrameC1Ey’ unresolved while linking symbol ‘__cf_12’!
You are probably missing the definition of ROOT::RDataFrame::RDataFrame(unsigned long long)
Maybe you need to load the corresponding shared library?
Error in TClingCallFunc::make_wrapper: Failed to compile
==== SOURCE BEGIN ====
#pragma clang diagnostic push
#pragma clang diagnostic ignored “-Wformat-security”
attribute((used)) extern “C” void __cf_12(void* obj, int nargs, void** args, void* ret)
{
if (ret) {
((ROOT::RDataFrame**)ret) = new ROOT::RDataFrame((ULong64_t*)args[0]);
return;
}
else {
new ROOT::RDataFrame((ULong64_t)args[0]);
return;
}
}
#pragma clang diagnostic pop
==== SOURCE END ====
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[] (no debug info)
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] Cppyy::CallConstructor(long, long, void*) /usr/local/Cellar/root/bindings/pyroot/src/Cppyy.cxx:504
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::TConstructorExecutor::Execute(long, void*, PyROOT::TCallContext*) /usr/local/Cellar/root/bindings/pyroot/src/Executors.cxx:0
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::TMethodHolder::CallFast(void*, long, PyROOT::TCallContext*) /usr/local/Cellar/root/bindings/pyroot/src/TMethodHolder.cxx:110
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::TMethodHolder::CallSafe(void*, long, PyROOT::TCallContext*) /usr/local/Cellar/root/bindings/pyroot/src/TMethodHolder.cxx:122
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::TMethodHolder::Execute(void*, long, PyROOT::TCallContext*) /usr/local/Cellar/root/bindings/pyroot/src/TMethodHolder.cxx:0
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::TConstructorHolder::Call(PyROOT::ObjectProxy*&, _object*, _object*, PyROOT::TCallContext*) /usr/local/Cellar/root/bindings/pyroot/src/TConstructorHolder.cxx:65
[/usr/local/Cellar/root6.18/lib/libPyROOT.so] PyROOT::(anonymous namespace)::mp_call(PyROOT::MethodProxy*, _object*, _object*) /usr/local/Cellar/root/bindings/pyroot/src/MethodProxy.cxx:0
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyObject_Call (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] slot_tp_init (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] type_call (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyObject_Call (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyEval_EvalFrameEx (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] _PyEval_EvalCodeWithName (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyEval_EvalCode (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyRun_InteractiveOneObject (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyRun_InteractiveLoopFlags (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] PyRun_AnyFileExFlags (no debug info)
[/Library/Frameworks/Python.framework/Versions/3.5/Python] Py_Main (no debug info)
[] (no debug info)
[] (no debug info)
[] (no debug info)
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
cling::DynamicLibraryManager::loadLibrary(): dlopen(/usr/local/Cellar/root6.18/lib/libROOTDataFrame.so, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/davix/lib/libdavix.0.dylib
Reason: image not found
Error in TInterpreter::TCling::AutoLoad: failure loading library libROOTDataFrame.so for ROOT::RDF
Traceback (most recent call last):
File “”, line 1, in
TypeError: none of the 8 overloaded methods succeeded. Full details:
ROOT::RDataFrame::ROOT::RDataFrame(basic_string_view<char,char_traits > treeName, basic_string_view<char,char_traits > filenameglob, const vector& defaultBranches = {}) =>
takes at least 2 arguments (1 given)
ROOT::RDataFrame::ROOT::RDataFrame(basic_string_view<char,char_traits > treename, const vector& filenames, const vector& defaultBranches = {}) =>
takes at least 2 arguments (1 given)
ROOT::RDataFrame::ROOT::RDataFrame(basic_string_view<char,char_traits > treeName, TDirectory* dirPtr, const vector& defaultBranches = {}) =>
takes at least 2 arguments (1 given)
ROOT::RDataFrame::ROOT::RDataFrame(TTree& tree, const vector& defaultBranches = {}) =>
could not convert argument 1
ROOT::RDataFrame::ROOT::RDataFrame(ULong64_t numEntries) =>
problem in C++; program state has been reset
ROOT::RDataFrame::ROOT::RDataFrame(unique_ptr<ROOT::RDF::RDataSource,default_deleteROOT::RDF::RDataSource >, const vector& defaultBranches = {}) =>
could not convert argument 1
ROOT::RDataFrame::ROOT::RDataFrame(const ROOT::RDataFrame&) =>
could not convert argument 1
ROOT::RDataFrame::ROOT::RDataFrame(ROOT::RDataFrame&&) =>
could not convert argument 1 (this method can not (yet) be called)