Re: [ROOT] Problem drawing functions

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jul 24 2002 - 17:21:27 MEST


Hi Ray,

  it looks ROOT cannot find $ROOTSYS/etc/system.rootrc.
gEnv->Print() must show them as [global] and the plugin manager must
show something like:

=====================================================================
Base                 Regexp        Class              Plugin
=====================================================================
TFile                ^rfio:        TRFIOFile          RFIO
TFile                ^dcache:      TDCacheFile        DCache [*]
TSQLServer           ^mysql:       TMySQLServer       MySQL
TSQLServer           ^pgsql:       TPgSQLServer       PgSQL
TSQLServer           ^sapdb:       TSapDBServer       SapDB
TSQLServer           ^oracle:      TOracleServer      Oracle [*]
TGrid                ^alien        TAlien             RAliEn
TVirtualFitter       *             TFitter            Minuit
TVirtualHistPainter  *             THistPainter       HistPainter
TVirtualTreePlayer   *             TTreePlayer        TreePlayer
TVirtualTreeViewer   *             TTreeViewer        TreeViewer
TVirtualGeoPainter   *             TGeoPainter        GeomPainter
TVirtualPS           *             TPostScript        Postscript
TViewerX3D           *             TViewerX3D         X3d
TMinuitGraph         *             TGraph             Graf
TVirtualX            x11           TGX11              GX11
TVirtualX            win32         TGWin32            Win32 [*]
TVirtualX            win32gdk      TGWin32            Win32gdk [*]
TGuiFactory          root          TRootGuiFactory    Gui
TGuiFactory          win32         TWin32GuiFactory   Win32 [*]
=====================================================================
[*] plugin not available
=====================================================================


Cheers, Fons.


On Wed, 2002-07-24 at 17:14, Ray Fliller III wrote:
> On 24 Jul 2002, Fons Rademakers wrote:
> 
> > Hi Ray,
> > 
> >   with the CVS version there is the problem that the X11 and Gui libs
> > are not loaded. Could you show me the output of:
> > 
> > gROOT->GetPluginManager()->Print()
> > and
> > gEnv->Print().
> 
> Sure...
> 
> root [1] gROOT->GetPluginManager()->Print()
> root [2] gROOT->GetPluginManager()         
> (const class TPluginManager*)0x80d82b8
> root [3] gROOT->GetPluginManager()->Print()
> root [4] gEnv->Print()
> Unix.*.Root.DynamicPath:  .:/opt/cern/root/lib:/home/rainman/rfliller/ROOT:./;/home/rainman/rfliller
> [User]
> Unix.*.Root.MacroPath:    .:/opt/cern/root/macros:/home/rainman/rfliller/ROOT:./:/home/rainman/rfliller
> [User]
> Unix.*.Editor:            xemacs &                       [User]
> Rint.Load:                ~/rootalias.C                  [User]
> Rint.Logon:               ~/rootlogon.C                  [User]
> Rint.Logoff:              ~/rootlogoff.C                 [User]
> Rint.History:             /home/rainman/rfliller/.root_hist [User]
> Root.MemCheck:            1                              [User]
> Root.MemStat:             1                              [User]
> 
> 
> 
> > 
> > Also make sure that in yor $ROOTSYS/etc/system.rootrc there are lines
> > like:
> > 
> > Plugin.TVirtualX:    x11       TGX11         GX11         "TGX11(const
> > char*,const char*)"
> > +Plugin.TVirtualX:   win32     TGWin32       Win32        "TGWin32(const
> > char*,const char*)"
> > +Plugin.TVirtualX:   win32gdk  TGWin32       Win32gdk     "TGWin32(const
> > char*,const char*)"
> > Plugin.TGuiFactory:  root      TRootGuiFactory Gui       
> > "TRootGuiFactory()"
> > +Plugin.TGuiFactory: win32     TWin32GuiFactory Win32    
> > "TWin32GuiFactory()"
> > 
> 
> These are indeed in place.
> 
> 
> > Make sure that you switch $ROOTSYS when switcing between 3.01 and the
> > cvs version.
> > 
> > Cheers, Fons.
> > 
> 
>   Thanks Fons.
> 
> -- 
> 
>  RAINMAN
>       "How much does a piece of gum cost Ray?"
>       "About $100."
>       "How much does a new car cost Ray?"
>       "`Bout $100."
>       "There goes working for NASA!"
> 
> ==================================================================
> Ray Fliller: rfliller@bnl.gov      Office Phone: (631)-344-6124 
> C-A Accelerator Physics            Dept. Fax: (631)-344-5954
> Building 911B
> Brookhaven National Lab
> Upton, NY 11973                    Office: Room 211
> 
> http://www.agsrhichome.bnl.gov/People/rfliller/
> ==================================================================
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET