TTree Scan function on windows platform, using vscode to connect wsl connection jupyter reported a deadlock

ROOT version

root_v6.30.01.Linux-ubuntu22-x86_64-gcc11.4

Installation method

pre build

Operating system

wls and ubuntu22.04

Code

This is my code

from ctypes import c_double, c_int
from ROOT import TFile, TTree,TCanvas
guan = TFile("guan.root", "recreate")

ming = TTree("ming", "This is my first tree")
i = c_int(1)
a = c_double(2.2)
b = c_double(0.0)

ming.Branch("i", i, "i/I")
ming.Branch("a", a, "a/D")
ming.Branch("b", a, "b/D")

for j in range(100):
    i = j
    a = i * 0.1
    b = a * a * 9
    ming.Fill()
    
ming.Write()
# BUG
ming.Scan()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.