The file is not empty when I’m opening with my local installed root (6.22/00) or pyroot or c++ library.
I am running with vscode live server - the file is present in JSROOT source dir.
Can you provide only ROOT file?
Unfortunately, CERNBox uses extremely old JSROOT version (from 2015).
If you like, you also can vote for this problem on CERNBOX Jira
Did you try to open this file with ROOT? I got message:
Warning in <TFile::Init>: no StreamerInfo found in /home/linev/Downloads/TrigCostRoot_Results.root therefore preventing schema evolution when reading this file. The file was produced with version 6.22/00 of ROOT.
It is very special file - without streamer infos inside.
Why you create it this way? And how?
JSROOT does not support such files, while it does not provide streamers for “normal” classes
like TH1 or TAxis. You need to create “normal” file.
I will change message in JSROOT to clarify the problem.
I did not found any legal way to create ROOT file without streamer info.
Seems to be, file does not properly closed at the end - in such case it could miss streamer infos information. In any case - without streamer infos JSROOT will not work.