Hi, Generally this indicates that the file has been corrupted such that one (or more) of the entries of the tree is not readable. You can try located which entry it is (by doing reads usint TTree::Draw for example) and filter it out before doing the merge. Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jayoung Wu Sent: Wednesday, August 28, 2002 11:45 AM To: roottalk@pcroot.cern.ch Subject: [ROOT] TChain ??? Hi Rooters. I have 3 root files that have no problem when I process them individually. Those 3 files are all.1.rm10.root, all.2.root, and all.3.root. However when I try to combine them into 1 files using merge.all.C { TChain ch("lfit1"); ch.Add("all.1.rm10.root"); ch.Add("../all.2.root"); ch.Add("../all.3.root"); ch.Merge("all.lfit1.root"); } I got core dump with the following message. root [0] .x merge.all.C Error in <TFile::ReadBuffer>: error reading all requested bytes from file all.1.rm10.root, got 4903 of 11651 R__unzip: discrepancy with initial size Error in <TBasket::ReadBasketBuffers>: fObjlen = 31936, nout = 0 Error in <TBranch::GetBasket>: File problem at address:7146713, basket seekkey=7146713, branch:evt SysError in <TFile::ReadBuffer>: error reading from file all.1.rm10.root (No such file or directory) Do you have any idea? --- Thanks, Jayoung
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET