You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Mariosep94 (via GitHub)" <gi...@apache.org> on 2025/04/02 15:23:04 UTC

[D] werkzeug.exceptions.NotFound [superset]

GitHub user Mariosep94 created a discussion: werkzeug.exceptions.NotFound

### Bug description

Trying to install apache superset and i get this error every time.
werkzeug.exceptions.NotFound

` WARNING in ./src/components/Tooltip/index.tsx 23:0-42
superset_node         | export 'TooltipProps' (reexported as 'TooltipProps') was not found in 'antd-v5/lib/tooltip' (possible exports: __esModule, default)
superset_node         | 
superset_node         | WARNING in ./src/components/Tooltip/index.tsx 23:0-42
superset_node         | export 'TooltipPlacement' (reexported as 'TooltipPlacement') was not found in 'antd-v5/lib/tooltip' (possible exports: __esModule, default)
superset_node         | 
superset_node         | ERROR in ./plugins/legacy-plugin-chart-world-map/src/WorldMap.js 27:0-55
superset_node         | Module not found: Error: Can't resolve 'datamaps/dist/datamaps.world.min' in '/app/superset-frontend/plugins/legacy-plugin-chart-world-map/src'
superset_node         | 
superset_node         | ERROR in ./node_modules/react-color/es/components/chrome/ChromeFields.js 17:0-80
superset_node         | Module not found: Error: Can't resolve '@icons/material/UnfoldMoreHorizontalIcon' in '/app/superset-frontend/node_modules/react-color/es/components/chrome'
superset_node         | 
superset_node         | webpack 5.98.0 compiled with 2 errors and 2 warnings in 231576 ms
superset_app          | 2025-04-02 12:03:34,569:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:03:34] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:04:00,026: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:04:00,037: INFO/MainProcess] Task reports.scheduler[09d81432-d797-4c7c-ac77-0c42a4c03766] received
superset_worker       | [2025-04-02 12:04:00,086: INFO/ForkPoolWorker-1] Task reports.scheduler[09d81432-d797-4c7c-ac77-0c42a4c03766] succeeded in 0.03896468599987202s: None
superset_app          | 2025-04-02 12:04:04,630:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:04:04] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:04:07,798:INFO:werkzeug:172.24.0.1 - - [02/Apr/2025 12:04:07] "GET / HTTP/1.1" 302 -
superset_app          | 2025-04-02 12:04:08,091:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect superset: No module named 'pip'
superset_app          | 2025-04-02 12:04:08,873:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect gsheets: No module named 'pip'
superset_app          | 2025-04-02 12:04:08,874:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect shillelagh: No module named 'pip'
superset_app          | 2025-04-02 12:04:08,875:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect shillelagh.apsw: No module named 'pip'
superset_app          | 2025-04-02 12:04:08,902:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect shillelagh.safe: No module named 'pip'
superset_app          | 2025-04-02 12:04:08,958:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect hive: No module named 'thrift'
superset_app          | 2025-04-02 12:04:08,964:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect hive.http: No module named 'thrift'
superset_app          | 2025-04-02 12:04:08,966:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect hive.https: No module named 'thrift'
superset_app          | 2025-04-02 12:04:09,391:INFO:werkzeug:172.24.0.1 - - [02/Apr/2025 12:04:09] "GET /superset/welcome/ HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:04:09,426:WARNING:superset.views.error_handling:HTTPException
superset_app          | Traceback (most recent call last):
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
superset_app          |     rv = self.dispatch_request()
superset_app          |          ^^^^^^^^^^^^^^^^^^^^^^^
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
superset_app          |     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
superset_app          |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 502, in <lambda>
superset_app          |     view_func=lambda **kw: self_ref().send_static_file(**kw),  # type: ignore # noqa: B950
superset_app          |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/flask/scaffold.py", line 317, in send_static_file
superset_app          |     return send_from_directory(
superset_app          |            ^^^^^^^^^^^^^^^^^^^^
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/flask/helpers.py", line 557, in send_from_directory
superset_app          |     return werkzeug.utils.send_from_directory(  # type: ignore[return-value]
superset_app          |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app          |   File "/app/.venv/lib/python3.11/site-packages/werkzeug/utils.py", line 575, in send_from_directory
superset_app          |     raise NotFound()
superset_app          | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
superset_app          | 2025-04-02 12:04:09,433:INFO:werkzeug:172.24.0.1 - - [02/Apr/2025 12:04:09] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
superset_app          | 2025-04-02 12:04:34,707:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:04:34] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:05:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:05:00,006: INFO/MainProcess] Task reports.scheduler[bbc50343-0d4d-4e96-b9e8-009b5495f4f2] received
superset_worker       | [2025-04-02 12:05:00,017: INFO/ForkPoolWorker-1] Task reports.scheduler[bbc50343-0d4d-4e96-b9e8-009b5495f4f2] succeeded in 0.009611226999822975s: None
superset_app          | 2025-04-02 12:05:04,786:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:05:04] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:05:34,853:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:05:34] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:06:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:06:00,005: INFO/MainProcess] Task reports.scheduler[5dc8e4ab-61d6-441d-aceb-323794f7b63d] received
superset_worker       | [2025-04-02 12:06:00,017: INFO/ForkPoolWorker-1] Task reports.scheduler[5dc8e4ab-61d6-441d-aceb-323794f7b63d] succeeded in 0.010219786000106978s: None
superset_app          | 2025-04-02 12:06:04,942:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:06:04] "GET /health HTTP/1.1" 200 -
superset_cache        | 1:M 02 Apr 2025 12:06:19.388 * 100 changes in 300 seconds. Saving...
superset_cache        | 1:M 02 Apr 2025 12:06:19.390 * Background saving started by pid 21
superset_cache        | 21:C 02 Apr 2025 12:06:19.399 * DB saved on disk
superset_cache        | 21:C 02 Apr 2025 12:06:19.400 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
superset_cache        | 1:M 02 Apr 2025 12:06:19.492 * Background saving terminated with success
superset_app          | 2025-04-02 12:06:35,008:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:06:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:07:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:07:00,005: INFO/MainProcess] Task reports.scheduler[aff159ce-e669-49b3-807d-04d797db9ec8] received
superset_worker       | [2025-04-02 12:07:00,042: INFO/ForkPoolWorker-1] Task reports.scheduler[aff159ce-e669-49b3-807d-04d797db9ec8] succeeded in 0.03496300500000871s: None
superset_app          | 2025-04-02 12:07:05,089:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:07:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:07:35,160:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:07:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:08:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:08:00,008: INFO/MainProcess] Task reports.scheduler[9d305b38-b49a-451d-9466-7379fc256bc6] received
superset_worker       | [2025-04-02 12:08:00,018: INFO/ForkPoolWorker-1] Task reports.scheduler[9d305b38-b49a-451d-9466-7379fc256bc6] succeeded in 0.00903990500000873s: None
superset_app          | 2025-04-02 12:08:05,218:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:08:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:08:35,276:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:08:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:09:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:09:00,004: INFO/MainProcess] Task reports.scheduler[436b392a-b25c-4354-b8e7-ea3ff4d4a657] received
superset_worker       | [2025-04-02 12:09:00,022: INFO/ForkPoolWorker-1] Task reports.scheduler[436b392a-b25c-4354-b8e7-ea3ff4d4a657] succeeded in 0.01718725499995344s: None
superset_app          | 2025-04-02 12:09:05,347:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:09:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:09:35,414:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:09:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:10:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:10:00,010: INFO/MainProcess] Task reports.scheduler[84ae4065-e0a0-47d7-9959-be41fe28e908] received
superset_worker       | [2025-04-02 12:10:00,027: INFO/ForkPoolWorker-1] Task reports.scheduler[84ae4065-e0a0-47d7-9959-be41fe28e908] succeeded in 0.015006900999651407s: None
superset_app          | 2025-04-02 12:10:05,487:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:10:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:10:35,542:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:10:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:11:00,001: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:11:00,009: INFO/MainProcess] Task reports.scheduler[ac88c512-1fa5-4ec3-b212-a13789841e2e] received
superset_worker       | [2025-04-02 12:11:00,020: INFO/ForkPoolWorker-1] Task reports.scheduler[ac88c512-1fa5-4ec3-b212-a13789841e2e] succeeded in 0.009052809000422712s: None
superset_app          | 2025-04-02 12:11:05,618:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:11:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:11:35,701:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:11:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:12:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:12:00,005: INFO/MainProcess] Task reports.scheduler[bd7d91b3-8bab-40c4-b83c-72ec14080147] received
superset_worker       | [2025-04-02 12:12:00,018: INFO/ForkPoolWorker-1] Task reports.scheduler[bd7d91b3-8bab-40c4-b83c-72ec14080147] succeeded in 0.01119797000046674s: None
superset_app          | 2025-04-02 12:12:05,756:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:12:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:12:35,811:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:12:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:13:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:13:00,004: INFO/MainProcess] Task reports.scheduler[fc942b1b-19b4-489c-b701-8b2f9f3be2ae] received
superset_worker       | [2025-04-02 12:13:00,013: INFO/ForkPoolWorker-1] Task reports.scheduler[fc942b1b-19b4-489c-b701-8b2f9f3be2ae] succeeded in 0.007341823999922781s: None
superset_cache        | 1:M 02 Apr 2025 12:13:00.106 * 100 changes in 300 seconds. Saving...
superset_cache        | 1:M 02 Apr 2025 12:13:00.107 * Background saving started by pid 22
superset_cache        | 22:C 02 Apr 2025 12:13:00.114 * DB saved on disk
superset_cache        | 22:C 02 Apr 2025 12:13:00.115 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
superset_cache        | 1:M 02 Apr 2025 12:13:00.208 * Background saving terminated with success
superset_app          | 2025-04-02 12:13:05,863:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:13:05] "GET /health HTTP/1.1" 200 -
superset_app          | 2025-04-02 12:13:35,952:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:13:35] "GET /health HTTP/1.1" 200 -
superset_worker_beat  | [2025-04-02 12:14:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker       | [2025-04-02 12:14:00,005: INFO/MainProcess] Task reports.scheduler[802439f3-0d7d-44f5-b3ee-9082ab78add2] received
superset_worker       | [2025-04-02 12:14:00,016: INFO/ForkPoolWorker-1] Task reports.scheduler[802439f3-0d7d-44f5-b3ee-9082ab78add2] succeeded in 0.010331589999623247s: None
superset_app          | 2025-04-02 12:14:06,024:INFO:werkzeug:127.0.0.1 - - [02/Apr/2025 12:14:06] "GET /health HTTP/1.1" 200 -`

