Hi Rene, the problem is i can't (perhaps .p was a bad example ... but i thought it ought to work, too) TDirectory* Gled Gled root directory OBJ: Sphere Sphere : 0 gled[2] Sphere->Dump() Error: No symbol Sphere in current scope FILE:/tmp/filewozOI0_cint LINE:1 Error: Failed to evaluate Sphere->Dump() FILE:/tmp/filewozOI0_cint LINE:1 Possible candidates are... filename line:size busy function type and name *** Interpreter error recovered *** I ran a few diffs ... what seems relevant: 1) I have subclassed TRint ... but haven't really changed anything 2) TApplication::Run() is called in thread void* RunRint(void* x) { my_gint->Run(1); cout << "Gint terminated ...\n"; if(Gled::theOne) Gled::theOne->EatSuckishDeath(); } thank you ... cheers, matevz On Fri, 14 Apr 2000, Rene Brun wrote: > Hi Matevz, > You are likely confused by one of the ROOT extensions. > What you do below never worked, but: > > instead of .p TB_DUTor > you can do > TB_DUTor.Dump() > > Rene Brun > > Matevz Tadel wrote: > > > > Hi! > > > > At some point in my application i export certain objects inheriting from > > TNamed by calling > > some_dir->Append(some_object) > > Then in Rint i cd to that directory and try to access it by its name ... > > it says: > > gled[2] .ls > > TDirectory* Gled Gled root directory > > OBJ: DUTor TB_DUTor : 0 > > gled[3] .p TB_DUTor > > Error: No symbol TB_DUTor in current scope FILE:/tmp/fileyEZzQs_cint > > LINE:1 > > *** Interpreter error recovered *** > > > > It used to work ... but haven't tried it for a quite a while (~4 months), > > so i'm not exactly sure what all has changed ... > > > > I can still access it by > > DUTor* d = gDirectory->GetList()->First() > > so the pointer is there ... > > I'm running 2.23/12 on linux-rh6.0 > > > > Any ideas what could have gone wrong? > > Thanks ... > > matevz > > > > --------------------------------------------------- > > Matevz Tadel, E-mail: Matevz.Tadel@ijs.si > > Department of Experimental High Energy Physics F9 > > Jozef Stefan Institute, Jamova 39, P.o.Box 3000 > > SI-1001 Ljubljana, Slovenia > > Tel.: +386-61-177-3674 Fax: +386-61-125-7074 > > --------------------------------------------------- > -- --------------------------------------------------- Matevz Tadel, E-mail: Matevz.Tadel@ijs.si Department of Experimental High Energy Physics F9 Jozef Stefan Institute, Jamova 39, P.o.Box 3000 SI-1001 Ljubljana, Slovenia Tel.: +386-61-177-3674 Fax: +386-61-125-7074 ---------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET