dosubot[bot] commented on issue #32324:
URL: https://github.com/apache/superset/issues/32324#issuecomment-2670790168

   <!-- Greeting -->
   Hey @zaizaizhao! I'm here to help you with any bugs, questions, or 
contributions you have for the project while we wait for a human maintainer. 
Let's tackle this together!
   
   <!-- Answer -->
   I found a similar closed issue that might be relevant to your problem: 
[NotFound()werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was 
not found on the server](https://github.com/apache/superset/issues/21881) 
<sup>[[1]](https://github.com/apache/superset/issues/21881)</sup>. This issue 
was related to 404 errors when accessing static files, which seems similar to 
what you're experiencing.
   
   The common cause of a 404 error in Apache Superset when accessing static 
files is that the build process for static assets might not be complete, even 
if `docker-compose` indicates it is done. The container could still be building 
assets in the background. Monitoring the container logs can help confirm when 
the asset building process is actually complete. Once it is done, the 404 
errors should resolve themselves 
<sup>[[2]](https://github.com/apache/superset/issues/31890)</sup>.
   
   Additionally, the warnings about the missing `thrift` module indicate that 
the SQLAlchemy Hive dialect dependencies might not be installed. You can 
resolve this by ensuring the following dependencies are included in your setup:
   
   ```toml
   hive = [
       "pyhive[hive]>=0.6.5;python_version<'3.11'",
       "pyhive[hive_pure_sasl]>=0.7.0",
       "tableschema",
       "thrift>=0.14.1, <1.0.0",
       "thrift_sasl>=0.4.3, < 1.0.0",
   ]
   ```
   
   Make sure these dependencies are installed in your environment to avoid the 
warnings related to the Hive dialect 
<sup>[[3]](https://github.com/apache/superset/blob/master/pyproject.toml)</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/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ff50cb06-b40a-42ca-8300-f766a8e8c2bb?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to