Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNTuple format is too old (version 0) #9

Open
bernhardmgruber opened this issue Dec 19, 2022 · 4 comments
Open

RNTuple format is too old (version 0) #9

bernhardmgruber opened this issue Dec 19, 2022 · 4 comments

Comments

@bernhardmgruber
Copy link
Contributor

Hi! I just tried to build and run the lhcb analysis, but it fails with the following error:

bgruber@graviola:~/dev/iotools$ ./lhcb -mps -i B2HHH~zstd.ntuple
Error in <TFile::TFile>: file /home/bgruber/dev/iotools/B2HHH~zstd.ntuple does not exist
Downloading https://root.cern/files/RNTuple/B2HHH~zstd.ntuple
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1006M  100 1006M    0     0   110M      0  0:00:09  0:00:09 --:--:--  110M
terminate called after throwing an instance of 'ROOT::Experimental::RException'
  what():  The RNTuple format is too old (version 0)
At:
  static RResult<unsigned int> ROOT::Experimental::Internal::RNTupleSerializer::DeserializeEnvelope(const void*, uint32_t, uint32_t&) [/home/bgruber/dev/root/tree/ntuple/v7/src/RNTupleSerialize.cxx:625]
  static ROOT::Experimental::RResult<void> ROOT::Experimental::Internal::RNTupleSerializer::DeserializeHeaderV1(const void*, uint32_t, ROOT::Experimental::RNTupleDescriptorBuilder&) [/home/bgruber/dev/root/tree/ntuple/v7/src/RNTupleSerialize.cxx:1129]

It seems the example files provided on https://root.cern/files/RNTuple may be too old. Could you please update those? Thank you!

My ROOT version is:

bgruber@graviola:~$ root --version
ROOT Version: 6.27/01
Built for linuxx8664gcc on Dec 19 2022, 12:45:00
From remotes/origin/HEAD@v6-25-02-3353-g487e1fcffb
@jblomer
Copy link
Owner

jblomer commented Jan 8, 2023

Thanks! We need to update the files in that area. Meanwhile, you can use gen_lhcb to produce the RNTuple files from the TTree originals.

@bernhardmgruber
Copy link
Contributor Author

Thanks! I will try that!

@bernhardmgruber
Copy link
Contributor Author

wget https://root.cern/files/RNTuple/treeref/B2HHH~zstd.root
make gen_lhcb
./gen_lhcb -i B2HHH~zstd.root

did the trick and now I have an RNTuple file called B2HHH~none.ntuple that I can load. Thank you!

@bernhardmgruber
Copy link
Contributor Author

Hi! I found it convenient that artificially enlarged files are also available on the website, like B2HHHX25~zstd.root. However, their file format is also too old. Any chance you can update them as well? Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants