Hi!
I’d like to load to my python workspace (non-standard) objects stored in ROOT files.
file = ROOT.TFile(filename)
data = file.Get('label')
I receive the following error:
Error in TBufferFile::CheckByteCount: object of class WSeries read too few bytes: 9363600 instead of 9365139
The data type appears to be correctly read:
In[2]: data
Out[2]: <ROOT.WSeries<double> object at 0x3b138b0>
However, accessing fields of that object leads to segfault
[code]In[3]: data.maxLayer()
*** Break *** segmentation violation
[/code]
Note that I don’t write and read with two computers/different configs (given below).
Any hints?
Eric
Write from the following config:
gcc (Debian 4.4.5-8) 4.4.5
root-v5-32-04.patched
Read from the following config:
gcc (Debian 4.9.1-19) 4.9.1
Python 2.7.8 (default, Oct 18 2014, 12:50:18)
ROOT 5.34/19 (heads/v5-34-00-patches@v5-34-18-592-g34af149, Oct 24 2014, 14:06:00 on linuxx8664gcc)