Recent problem with TBrowser

Hi, since few days I cannot open a new TBrowser like usual.
When I type “new TBrowser” a TBrowser window still pops up, I can click on it and select a file, but when I click on a variable to see the histogram, it opens a new canvas with just the histogram (see screenshot) and this errors comes out in the terminal:

root [0] new TBrowser
(TBrowser *) 0x600003f9e7d0
root [1] (TFile *) 0x7f93ee355fc0
Info in <THttpEngine::Create>: Starting HTTP server on port 8937
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name Canvas_1
[44277:259:0509/] The use of Rosetta to run the x64 version of Chromium on Arm is neither tested nor maintained, and unexpected behavior will likely result. Please check that all tools that spawn Chromium are Arm-native.
Opening in existing browser session.
objc[44290]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffa4e28daa0) and /Applications/Google Chrome Framework.framework/Versions/112.0.5615.137/Libraries/libGLESv2.dylib (0x11238d9c8). One of the two will be used. Which one is undefined.
Error in <TReentrantRWLock::WriteUnLock>: Write lock already released for 0x7f941e9117c8

Can anyone help me trying to het the Browser working like usual?
P.s. I use root --web=off -l.

I just tried with the latest ROOT version on Mac. I do not see such a problem. On which machine are you running?

And that is your ROOT version?

root --web=off should disable automatic usage of web-based widgets of any kind.

On a MacBook Pro

Version 6.24/06

Did you edit rootrc file?
Version 6.24/06 does not start web-based browser when calling new TBrowser.

No, I haven’t changed anything :smiling_face_with_tear:

Please start root (no any extra arguments) and call gEnv->GetValue("Browser.Name","")

Please send full output - including ROOT welcome logo.

sure, here it is:

(analysis) mariadomenicagalati@NikhefMac ~ % root
  | Welcome to ROOT 6.24/06               |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosx64 on Apr 14 2022, 12:20:00                      |
  | From tag , 1 September 2021                                      |
  | With                                                             |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |

root [0] gEnv->GetValue("Browser.Name","")
(const char *) "TRootBrowser"

And now, when you start browser?

Most probably, --web=off is not supported for root 6.24. This option was introduced later, when web-based widgets can be used by default.

now I don’t get errors anymore. I removed from my bashrc #alias root='root --web=off'
Thanks for the help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.