AliFlux / MapTilesDownloader

A super easy to use map tiles downloader built using Python
MIT License
427 stars 125 forks source link

Missing file ./UI/favicon.ico #34

Open SevenTae opened 1 year ago

SevenTae commented 1 year ago

An error occurred when I opened the “http://localhost:8080/” FileNotFoundError: [Errno 2] No such file or directory: './UI/favicon.ico'. I searched the entire engineering project but couldn't find it. I pray you can give me a solution.

StavroK commented 1 year ago

@SevenTae I am also experiencing the same issue. @AliFlux appreciate it if you could include the file in the directory requested at line 219 "server.py" program.

jeremy-block commented 1 year ago

This Error might be due to running server.py from the root project directory. I saw a similar issue when I tried running $python src/server.py in terminal from the MapTilesDownloader-master folder. When I moved (cd) to the MapTilesDownloader-master/src/ and ran $python server.py this error went away. - Still not seeing a map loading, but the other UI components resolve in my browser.

philosadelphos commented 1 year ago

I'm having the same error, it starts with: 127.0.0.1 - - [10/Nov/2023 19:45:23] "GET /favicon.ico HTTP/1.1" 200 - ... and finishes as: FileNotFoundError: [Errno 2] No such file or directory: './UI/favicon.ico' The http://localhost:8080/ is blank: no map

islandtriumph96 commented 1 year ago

I'm having the same error, it starts with: 127.0.0.1 - - [10/Nov/2023 19:45:23] "GET /favicon.ico HTTP/1.1" 200 - ... and finishes as: FileNotFoundError: [Errno 2] No such file or directory: './UI/favicon.ico' The http://localhost:8080/ is blank: no map

Once I replaced the access token for mapbox everything ended up working. I had this issue too.

islandtriumph96 commented 1 year ago

I'm having the same error, it starts with: 127.0.0.1 - - [10/Nov/2023 19:45:23] "GET /favicon.ico HTTP/1.1" 200 - ... and finishes as: FileNotFoundError: [Errno 2] No such file or directory: './UI/favicon.ico' The http://localhost:8080/ is blank: no map

https://github.com/AliFlux/MapTilesDownloader/issues/36#issuecomment-1740682708

SpatialQuant commented 10 months ago

I also received this error when I first ran the server.py script. After creating a MapBox account and acquiring a new token (see Issue #36), the error was resolved and the application ran with no issues.