Active Topics

 



Notices


Reply
Thread Tools
Posts: 55 | Thanked: 206 times | Joined on Mar 2019
#731
Got the address search in PM working again (without debugging via IDE) - here's what I did:

  • connected device via USB with developer mode on
  • opened a remote shell (within IDE)
  • started "harbour-osmscout-server" via remote shell and PM on device
  • (when trying to search for an address in PM) terminal output of started OSMSS told me: "ERR Error loading transliteration module, dir=/run/media/nemo/[sdcard-ID}/Maps.OSM/postal/global-v1/transliteration/transliteration.dat
    at libpostal_setup_datadir (libpostal.c:266) errno: None"
  • made a backup of "transliteration.dat" and deleted the original file
  • closed OSMSS in terminal and restarted it again
  • OSMSS's map manager told me "Missing data: Adress parsing language support (106,527,869 [sic!])", downloaded this by clicking "start download"
  • yeah, address search in PM is working again...

BTW: when starting OSMSS via shell I get

"library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found"

as well as

"[W] unknown:57 - file:///usr/share/harbour-osmscout-server/qml/platform/PagePL.qml:57:9: QML Loader: Binding loop detected for property "active""

(but seem no negative effect)
 

The Following 5 Users Say Thank You to BGK For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#732
So, it seems that the issue was due to the corrupted file. Thanks for reporting!

As for other issues:

binding loop is probably some smaller bug of mine;

GLES lib - that's something on your platform.

Don't think that they are that critical
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
Posts: 55 | Thanked: 206 times | Joined on Mar 2019
#733
As I'm always trying to learn: Could you explain
  • what transliteration.dat is for and how could it be corrupted?
  • what the other issues are about?
 

The Following 2 Users Say Thank You to BGK For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#734
Originally Posted by BGK View Post
As I'm always trying to learn: Could you explain
  • what transliteration.dat is for and how could it be corrupted?
  • what the other issues are about?
Sure. transliteration.dat is one of the datasets used by libpostal to parse addresses. For illustrations of what does it do, go to https://github.com/openvenues/libpos...les-of-parsing and scroll down to normalization as well.

fun fact: OSMSS was, to my knowledge, the first on mobile to use this library.

we use libpostal as a core for geocoder - the library that finds coordinates on the basis of your string. out of these datasets used by libpostal, transliteration is, as far as I can guess, used to make from Привет to privet. As a result, you can search for addresses even if you don't have the same chars on your keyboard.


Issues are many:

https://github.com/rinigus/osmscout-server/issues
https://github.com/rinigus/geocoder-nlp/issues
https://github.com/rinigus/mapbox-gl-styles/issues

to name few places.
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
Posts: 55 | Thanked: 206 times | Joined on Mar 2019
#735
Originally Posted by rinigus View Post
Sure. transliteration.dat is one of the datasets used by libpostal to parse addresses. For illustrations of what does it do, go to https://github.com/openvenues/libpos...les-of-parsing and scroll down to normalization as well.
Great, thank you!

Originally Posted by rinigus View Post
Issues are many:
I had binding loop and GLES lib in mind... But thanx for hinting anyway...
 

The Following 2 Users Say Thank You to BGK For This Useful Post:
Posts: 55 | Thanked: 206 times | Joined on Mar 2019
#736
Hi rinigus,

seems I found a bug in version 1.15.5-1.120.1.jolla:

Using OSMSS in german language, it is possible to switch profile from "Vorgabe" (standard) to "Benutzerdefiniert" (user defined?).

But if you try to switch back to standard profile, this isn't possible - if you open the profile page again, it still tells you "Benutzerdefiniert".
 

The Following 5 Users Say Thank You to BGK For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#737
Originally Posted by BGK View Post
Hi rinigus,

seems I found a bug in version 1.15.5-1.120.1.jolla:

Using OSMSS in german language, it is possible to switch profile from "Vorgabe" (standard) to "Benutzerdefiniert" (user defined?).

But if you try to switch back to standard profile, this isn't possible - if you open the profile page again, it still tells you "Benutzerdefiniert".
yes, can reproduce it in English as well. thanks for reporting.
 

The Following 5 Users Say Thank You to rinigus For This Useful Post:
pacman's Avatar
Posts: 89 | Thanked: 532 times | Joined on Sep 2015
#738
Originally Posted by BGK View Post
Hi rinigus,

seems I found a bug in version 1.15.5-1.120.1.jolla:

Using OSMSS in german language, it is possible to switch profile from "Vorgabe" (standard) to "Benutzerdefiniert" (user defined?).

But if you try to switch back to standard profile, this isn't possible - if you open the profile page again, it still tells you "Benutzerdefiniert".
I can confirm this in English as well: after switching from "Default" to "Custom", I can't change back to "Default". I can change to any of the other profiles, but there seems to be no path back to "Default". I tried stopping and starting OSM Scout again, and also unsubscribing from everything and cleaning up, but I can't get back to default. I also tried to 'rm -rf' from .cache/harbor-osmscout-server, but it didn't help.
 

The Following 4 Users Say Thank You to pacman For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#739
For those looking for tmp resolution and wishing to go back to the default profile:

* close osm scout server
* open a terminal or (better) login into phone with ssh
* vi ~/.config/harbour-osmscout-server/harbour-osmscout-server.conf
* scroll towards the end and change to `profile=0` under [server-general] section

Profile should be back to default
 

The Following 7 Users Say Thank You to rinigus For This Useful Post:
Posts: 55 | Thanked: 206 times | Joined on Mar 2019
#740
Originally Posted by rinigus View Post
For those looking for tmp resolution and wishing to go back to the default profile:
Thanks - that worked!
 

The Following 5 Users Say Thank You to BGK For This Useful Post:
Reply

Tags
geocoder, linux, offline maps, router, sailfish os, tiles


 
Forum Jump


All times are GMT. The time now is 14:48.