WebInterface missing HTML files

Hello,

I updated the build to 6.34.02 but the web interface is now showing the following error:

Anyone know what may be causing this?

Update: If you build with cef, then it looks for libROOTCefDisplay.so but its seemingly not being built.

Cheers

Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.

_ROOT Version:v6.34.02
_Platform:Ubuntu24
_Compiler:gcc13


Hi,

Thanks for the post. Can you please give a bit more context? What web interface? How can the error be reproduced?

Best,
D

PS
@linev

Its the root7 new TBrowser but all gui windows based on root7 appear empty.

Hi,

Which browsers are installed on your node?
Can you try with firefox? Like root --web=firefox.
Problem can be with security settings of chrome browser.

Did you really tried to build CEF as described here?
Without CEF libROOTCefDisplay.so cannot be build.

Regards,
Sergey

this results in the following message.

root [0] new TBrowser

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:9203
ROOT/Install/etc//runfirefox.sh: 19: [: __nodump__: unexpected operator
ROOT/Install/etc//runfirefox.sh: 39: [[: not found
(TBrowser *) 0x61155e966710

I did not build CEF in this way nor am I set on building it, but this isn’t the first system I have built the web interface on and cef is autoselected with the webgui in my prior build and built automatically. Either way I would like to know what may be the problem with the webgui.

To me it looks like the webgui opens with the wrong html address.

Looks like runfirefox.sh does not work for you.

Can you try root --web=chrome?
It requires chrome browser installed when compiling ROOT.

Or just root --web=default to use system default web browser.
Even if it is firefox - runfirefox.sh will not be invoked.

Aha so this:

works. But it is quite weird as I have already set the browser to chrome in cmake:
image
But it does not work without the above command.

Hi,

Do you have qt6web component compiled?
May be it makes trouble for you?

Regards,
Sergey

I do not.

If none of qt5web / qt6web / cefweb components are build, chrome must be used as default web display.

I have built qt5web and now set google-chrome as the default browser during building.

qt5web is mostly useless for normal ROOT widgets now. It will be discontinued with next ROOT version. I recommend to disable it.

If you want to use qt with the ROOT - please switch to Qt6 and use it with qt6web component.

Sure. Thanks for the tip and help.

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