[ROOT] TCanvas with TMapFile and TFile

From: Hartmut Stadie lx10 (stadie@ekp.physik.uni-karlsruhe.de)
Date: Wed Jun 14 2000 - 16:42:13 MEST


Hi rooters,
in our online-monitoring framework for CDF, we want to put TCanvas objects in
a TMapFile and save them to a ROOT file at the end. Unfortunately the TCanvas 
objects in the ROOT file cannot be drawn in a ROOT session:

  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.24/04       30 May 2000   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

FreeType Engine v1.1 used to render TrueType fonts.

CINT/ROOT C/C++ Interpreter version 5.14.37, Apr 29 2000
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TFile f("test.root")                           
root [1] CMUDCanvas.Draw()                    
Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for operation)
(XID: 96469120)
Error in <RootX11ErrorHandler>: BadDrawable (invalid Pixmap or Window parameter) (XID: 96469120)
Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for operation) (XID: 96469121)
Error in <RootX11ErrorHandler>: BadDrawable (invalid Pixmap or Window parameter) (XID: 96469121)

and so on...

I have reduced our code to a little program, that I will attach to this email.
I hope anyone knows, how to remove this problem. 

Thanks a lot,
                Hartmut.


-- 
Hartmut Stadie              Email:stadie@ekp.physik.uni-karlsruhe.de
Institut für Experimentelle Kernphysik    |  privat: 
Universität Karlsruhe                     |       
Engesserstr. 7                            |       Karlstr. 21a   
76128 Karlsruhe                           |       76133 Karlsruhe
Tel.:0721-608 3454                        |       Tel.:0721-29605





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