Re: [ROOT] TGraph plot cannot be generated.

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sat Mar 01 2003 - 17:21:07 MET


Hi HP,

  you have too few colorplanes (8 planes = 256 colors). Try closing some
other application, like Netscape, that uses many colors. Not a real
solution, but you can also run stress in batch, stress -b to at least
see if it works correctly.

-- Fons


On Sat, 2003-03-01 at 16:31, HP Wei wrote:
> Following your suggestion, I edited etc/system.rootrc
> and copied it to ~/.rootrc and
> I got some improvement.
> Before, test/stress kicks me out before Test 5 with those 
> two error messages that I mentioned in the first email.
> 
> Now, stress can go through all the tests and the stress Canvas 
> and plots are generated (no memu though).
> However, there is still one BadAccess message shown below.
> 
> Error in <RootX11ErrorHandler>: BadAccess (attempt to access private resource 
> denied) (XID: 0, XREQ: 88)
>   (many of this error messages.)
> Test  5 : Test graphics & Postscript............................ OK
>  
>  ...
>  
> Error in <RootX11ErrorHandler>: BadAccess (attempt to access private resource 
> denied) (XID: 0, XREQ: 88)
>   (many of this error messages.)
> Test 16 : CINT test (3 nested loops) with LHCb trigger.......... OK
> 
> --------------------------
> For the case of Tetris,  I got no improvement.
> >>     Error in <RootX11ErrorHandler>: BadAccess (attempt to access private 
> >>     resource denied) (XID: 0, XREQ: 88)
> >> Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for 
> operation) 
> >> (XID: 0, XREQ: 84)
> 
> Any other parameters that I need to change ???
> thanks,
> HP
> 
> 
> 
> >About the second problem, it is likely that you use an X11 emulator
> >or an old X11 server. Could you edit the file $ROOTSYS/system.rootrc
> >and replace the line:
> >X11.FindBestVisual:      yes
> >by
> >X11.FindBestVisual:      no
> 
> >> (2) With the new version of ROOT, 
> >>     my old script which plots a TGraph could not work 
> >>     any more.  
> >>     
> >>     The message:
> >>     Error in <RootX11ErrorHandler>: BadAccess (attempt to access private 
> >>     resource denied) (XID: 0, XREQ: 88)
> >> Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for 
> operation) 
> >> (XID: 0, XREQ: 84)
-- 
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 : Thu Jan 01 2004 - 17:50:09 MET