PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : qmapshack crashes when using routino with Belgian database


VVouter
25.01.2016, 23:20
Hello,

I hope it is OK to report in English (I can read German).

Everything that follows is related to:
Windows 7 Pro 64bit service pack 1
qmapshack 1.5.1 (QMapShack_Install_Windows64bit__1.5.1p1627Qt5.5.e xe)

I get a consistent crash when performing the following actions:

Creating a routino database for Belgium using the OSM file belgium-latest.osm.pbf downloaded from http://download.geofabrik.de/europe.html
The creation of the database works perfectly.

Opening the small window where the user can add paths to the folders containing routino database files.
Clicking the "+" icon to add a folder.
Browsing for my folder with the routino database files I just created and confirming by clicking the "select folder" button.
I see now that the path is added in the small window.
When I click "OK" I get a pop-up window with an error message saying that qmapshack doesn't work anymore and is closed (actual message is in Dutch).

I did a couple of experiments with other database files:

using norway-latest.osm.pbf downloaded from http://download.geofabrik.de/europe.html --> no problem, offline routing just works
using luxembourg-latest.osm.pbf downloaded from http://download.geofabrik.de/europe.html --> no problem, offline routing just works
using belgium-latest.osm.pbf + luxembourg-latest.osm.pbf (for a combined database) downloaded from http://download.geofabrik.de/europe.html --> crash
using planet-benelux-141121.osm.pbf (this data is more than 1 year old) downloaded from http://mirror.openstreetmap.nl/planet/benelux/ --> crash

So there seems to go something wrong when using routino database files created from the Belgian osm data. And it doesn't seem to be related to the release date of the OSM data.

Any thoughts?

Best regards,
Wouter

kiozen
26.01.2016, 08:36
Hi Wouter,

I have tried it with


using belgium-latest.osm.pbf + luxembourg-latest.osm.pbf (for a combined database) downloaded from http://download.geofabrik.de/europe.html --> crash
and it works. I didn't use the official release. I used a test release:

https://bitbucket.org/huirad/test/downloads/QMapShack_Install_Windows64bit__1.5.1p1940Qt5.5.ex e

You might give it a try.

VVouter
26.01.2016, 22:56
Hello,

Thank you for your reply.

I first tried with the proposed test release and it worked too but only after I recreated the routino database. With my original database I still get a crash.

Since I didn't store the original belgium-latest.osm.pbf file I had to download it again from geofabrik.de and it seems the file was updated since my initial test. So maybe there is something wrong with the osm file I downloaded some time ago?

I did a second test with qmapshack 1.5.1 and got the same behaviour: crashing with the old database and fine with the newly created database.

I will now try again with the file planet-benelux-141121.osm.pbf from http://mirror.openstreetmap.nl/planet/benelux/ (http://mirror.openstreetmap.nl/planet/benelux/planet-benelux-141121.osm.pbf)
It seems that file was not updated in the mean time.

Wouter

VVouter
26.01.2016, 23:02
I just saw that I can still get the older versions of the osm files from geofabrik.de. I will do some test with them and come back tomorrow.

Wouter

VVouter
27.01.2016, 10:34
Hello,

I found the cause of the problem.

When the path to the routino database files contains a character with a trema, qmapshack crashes. In my case I had a folder called "BelgiŽ" (Dutch version of "Belgium"). Renaming that folder to "Belgie" solved the issue.

I did this test with version 1.5.1

Have a nice day,

Wouter

kiozen
27.01.2016, 10:44
Ok, Utf-8 on Windows is still a PITA.