fuomag9 commented on issue #30183:
URL: https://github.com/apache/superset/issues/30183#issuecomment-2460978861

   > I think it may matter in this case, from my experience, running `docker 
compose up` after say a rebase where `requirements.txt` has changed, won't run 
a build cycle while the app will now require the new lib and fail. Seems like 
the very existence of `--build` as an argument says that it won't build by 
default. Though note that if the image does not exist at all it will have to 
build. Note that this only affects docker-compose.yml and not the 2 other files 
as the former references a `Dockerfile` while others reference properly labeled 
image that are consistent with themselves.
   > 
   > Please try running it and report back.
   > 
   > Related: #30864
   
   As expected, this does not fix the issue even after running. I can replicate 
this on another machine as well
   
   ```
   superset_app          | 2024-11-06 
23:11:00,682:WARNING:superset.views.error_handling:HTTPException
   superset_app          | Traceback (most recent call last):
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
   superset_app          |     rv = self.dispatch_request()
   superset_app          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/site-packages/flask/scaffold.py", line 317, in 
send_static_file
   superset_app          |     return send_from_directory(
   superset_app          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/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          | 2024-11-06 23:11:00,683:INFO:werkzeug:172.18.0.1 - - 
[06/Nov/2024 23:11:00] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
   superset_app          | 2024-11-06 
23:11:00,686:WARNING:superset.views.error_handling:HTTPException
   superset_app          | Traceback (most recent call last):
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
   superset_app          |     rv = self.dispatch_request()
   superset_app          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/site-packages/flask/scaffold.py", line 317, in 
send_static_file
   superset_app          |     return send_from_directory(
   superset_app          |   File 
"/usr/local/lib/python3.10/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          |   File 
"/usr/local/lib/python3.10/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          | 2024-11-06 23:11:00,687:INFO:werkzeug:172.18.0.1 - - 
[06/Nov/2024 23:11:00] "GET /static/assets/images/favicon.png HTTP/1.1" 404 -
   ```


-- 
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