Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not finished download can't resume. #63

Open
Popolon opened this issue Nov 8, 2023 · 3 comments
Open

Not finished download can't resume. #63

Popolon opened this issue Nov 8, 2023 · 3 comments

Comments

@Popolon
Copy link

Popolon commented Nov 8, 2023

I started to download the France datas (on a Linux mobile Phone), but my phone gone out of battery. As a result, download in incomplete, and it is impossible de resume the download. The arrow blink when I click on it, and that's all.

Tied the same thing on desktop Linux, and I can see the following message (i will try to fix "christian_church" (that should be church + appropriate tags),that is probably a problem in an element naming in OSM itself:

qml: installedMapsModel rows: 1
qml: mapDownloadsModel rows: 0
qml: Map download failed: Directory already exists
Basemap found and loaded from ' "/data/users/popolon/osmin/resources/world" '...
1768,10 Warning: Unknown type 'christian_church'
qml: Application state changed to suspended

maybe an rsync, an http resume, or something like that could help to not having do drop the whole directory (here removing europe-france-20230301-092417/ resolved the issue.

@janbar
Copy link
Owner

janbar commented Nov 9, 2023

You have done the right thing to clean up the failed download. To fix this, we have to handle this case in the download flow from the backend. I guess the latter doesn't try to delete an unknown or invalid map folder in the tree (folder maps).

@janbar
Copy link
Owner

janbar commented Nov 9, 2023

For the second, some types (i.e christian_church) aren't defined. So it is just a warning. For this case the existing types are:
christian_church_building, christian_chapel_building, jewish_synagogue_building, muslim_mosque_building,

@janbar
Copy link
Owner

janbar commented Nov 10, 2023

Fixed in release 1.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants