Hi,
I am working with TPySelector and I would like to know if there is a way to get back the detailed exception thrown by python with line numbers and the exact piece of code that causes it. What I get looks like:
Info in <TPySelector::AbortProcess>: 'ZeeNtupleSelector' object has no attribute 'fout'
Traceback (most recent call last):
File "../python/run_selector.py", line 33, in <module>
run_selector(selector + 'Selector', inputfiles, **vars(options) )
File "/Users/blenzi/Workarea/Calib/egammaCalibUtils/python/egCalibUtils.py", line 82, in run_selector
chain.Process('TPySelector', selector.__name__, Nevents)
TypeError: none of the 2 overloaded methods succeeded. Full details:
'ZeeNtupleSelector' object has no attribute 'fout'
Long64_t TTree::Process(void* selector, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) =>
could not convert argument 1
Thanks a lot,
Bruno