Fresh build and install ROOT from git - cannot open TBrowser web

Dear all,

I’m trying to do a fresh install of the latest version of ROOT form the master branch in github. It builds and installs with no issues, but I cannot open TBrowser (or any application web-based). The browser opens (chrome/chromium), but shows me an error of files missing or moved in the browser.
I built it with qt5web and many other options:

cmake -Dbuiltin_fftw3=ON -Dbuiltin_freetype=ON -Dbuiltin_ftgl=ON -Dbuiltin_gl2ps=ON -Dbuiltin_glew=ON -Dbuiltin_gsl=ON -Dbuiltin_lz4=ON -Dbuiltin_lzma=ON -Dbuiltin_nlohmannjson=ON -Dbuiltin_unuran=ON -Dbuiltin_vc=ON -Dbuiltin_vdt=ON -Dbuiltin_veccore=ON -Dbuiltin_xrootd=ON -Dbuiltin_zlib=ON -Dbuiltin_zstd=ON -Dfcgi=ON -Dfortran=ON -Dmathmore=ON -Dqt5web=ON -Dvdt=ON -Dbuiltin_openui5=ON ..

None of the above gives me errors or warnings. Am I missing something in the installation?

Many thanks in advance.

_ROOT Version: 6.35
_Platform: GNU/Linux Debian 12
_Compiler: GCC 12.2.0


Hello @lgi,

We can check if the builtin graphics are working. Try:

root.exe --web=off

and check if this displays graphics. If this works, we have to figure out what’s wrong with the webgraphics.

Can you check if ROOT managed to configure itself with webgraphics? It prints a summary at the end of the configure cmake configure step.

Let’s have a look what you find regarding the two questions above, and then we’ll see where to go from there.

1 Like

Dear @StephanH ,

Thanks for the fast feedback.

I confirm that I can display TBrowser with --web=off. It works just fine.

As for the output of my cmake, it seems to be able to build with the web feature:

-- ROOT Configuration 

System:            Linux-6.1.0-27-amd64
ROOT Platform:     linux
ROOT Architecture: linuxx8664gcc
Processor:         10 core 13th Gen Intel(R) Core(TM) i7-1355U (x86_64)
Build type:        Release
Install path:      /home/lghizoni/test
Compiler:          GNU 12.2.0
C++ standard:      17
Compiler flags:
-- 
 - C:                          -Wno-implicit-fallthrough -pipe -Wall -W -pthread
 - C (build type specific):   -O3 -DNDEBUG
 - C++:                        -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread
 - C++ (build type specific): -O3 -DNDEBUG
-- Linker flags:
 - Executable:      -rdynamic
 - Module:         
 - Shared:          -Wl,--no-undefined -Wl,--hash-style="both"

-- Enabled support for:  asimage builtin_clang builtin_cling builtin_davix builtin_fftw3 builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_gsl builtin_llvm builtin_lz4 builtin_lzma builtin_nlohmannjson builtin_openui5 builtin_unuran builtin_vc builtin_vdt builtin_veccore builtin_xrootd builtin_zlib builtin_zstd clad dataframe davix fftw3 fitsio fortran gdml geom http imt mathmore mysql opengl pyroot qt5web roofit root7 rpath runtime_cxxmodules shared spectrum ssl tmva tmva-cpu tmva-cudnn tmva-pymva tpython vc vdt veccore webgui x11 xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lghizoni/build

OK, thank you!

In this case, this sounds like an issue for @linev. Do you have an idea?

1 Like

Hi,

qt5web option cannot be longer used with RBrowser. Because of changes in openui5 library only qt6web can be used now.

Can you provide a little more information about your problem?
And did you try to install firefox? On some platforms chrome default settings make it impossible to use with webgui. Just start with root --web=firefox

1 Like

Dear @linev

Thank you.

I have also tried with Firefox, but then it doesn’t even open the browser window. Instead, I get this:

ROOT comes with a web-based browser, which is now being started. 
Revert to TBrowser by setting "Browser.Name: TRootBrowser" in rootrc file or
by starting "root --web=off"
Find more info on https://root.cern/for_developers/root7/#rbrowser
Info in <THttpEngine::Create>: Starting HTTP server on port 127.0.0.1:9066
/usr/local/root/etc//runfirefox.sh: 19: [: __nodump__: unexpected operator
/usr/local/root/etc//runfirefox.sh: 39: [[: not found
(TBrowser &) Name: Browser Title: ROOT Object Browser

But now I built it again without qt5web and it works! I tried adding qt6web but for some reason it doesn’t find it even after I installed it system-wide in Debian.

I think that the issue is solved by removing the option qt5web in the build phase :slight_smile:

Thanks for the support!

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