Version incompatibility

System : Linux, MacOs, Windows?
REST version : v2.2.10

Please, check if v2.2.10 is compatible with previous versions. I tried to process events from a v2.2.7 simulation and it did not work (neither with v2.2.9 simulation). The continous message is

Error in TBufferFile::ReadClass: illegal class tag=641815571 (0<tag<=2), I/O buffer corrupted

Hi Gloria, thanks for pointing this out.

There was some issues when producing release v2.2.10. And I changed the tag from one commit to another in the remote repositories, I was not expecting this to be affecting, except may be if you pulled in the middle of the tag change.

When you execute “git log” make sure you see this commit on the first line.

commit 1c8ba886b2155032c9d502d5fefccdd773eeaad1

If you don’t, remove your local tag.

git tag -d v2.2.10

move to master and pull the tags from the repository

git checkout master
git pull --tags

If you have a branch named v2.2.10, remove the branch, and then create a new branch v2.2.10 connected to the tag

git branch -d v2.2.10
git checkout tags/v2.2.10 -b v2.2.10

Launch git log and check if you are now at commit

commit 1c8ba886b2155032c9d502d5fefccdd773eeaad1

I was able to reproduce the same error. After I did what I provide in this answer I could write with 2.2.7 and read with 2.2.10 without problems.

You may also do this check, in version 2.2.10, line 39 of TRestRun should end in //!

39 vector<TRestMetadata*> fInputMetadata;//!