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

RuntimeWarning: creating executor for unknown type ...

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.08/06
    • 6.12/00
    • PyROOT
    • None
    • This can be reproduced w/ ROOT 6.08.06 on x86_64-slc6-gcc62-opt under LCG_88 on lxplus.

    Description

      Dear ROOT authors,

      While runningĀ an ATLAS software (in PyROOT) that performs a binary diff of ROOT files, we noticed warnings similar to:

      RuntimeWarning: creating executor for unknown type "Long64_t*"
      RuntimeWarning: creating executor for unknown type "unsigned char*"
      RuntimeWarning: creating executor for unknown type "ULong64_t*"
      RuntimeWarning: creating executor for unknown type "signed char*"

      The issue can be reproduced w/:

      //test.h
      unsigned char *create_char()
      {
       unsigned char *c = new unsigned char[1];
       c[0]=3;
       return c;
      }

      $ python -i
      >>> import ROOT
      >>> ROOT.gROOT.LoadMacro("test.h")
      >>> a = ROOT.create_char()
      __main__:1: RuntimeWarning: creating executor for unknown type "unsigned char*"

      I see similar issues are discussed, for example at [1]. Is this something that needs to be fixed on the ROOT side or on our side?

      Best,
      Serhan

      [1] https://root-forum.cern.ch/t/arrays-from-root-c-and-unsigned-char/20223

      Attachments

        Activity

          People

            mato Pere Mato Vila
            amete Alaettin Serhan Mete
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: