[ROOT] Print() function fails

From: William Hanlon (whanlon@physics.rutgers.edu)
Date: Mon Apr 09 2001 - 17:54:18 MEST


Hi,

I have built the latest version of ROOT (3.00/06) via CVS and I am
having a problem generating postscript files.

I run a macro that creates a canvas called c1 and after the macro runs
I would like to issue the command to print from the ROOT command
line. So I enter:

c1->Print("checkphase.ps")

and I get back from ROOT:

Error: No symbol c1 in current scope  FILE:/tmp/fileAnFviT_cint LINE:1
Error: Failed to evaluate c1->Print("checkphase.ps") FILE:/tmp/fileAnFviT_cint LINE:1
Possible candidates are...
filename       line:size busy function type and name  
*** Interpreter error recovered ***

and the postscript file is not generated.

I have done this same thing with exactly the same macro on another
machine running ROOT 2.23 and it works perfectly.



If I try putting the Print command in the macro I get back from ROOT:

 *** Break *** segmentation violation
Root > Function checkphase() busy flag cleared


BUT in this case the postscript file is generated and looks good.


Does anyone know why I am getting these errors and why I can not
issue the Print command from the ROOT command line?

Thanks for your help,
Bill



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:41 MET