Hi Federico, I cannot reproduce this problem. Are you really closing the file? Could you send the strict minimum to reproduce the problem? Rene Brun On Mon, 25 Nov 2002, Federico Roncarolo wrote: > Hello, > > I built a ROOT GUI interface for my data analysis. One of the operations > performed by a button handles a TFile object, I open it, write > something and close it. When I need to re-open the file and retrieve the > objects written in it, I get the message > > Warning in <TFile::Init>: file > /afs/cern.ch/user/f/froncaro/GUI/version_0.2/ws_11e10_hor_nocorrect.root > has no keys > > If I quit the application, re-start it and do exactlely the same action to > retrieve the data, everything works. > > What should I do to properly record the keys and access them without > re-starting the application? > > Thanks a lot, > Federico > > __________________________________________________ > Federico Roncarolo federico.roncarolo@cern.ch > alchemist@infinito.it > CERN SL/BI 865 1-A27 > > Tel: > +41.(0)22.76.75611 Work > +41.(0)79.6982190 GSM > +33.(0)4.50.40.82.67 Home > __________________________________________________ >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET