Skip to content
Snippets Groups Projects
Closed "from ROOT import *" now causes a crash
  • View options
  • "from ROOT import *" now causes a crash

  • View options
  • Closed Issue created by Callum McCracken

    As it should. In release 25.2.22, or whatever version of root that corresponds to. Will fix in a bit, making the issue here to track.

    xAOD::Init                INFO    Environment initialised for data access
    Traceback (most recent call last):
      File "/home/callum/projects/ctb-stelzer/callum/HWWAnalysis/HWWAnalysisCode/CAFCore/QFramework/share/tqmerge", line 132, in <module>
        from ROOT import *
      File "/cvmfs/atlas.cern.ch/repo/sw/software/25.2/AnalysisBaseExternals/25.2.22/InstallArea/x86_64-el9-gcc13-opt/lib/ROOT/__init__.py", line 59, in __getitem__
        raise ImportError(textwrap.dedent(message))
    ImportError: 
    Wildcard import e.g. `from module import *` is bad practice, so it is disallowed in ROOT. Please import explicitly.

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading