Hello,
I recently upgraded to macOS Sonoma. After recompiling root I run into a curious problem. If I run root with the web interface on, everything is fine. If I run with the option --web=off, I am unable to open a TBrowser (see attached image).
I can successfully open a graphical canvas with, for instance:
TF1 f1(“f1”,“sin(x)/x”,0.,10.); f1.Draw()
Then everything freezes if I run
TBrowser t
After closing the failed TBrowser window I get back the control of the first canvas.
After quitting root I get the following messages:
root.exe[33530:2781385] Fatal error: requested non-existing drawable 204
root.exe[33530:2781385] This window not found among allocated/deleted drawables
I would be grateful if anybody can point me towards a possible solution (maybe some configure options prior to compilation?).
Dear Olivier,
Thanks for this!
I never dealt with root patches. If I understand correctly, I just need to get the latest stable release and implement the changes (just few lines) to the files
graf2d/cocoa/src/QuartzWindow.mm
graf2d/cocoa/src/ROOTOpenGLView.mm
graf2d/cocoa/src/TGCocoa.mm
as specified in the backport link.
Correct?
Dear Oliver,
I just compiled from sources with the patch and the problem is completely resolved.
After a new macOS installation I usually install root with homebrew (and let it install whatever python3 it requires) - this is very fast.
Alternatively, if I need a newer version of python3 or if I need to modify the code (as in this case) I compile from sources.
Is there a better way?