Re: file portability issue ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Jan 15 2000 - 11:59:55 MET


Hi Pasha,
OK, I uderstand your point now.
You are writing a file with 2.23/11 and try to read it
with an older version of Root. If you read the file with 2.23/11
you have no problems. This version can read any previous version.
There are no changes in the file format. Howver, because I made changes
in a few classes (TAxis, TPad, TCanvas and TCollection (see
release notes), the old versions of Root are not aware of this change.
I should have made this point clear in the release notes.
Apologies for the inconvenience.

Rene Brun


On Fri, 14 Jan 2000, Pasha Murat (630)840-8237 FNAL (630)859-3463 home wrote:

> Dear Rooters,
> 
> I'm using ROOT v2.23/11 which I built myself on RH Linux 5.2 with gcc 2.95.2. About
> everything is OK except that I can't read the produced files with any other 
> version of ROOT different from one used to generate the files. I also can't read
> the files on any other platform. An example of a small non-portable file is attached
> to this mail. typical output of the session can be found below - an empty canvas 
> pops up in the end.
> 				I'd appreciate any help, thanks, Pasha
> 
> /home/murat/ztautau>root.exe
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   2.23/10  17 December 1999   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] TFile f("count_muo_jets_hist.root")
> root [1] f.ls()                             
> TFile**         count_muo_jets_hist.root
>  TFile*         count_muo_jets_hist.root
>   KEY: TH1F     NGoodLep;1      Number of good leptons
>   KEY: TH1F     Metc;1  corrected missing Et
>   KEY: TH1F     Met;1   raw missing Et
>   KEY: TH1F     MetAll;1        raw MET, all events
>   KEY: TH1F     MetcAll;1       corrected MET, all events
>   KEY: TH1F     h1_fN1;1        N(jets) METC<25 all dphi
>   KEY: TH1F     h1_fN2;1        N(jets) METC<25 dphi<150
>   KEY: TH1F     h1_fN3;1        N(jets) METC<25 dphi>150
>   KEY: TH1F     h2_fN1;1        N(jets) METC>25 all dphi
>   KEY: TH1F     h2_fN2;1        N(jets) METC>25 dphi<150
>   KEY: TH1F     h2_fN3;1        N(jets) METC>25 dphi>150
>   KEY: TH1F     Counter;1       Counter
> root [2] Met->Draw()                        
> <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
> 
>  *** Break *** segmentation violation
> Root > 
>  *** Break *** segmentation violation



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET