Hello, I tryied to search roottalk but I did not find any answer on that question. I have been working with root 3.02/00 recently I changed to Version 3.02/07. I have root files containing tree created by root 3.02./00 and when I am trying to open it with the help of the function in new root it gives an error message. treer1(){ gROOT->Reset(); TFile *file= new TFile("../src/15.04.2002.root","READ"); TTree *tree= (TTree*)file->Get("tree"); //TBrowser *br= new TBrowser(); tree->Print(); tree->Show(0); } it says: Root > !!!Dictionary position not recorvered because G__unloadfile() in macro!!! Function treer1() busy flag cleared When I am doing the same by my compiled program I have this: Error in <TStreamerInfo::Build>: TBranch, discarding: Int_t* fBasketBytes, illegal [fMaxBaskets] must be placed before Error in <TStreamerInfo::Build>: TBranch, discarding: Int_t* fBasketEntry, illegal [fMaxBaskets] must be placed before Error in <TStreamerInfo::Build>: TBranch, discarding: Seek_t* fBasketSeek, illegal [fMaxBaskets] must be placed before Error in <TBuffer::CheckByteCount>: object of class TBranch read too few bytes Warning in <TBuffer::CheckByteCount>: TBranch::Streamer() not in sync with data on file, fix Streamer() Error in <TBuffer::CheckByteCount>: object of class TBranch read too few bytes Warning in <TBuffer::CheckByteCount>: TBranch::Streamer() not in sync with data on file, fix Streamer() Error in <TBuffer::CheckByteCount>: object of class TBranch read too few bytes Warning in <TBuffer::CheckByteCount>: TBranch::Streamer() not in sync with data on file, fix Streamer() Error in <TBuffer::CheckByteCount>: object of class TBranch read too few bytes *** Break *** segmentation violation So, how can I open and read files in root 3.02.07 created by the root 3.02.00 ? Everything worked fine in the old version. I am working under linux Mandrake 2.2.19-alt2 with gcc-2.96-ipl8mdk for root 3.02.07. --- Anton
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET