OpenSfM
OpenSfM copied to clipboard
Wrong Flask resource paths in annotation_gui_gcp
Running python3 annotation_gui_gcp/main.py /data/berlin
the following content is reachable:
The output is:
* Serving Flask app 'main'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (::)
* Running on http://[::1]:5000
* Running on http://[::1]:5000
Press CTRL+C to quit
::1 - - [18/Mar/2024 09:03:42] "GET / HTTP/1.1" 200 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/css/mosaic.css HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/mosaic.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /sequence_view_1 HTTP/1.1" 200 -
::1 - - [18/Mar/2024 09:03:42] "GET /tools HTTP/1.1" 200 -
::1 - - [18/Mar/2024 09:03:42] "GET /current_cp_view HTTP/1.1" 200 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/css/ImageView.css HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/WebView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/ImageView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/ToolsView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/css/ToolsView.css HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/css/ImageView.css HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/WebView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/WebView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/ImageView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/css/ImageView.css HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/WebView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /static/js/ImageView.js HTTP/1.1" 404 -
::1 - - [18/Mar/2024 09:03:42] "GET /favicon.ico HTTP/1.1" 404 -
A workaround for me is moving the folders annotation_gui_gcp/css and annotation_gui_gcp/js to a new sub folder annotation_gui_gcp/static.