i have search everywhere and i tried all the workarounds but nothing works

### Screenshots/recordings

_No response_

### Superset version

master / latest-dev

### Python version

3.9

### Node version

16

### Browser

Chrome

### Additional context

_No response_

### Checklist

- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

GitHub link: https://github.com/apache/superset/discussions/32983

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [D] werkzeug.exceptions.NotFound [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: werkzeug.exceptions.NotFound

<!-- Answer -->
I found a similar open issue regarding the "werkzeug.exceptions.NotFound" error. The suggested solution is to ensure you are accessing Superset through port 9000 by visiting http://localhost:9000 (or your server's address with port 9000). If you encounter 404 errors for static assets, it might be due to the asset building process not being fully completed. Even if docker-compose indicates that the build is complete, the container might still be building assets in the background. Monitor the container logs to confirm when the asset building process is actually finished. Once the complete build process is done, the static assets should be available, and the 404 errors should resolve themselves <sup>[[1]](https://github.com/apache/superset/issues/32976)</sup>.

Additionally, ensure that you are using the recommended versions for running the latest development version of Apache Superset, which are Python 3.10 and Node 18+ <sup>[[1]](https://github.com/apache/superset/issues/32976)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/63a9ff80-f212-45eb-a7d7-60a0025e372e?feedback_type=other)</sup>


GitHub link: https://github.com/apache/superset/discussions/32983#discussioncomment-12702537

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [D] werkzeug.exceptions.NotFound [superset]

Posted by "Mariosep94 (via GitHub)" <gi...@apache.org>.
GitHub user Mariosep94 added a comment to the discussion: werkzeug.exceptions.NotFound

Server port for me is 8080 , also python and node are both on the latest version

GitHub link: https://github.com/apache/superset/discussions/32983#discussioncomment-12710628

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [D] werkzeug.exceptions.NotFound [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: werkzeug.exceptions.NotFound

<!-- Greeting -->
Hey there, @Mariosep94! 👋 I'm here to help you with your Apache Superset installation issue. I can assist with bug fixes, troubleshooting, and answering any questions you have while waiting for a human maintainer.

<!-- Answer -->
I found a similar closed issue related to the "werkzeug.exceptions.NotFound" error, but no solution was found in the comments <sup>[[1]](https://github.com/apache/superset/issues/21881)</sup>.

To resolve the "werkzeug.exceptions.NotFound" error, ensure you are accessing Superset through port 9000 by visiting http://localhost:9000 (or your server's address with port 9000). If you encounter 404 errors for static assets, it might be due to the asset building process not being fully completed. Even if docker-compose indicates that the build is complete, the container might still be building assets in the background. Monitor the container logs to confirm when the asset building process is actually finished. Once the complete build process is done, the static assets should be available, and the 404 errors should resolve themselves <sup>[[2]](https://github.com/apache/superset/issues/32324)</sup><sup>[[3]](https://github.com/apache/superset/issues/31890)</sup>.

Additionally, ensure that you are using the recommended versions for running the latest development version of Apache Superset, which are Python 3.10 and Node 18+ <sup>[[4]](https://github.com/apache/superset/issues/32011)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3750f9a4-0518-499d-9751-52ec7ab2969a?feedback_type=other)</sup>


GitHub link: https://github.com/apache/superset/discussions/32983#discussioncomment-12702519

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org