<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Andy<div class=""><br class=""></div><div class="">thanks a lot for your reply, and happy new year :)</div><div class=""><br class=""></div><div class="">I tried with your suggestion, this is what happens:</div><div class="">------------</div><div class=""><div class="">~/jung/cvs/myrivet2/DYjets/files-Jindrich/test> export PYTHONPATH=$PYTHONPATH:/sw/lib/root</div><div class="">~/jung/cvs/myrivet2/DYjets/files-Jindrich/test> echo $PYTHONPATH</div><div class="">/Users/jung/jung/cvs/rivet-2.6.0/lib/python2.7/site-packages:/Users/jung/jung/cvs/rivet-2.6.0/lib/python2.7/site-packages::/sw/lib/root</div><div class="">~/jung/cvs/myrivet2/DYjets/files-Jindrich/test> yoda2root Pythia.root</div><div class="">Fatal Python error: PyThreadState_Get: no current thread</div><div class="">zsh: abort      yoda2root Pythia.root</div></div><div class="">------------</div><div class=""><br class=""></div><div class="">Hm.... I didn't had it working before ... so it was my first test :)</div><div class=""><br class=""></div><div class="">Thanks a lot</div><div class="">cheers</div><div class="">Hannes</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 9. Jan 2018, at 15:54, Andy Buckley <<a href="mailto:andy.buckley@cern.ch" class="">andy.buckley@cern.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi Hannes,<div class=""><div class=""><br class=""></div><div class="">So the configuration seems to have detected your ROOT installation and been happy with it. The problem is at runtime: did you have this working before?</div><div class=""><br class=""></div><div class="">ROOT's Python interface is not installed into the Python search path for some reason, so all (?) users need to add the ROOT library directory to their PYTHONPATH. I think if you do that then it should work ok.</div><div class=""><br class=""></div><div class="">I tested with ROOT6, and there have been some Python API changes between those versions, but I think we've managed to handle both... and your build log suggests that there wasn't a compilation problem, so hopefully everything will be fine once the path is set to point at ROOT.</div><div class=""><br class=""></div><div class="">Andy</div><br class=""><signature class=""><div class=""><table cellpadding="0" cellspacing="0" class=""><tbody class=""><tr class=""><td colspan="2" class=""><div style="padding-bottom:15px;" class=""><div class=""><strong class="">Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div class="">Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr class=""><td style="vertical-align:top;" class=""></td><td class=""><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;" class=""><div class=""><div class=""></div><div class=""></div></div></div></td></tr></tbody></table></div></signature></div>
          <div class="gmail_quote nylas-quote nylas-quote-id-38369B39-EC43-44AA-8938-307AC9625C7F@desy.de">
            <br class="">
            On Dec 30 2017, at 5:51 pm, Hannes Jung <<a href="mailto:hannes.jung@desy.de" class="">hannes.jung@desy.de</a>> wrote:
            <br class="">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
              <span class=""></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="padding-bottom: 20px;" class=""></div><div class=""><meta content="text/html charset=us-ascii" class="">Dear experts<div class=""><br class=""></div><div class="">I am trying to use yoda2root with the latest version 2.6.0</div><div class="">and get the following error:</div><div class="">----------------</div><div class=""><div class="">~/jung/cvs/myrivet2/DYjets/files-Jindrich> yoda2root Pythia.yoda</div><div class="">Traceback (most recent call last):</div><div class="">  File "/Users/jung/jung/cvs/rivet-2.6.0/bin/yoda2root", line 26, in <module></div><div class="">    import ROOT</div><div class="">ImportError: No module named ROOT</div><div class="">----------------</div><div class=""><br class=""></div><div class="">I didn't see any error in the installation, below is a part from the configure</div><div class=""><br class=""></div><div class="">Any idea, what goes wrong ?</div><div class=""><div class="">Thanks a lot, and best wishes for 2018</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Hannes</div><div class=""><br class=""></div></div><div class="">PS:</div><div class="">Part from the configuration of yoda:</div><div class="">------------------</div><div class=""><div style="margin: 0px; line-height: normal;" class="">checking how to hardcode library paths into programs... immediate</div><div style="margin: 0px; line-height: normal;" class="">checking if the g++ -std=c++11 compiler accepts the -pedantic flag... yes</div><div style="margin: 0px; line-height: normal;" class="">checking if the g++ -std=c++11 compiler accepts the -Wall flag... yes</div><div style="margin: 0px; line-height: normal;" class="">checking if zlib is wanted... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for inflateEnd in -lz... yes</div><div style="margin: 0px; line-height: normal;" class="">checking zlib.h usability... yes</div><div style="margin: 0px; line-height: normal;" class="">checking zlib.h presence... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for zlib.h... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for root-config... /Users/jung/bin/root-config</div><div style="margin: 0px; line-height: normal;" class="">checking ROOT version... 5.34/34 (5,34,34)</div><div style="margin: 0px; line-height: normal;" class="">configure: Building extra ROOT compatibility tools</div><div style="margin: 0px; line-height: normal;" class="">checking for python... /usr/bin/python</div><div style="margin: 0px; line-height: normal;" class="">checking for a version of Python >= '2.1.0'... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for a version of Python >= '2.7.3'... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for the distutils Python package... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for Python include path... -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7</div><div style="margin: 0px; line-height: normal;" class="">checking for Python library path... -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7</div><div style="margin: 0px; line-height: normal;" class="">checking for Python site-packages path... /Library/Python/2.7/site-packages</div><div style="margin: 0px; line-height: normal;" class="">checking python extra libraries...</div><div style="margin: 0px; line-height: normal;" class="">checking python extra linking flags...</div><div style="margin: 0px; line-height: normal;" class="">checking consistency of all components of python development environment... yes</div><div style="margin: 0px; line-height: normal;" class="">checking for python version... 2.7</div><div style="margin: 0px; line-height: normal;" class="">checking for python platform... darwin</div><div style="margin: 0px; line-height: normal;" class="">checking for python script directory... ${prefix}/lib/python2.7/site-packages</div><div style="margin: 0px; line-height: normal;" class="">checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages</div><div style="margin: 0px; line-height: normal;" class="">checking for Cython >= 0.23.5... no</div><div style="margin: 0px; line-height: normal;" class="">checking for pyext/yoda/core.cpp... yes</div><div style="margin: 0px; line-height: normal;" class="">checking if the g++ -std=c++11 compiler accepts the -Wno-unused-but-set-variable flag... no</div><div style="margin: 0px; line-height: normal;" class="">checking if the g++ -std=c++11 compiler accepts the -Wno-sign-compare flag... yes</div><div style="margin: 0px; line-height: normal;" class="">checking if the g++ -std=c++11 compiler accepts the -Wno-strict-prototypes flag... yes</div><div style="margin: 0px; line-height: normal;" class="">configure: All Python build checks successful: 'yoda' Python extension will be built</div><div style="margin: 0px; line-height: normal;" class="">checking for doxygen... /sw/bin/doxygen</div><div style="margin: 0px; line-height: normal;" class="">checking that generated files are newer than configure... done</div><div style="margin: 0px; line-height: normal;" class="">configure: creating ./config.status</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating Doxyfile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating include/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating include/YODA/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating src/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating src/tinyxml/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating src/yamlcpp/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating tests/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating pyext/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating pyext/setup.py</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating pyext/yoda/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating bin/Makefile</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating bin/yoda-config</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating yodaenv.sh</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating yoda.pc</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating include/YODA/Config/DummyConfig.h</div><div style="margin: 0px; line-height: normal;" class="">config.status: include/YODA/Config/DummyConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating include/YODA/Config/YodaConfig.h</div><div style="margin: 0px; line-height: normal;" class="">config.status: include/YODA/Config/YodaConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;" class="">config.status: creating include/YODA/Config/BuildConfig.h</div><div style="margin: 0px; line-height: normal;" class="">config.status: include/YODA/Config/BuildConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;" class="">config.status: executing depfiles commands</div><div style="margin: 0px; line-height: normal;" class="">config.status: executing libtool commands</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">************************************************************</div><div style="margin: 0px; line-height: normal;" class="">YODA CONFIGURED!</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Now build and install (to the /Users/jung/jung/cvs/rivet-2.6.0 tree) with e.g.</div><div style="margin: 0px; line-height: normal;" class="">make -j2 && make -j2 install</div><div style="margin: 0px; line-height: normal;" class="">************************************************************</div></div><div class="">------------------</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<span style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px;" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span style="font-size: 12px; " class="">***********************************************************************</span></div></div></span></div><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span style="font-size: 12px; " class=""><div class="">Hannes Jung </div><div class="">Email: <a href="mailto:Hannes.Jung@desy.de" class="">Hannes.Jung@desy.de</a> </div><div class="">mobile :+49 40 8998 93741</div><div class=""><a href="http://www.desy.de/~jung" class="">http://www.desy.de/~jung</a>                                        </div><div class="">Tel: +49 (0) 40 8998 3741         </div><div class="">Fax: +49 (0) 40 8994 3741</div></span></div></div></span><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span style="font-size: 12px; " class=""><div class="">DESY, CMS 01B/02.213</div><div class="">Notkestr.85, 22603 Hamburg, FRG   </div><div class="">***********************************************************************</div><br class=""></span></div></div></span><br class=""></div></span><br class=""></div></div></span></span><br class="">
</div>

<br class=""></div>_______________________________________________
<br class="">Rivet mailing list
<br class=""><a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a>
<br class=""><a href="https://www.hepforge.org/lists/listinfo/rivet" class="">https://www.hepforge.org/lists/listinfo/rivet</a><br class=""></div></div>
            </blockquote>
          </div></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span class="Apple-style-span" style="font-size: 12px; ">***********************************************************************</span></div></div></span></div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span class="Apple-style-span" style="font-size: 12px; "><div class="">Hannes Jung </div><div class="">Email: <a href="mailto:Hannes.Jung@desy.de" class="">Hannes.Jung@desy.de</a> </div><div class="">mobile :+49 40 8998 93741</div><div class=""><a href="http://www.desy.de/~jung" class="">http://www.desy.de/~jung</a>                                        </div><div class="">Tel: +49 (0) 40 8998 3741         </div><div class="">Fax: +49 (0) 40 8994 3741</div></span></div></div></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span class="Apple-style-span" style="font-size: 12px; "><div class="">DESY, CMS 01B/02.213</div><div class="">Notkestr.85, 22603 Hamburg, FRG   </div><div class="">***********************************************************************</div><br class="Apple-interchange-newline"></span></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></div></span></span><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>