I’m using a TTreeReader to read several root files, and when using root 6.18 or newer, I get the following error messages:
Error in <TTreeReader::SetEntryBase()>: There was an error while notifying the proxies. Warning in <TTreeReader::SetEntryBase()>: Unexpected error '-6' in TChain::LoadTree
This happens when trying to do TTreeReader::Next() and the file changes (i.e., it’s trying to load the first entry of the next file). But this seems to happen only for certain files; e.g., reading file1/file2/file3 fails on file3, while reading file1/file2 is fine, and reading file6/file7/file8, is fine. Also, reading file3/file1/file2 seems fine, so somehow the order of the files matters. Reading the “problematic” file3 by itself also works without any issues, and as far as I can tell it’s a normal, healthy file.
When I try to reproduce with root 6.16.00, I don’t get these messages and everything seems to work fine.
Are these messages safe to ignore?
ROOT Version: 6.18.00+