Hi,
I’m using ROOT 5.22 on linux 32b, with ubuntu 8.10. I get this message trying to use the fitpanel from the gui:
root.exe: gui/fitpanel/src/TFitEditor.cxx:1872: virtual void TFitEditor::DoDataSet(Int_t): Assertion `objSelected’ failed.
More annoying is the fact that ROOT crashes and exists.
That, as far as I am concerned, only happens when the object you have selected in the fitpanel to be fitted has been deleted, so it no longer exists and the fitpanel cannot find it.
do the following:
marposs:~/work/Bu2JPsiK/code/plots> root -l bug.root
Welcome, user poss, on for a local session
*** Start at Date : 3-Mar-2009 Time : 10:23:23 ***
The explanation is the next, I was using an assertion for testing purposes, so that if the object was not found, the fitpanel would exit. As with the tests I did it seemed like it would only stop working if the object was deleted after the fitpanel was called. However, it seems like in your example, for some reason, the fitpanel looks for the object twice, and the first time it does not find it. I honestly do not know the reason of this, but removing the assertion makes it to work.
I cannot tell you when the patch will be in the development version (trunk), but I hope it will be pretty soon.