Skip to content

Conversation

tmadlener
Copy link
Collaborator

@tmadlener tmadlener commented Sep 29, 2025

BEGINRELEASENOTES

  • Improve error messages when readers encounter problems
    • Detect if the on-file schema version is newer than the one that is currently available from the environment
    • Add a warning message for the ROOTReader in case collection buffers cannot be constructed for a given type and schema version
  • Make the ROOTReader return a nullptr ROOTFrameData in case a non-readable collection is encountered instead of letting the std::bad_function_call escape from readEntry.

ENDRELEASENOTES

Fixes #848, Fixes #847

Comment on lines +26 to +30
if (!envSchemaVersion) {
warnings.emplace_back("EDM '" + edmName +
"' exists in file but does not seem to be loaded from the environment by podio");
continue;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might emit warnings that are harmless. E.g. RNTuple seems to be much less eager to pull in EDM libraries if they are not needed but they might still be present in the file. It looks like it does a much lazier loading than the TTree version, so that this check is potentially too early. But it really isn't clear to me why it would know at this point which libraries it has to load.

I have to check what is going on here and why RNTuple seems to behave special here.

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