I am trying to get OSM Scout Server working with Pure Maps so that I can use Pure Maps offline. OSM Scout Server is not working for me. After I download a map, it just says “server stopped”. Here are the steps I took to produce the problem.
I’m running PureOS on the Librem 5 and installed Pure Maps using the command:
$ flatpak install flathub io.github.rinigus.PureMpas
which worked. I was able to open Pure Maps and navigate with GPS. I then installed OSM Scout Server using the command:
$ flatpak install flathub io.github.rinigus.OSMScoutServer
which installed without any apparent problems. I started OSM Scout Server using the following terminal command:
$ flatpak run io.github.rinigus.OSMScoutServer
I then opened “Map Manager” in OSM Scout Server and downloaded Mapbox GL World overlay, Mapbox GL fonts, and Address parsing language support. These downloads appeared to complete without problem.
I opened Pure Maps and under “Profile” selected “Offline”. I was able to use the low-resolution world map offline in Pure Maps.
Then, in OSM Scout Server, I opened “Map Manager” and clicked “Subscribe” and selected North America / US / Hawaii and clicked “Start download”. After it downloaded, there was a message that said, “Unpacking files”. After about 30 seconds I got a message that said:
“Error”
“OSM Scout Server is not reachable. Waiting for it to appear.”
In terminal, I got the following output:
kf.kirigami: Failed to find a Kirigami platform plugin
file:///usr/lib/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:76:5: QML Binding: Binding loop detected for property “value”
qrc:/qml/elemenCountryListItem.qml:26: TypeError: Cannot read property ‘width’ of null
…
qrc:/qml/StartPage.qml:283: SyntaxError: JSON.parse: Parseerror
This output didn’t change for at least 10 minutes, so I closed OSM Scout Server and ran it again. This time, I got a screen which said:
“Initializing and waiting for connection with the server”
and text which briefly said, “Activating server via DBus” before changing to “Server Stopped”. I get the following output in the terminal:
kf.kirigmi: Failed to find a Kirigami platform plugin
file:///usr/lib/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:76:5: QML Binding: Binding loop detected for property “value”
The “server stopped” error message persisted for at least 10 minutes until I closed OSM Scout Server.
OSM Scout Server created a “Maps.OSM” directory in my home directory. When I delete this directory, I am able to start OSM Scout Server again and return to the Map Management screen. However, when I try to download a map again, the same process above repeats.
Please let me know if there is something I am doing wrong.