View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1597
Originally Posted by petur View Post
On playing a bit more with this, it seems to happen a lot on 2G connections and far less on 3G.

So I'm guessing the download times out too fast and/or doesn't do a retry?
I've had some reports about modRana not retrying failed downloads. There are basically two download error types - fatal and temporary. The fatal types usually happen if the tile server can be reached bud outright refuses to cooperate (returns 404, 503 a something that is not a tile - usually an error page). The temporary errors usually happen if the server or network connectivity becomes temporarily unavailable. These errors should be recoverable and modRana should retry those tiles after a while. But I haven't looked at the code responsible in quite while, will have to check if it still works.

Originally Posted by petur View Post
I wonder what changed in this department, as I could (in the past) drive around using a 2G connection and the downloads worked - sometimes a tile took a bit longer, maybe those are the tiles that now fail.

I also tried to move the map enough to make the failed tile drop from the drawing cache, but that trick also fails.

If there's anything to try just let me know.
That's weird - once the tile is flushed from the cache its state is pretty much reset and the whole down-/load procedure should run with a "clean" slate. What if you quit modRana and then start it again ? Does it download those tiles or still has issues with them ?

You can also enable Print tile cache status to terminal and Tile loading status to terminal in Options->Debug and see if the output sheds some light on the issue. Also for some download errors it reports the tile URL it tried to reach so you can try if you can download those URLs by wget, browser, etc.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 3 Users Say Thank You to MartinK For This Useful Post: