Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8066

problems creating dictionaries in pyROOT

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.04/14
    • 6.08/00, 6.06/04, 6.04/18
    • PyROOT
    • None
    • on lxplus with ATLASLocalRootBase

    Description

      usage of: ROOT.gROOT.ProcessLine(".L loadVector.C+") in pyRoot

      // loadVector.C
      #include "TLorentzVector.h"
      #include <vector>
      #ifdef __MAKECINT__
      #pragma link C++ class vector<TLorentzVector>+;
      #endif

      crashes with:

      Info in <TUnixSystem::ACLiC>: creating shared library /afs/cern.ch/user/v/vmagerl/ZeroLeptonTestArea/./loadVector_C.so
      Traceback (most recent call last):
        File "./createNewTrees.py", line 60, in <module>
          jetInfo = ROOT.std.vector(ROOT.TLorentzVector())
        File "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.14-x86_64-slc6-gcc49-opt/lib/cppyy.py", line 90, in __call__
          result = _backend.MakeRootTemplateClass( *newargs )
      SystemError: error return without exception set

      Attachments

        Activity

          People

            mato Pere Mato Vila
            vmagerl Veronika Magerl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: