Please read tips for efficient and successful posting and posting code
_ROOT Version: v6-34-02
_Platform: ubuntu 24.04
_Compiler: gcc
Hello, I’m trying webpanel
tutorial under /opt/root/tutorials/webui/panel
:
# root --web=server:8080 webpanel.cxx
------------------------------------------------------------------
| Welcome to ROOT 6.34.02 https://root.cern |
| (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Dec 15 2024, 08:22:22 |
| From tags/v6-34-02@v6-34-02 |
| With c++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
Processing webpanel.cxx...
Info in <THttpEngine::Create>: Starting HTTP server on port 127.0.0.1:8080
New web window: http://localhost:8080/win1/?key=6ffe4463-5b5ffbec-81c5d265-f25d2c94-d1f2fc3d-1d63591c-1845d0f9-2f380c92#a37ae3f2-2790ad35-2101221f-c8c137f0-cae656fb-23ebd020-ab6f33ae-5af333eb
the web page is rendered blank, and in browser console, there’re errors:
fetch-dbg.js:209
GET http://localhost:8080/currentdir/view/TestPanel.view.xml 404 (Not Found)
Log-dbg.js:497 2025-01-20 05:22:49.652400 Error: resource localapp/view/TestPanel.view.xml could not be loaded from http://localhost:8080/currentdir/view/TestPanel.view.xml. Check for 'file not found' or parse errors. Reason: Not Found -
Uncaught (in promise) Error: resource localapp/view/TestPanel.view.xml could not be loaded from http://localhost:8080/currentdir/view/TestPanel.view.xml. Check for 'file not found' or parse errors. Reason: Not Found
at LoaderExtensions-dbg.js:327:19
did i do something wrong, how to try the webpanel tutorial, thanks?
entire log in browser console
Set jsroot source_dir to http://localhost:8080/jsrootsys/, 7.8.0 11/11/2024
webwindow.mjs:601 Opening web socket at http://localhost:8080/win1/
webwindow.mjs:613 configure websocket ws://localhost:8080/win1/root.websocket
Device-dbg.js:85 2025-01-20 05:22:49 Device API logging initialized - DEVICE
utils.mjs:118 Load openui5 from http://localhost:8080/rootui5sys/distribution/
webwindow.mjs:714 get new key b427a4fe-7fc265d9-8762d106-426bbeab-91c2e4e4-40de6a99-b7e67eb2-c183c4fc
win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:50 Register module path localapp as http://localhost:8080/currentdir/
fetch-dbg.js:209
GET http://localhost:8080/currentdir/view/TestPanel.view.xml 404 (Not Found)
(anonymous) @ fetch-dbg.js:209
n @ fetch-dbg.js:147
t @ mixedFetch-dbg.js:55
i.loadResource @ LoaderExtensions-dbg.js:316
l @ XMLView-dbg.js:620
x.initViewSettings @ XMLView-dbg.js:679
g._initCompositeSupport @ View-dbg.js:616
(anonymous) @ ManagedObject-dbg.js:528
constructor @ ManagedObject-dbg.js:515
constructor @ Element-dbg.js:218
constructor @ Control-dbg.js:187
c @ Metadata-dbg.js:504
c @ Metadata-dbg.js:504
_ @ View-dbg.js:1334
I @ View-dbg.js:1266
o @ View-dbg.js:1088
(anonymous) @ View-dbg.js:1110
Promise.then
g.create @ View-dbg.js:1097
x.create @ XMLView-dbg.js:288
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:56
(anonymous) @ ui5loader-dbg.js:2188
Promise.then
Oe @ ui5loader-dbg.js:1923
r @ ui5loader-dbg.js:2184
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:55
Promise.then
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:35Understand this errorAI
Log-dbg.js:497 2025-01-20 05:22:49.652400 Error: resource localapp/view/TestPanel.view.xml could not be loaded from http://localhost:8080/currentdir/view/TestPanel.view.xml. Check for 'file not found' or parse errors. Reason: Not Found -
u @ Log-dbg.js:497
n.error @ Log-dbg.js:247
(anonymous) @ LoaderExtensions-dbg.js:346
Promise.then
i.loadResource @ LoaderExtensions-dbg.js:340
l @ XMLView-dbg.js:620
x.initViewSettings @ XMLView-dbg.js:679
g._initCompositeSupport @ View-dbg.js:616
(anonymous) @ ManagedObject-dbg.js:528
constructor @ ManagedObject-dbg.js:515
constructor @ Element-dbg.js:218
constructor @ Control-dbg.js:187
c @ Metadata-dbg.js:504
c @ Metadata-dbg.js:504
_ @ View-dbg.js:1334
I @ View-dbg.js:1266
o @ View-dbg.js:1088
(anonymous) @ View-dbg.js:1110
Promise.then
g.create @ View-dbg.js:1097
x.create @ XMLView-dbg.js:288
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:56
(anonymous) @ ui5loader-dbg.js:2188
Promise.then
Oe @ ui5loader-dbg.js:1923
r @ ui5loader-dbg.js:2184
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:55
Promise.then
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:35Understand this errorAI
LoaderExtensions-dbg.js:327 Uncaught (in promise) Error: resource localapp/view/TestPanel.view.xml could not be loaded from http://localhost:8080/currentdir/view/TestPanel.view.xml. Check for 'file not found' or parse errors. Reason: Not Found
at LoaderExtensions-dbg.js:327:19
(anonymous) @ LoaderExtensions-dbg.js:327
Promise.then
i.loadResource @ LoaderExtensions-dbg.js:319
l @ XMLView-dbg.js:620
x.initViewSettings @ XMLView-dbg.js:679
g._initCompositeSupport @ View-dbg.js:616
(anonymous) @ ManagedObject-dbg.js:528
constructor @ ManagedObject-dbg.js:515
constructor @ Element-dbg.js:218
constructor @ Control-dbg.js:187
c @ Metadata-dbg.js:504
c @ Metadata-dbg.js:504
_ @ View-dbg.js:1334
I @ View-dbg.js:1266
o @ View-dbg.js:1088
(anonymous) @ View-dbg.js:1110
Promise.then
g.create @ View-dbg.js:1097
x.create @ XMLView-dbg.js:288
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:56
(anonymous) @ ui5loader-dbg.js:2188
Promise.then
Oe @ ui5loader-dbg.js:1923
r @ ui5loader-dbg.js:2184
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:55
Promise.then
(anonymous) @ win1/?key=07ed5b7c-a8a1525b-70c8f17c-005e210b-8bacd9ac-49a44f61-2bf74d5a-edc607b8:35Understand this errorAI