Excuse me, this may be a Python question instead of a PyROOT one but here goes.
If I run the following bit of code
from ROOT import TCanvas
from ROOT import gROOT
gROOT.ProcessLine("gErrorIgnoreLevel = 1;")
canvas = TCanvas("canvas")
through python. Why do I see the message ‘Info in : ps file canvas.ps has been created?’
This all is on a Mac running OS X 10.4.8, python 2.3.5 and 5.14/00.
for Info(…) use gErrorIgnoreLevel > 1000, for Warning(…) use gErrorIgnoreLevel > 2000, etc. See in file $ROOTSYS/base/inc/TError.h
Doh! Thanks I’m normally used to kInfo and blindly copied from the forum…
BTW. Do you also know why PyROOT (run from python) would not execute my rootrc and rootlogon files?
Sorry, I don’t use PyROOT.
are you sure about the former? AFAIK, rootrc works as expected. rootlogon.C isn’t processed, although it probably could be. Thanks for the suggestion; I’ll see what I can do …
I was indeed a bit hasty. The only output I was missing should come from rootlogon, a more careful check shows that rootrc is properly processed.