maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Native offline maps: OSM Scout Server (https://talk.maemo.org/showthread.php?t=97823)

atlochowski 2019-10-30 06:47

Re: [Announce] Native offline maps: OSM Scout Server
 
@rinigus at transifex there is string "Banner photo by %1 (%2 licanse).". I think it should be "Banner photo by %1 (%2 license)."

rinigus 2019-10-30 07:11

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by atlochowski (Post 1561336)
@rinigus at transifex there is string "Banner photo by %1 (%2 licanse).". I think it should be "Banner photo by %1 (%2 license)."

:) that's a typo in the source code, thanks for reporting

BGK 2019-11-11 16:10

Re: [Announce] Native offline maps: OSM Scout Server
 
Using Pure Maps 1.26.1 and OSMSS 1.15.5-1.120.1.jolla something strange is happening at the moment:

When searching for adresses in PM (since upgrading to the current versions of PM, OSMSS and maps), I always get the feedback "no results" ("Keine Ergebnisse") (so that I'm not able to calculate any routes), whereas defining the destination via long press on the map and using the navigation on the bottom of the screen the navigation to this point is possible.

When starting OSMSS via terminal ("harbour-osmscout-server") and searching for an adress in PM, OSMSS obviousely gets killed by a segmentation fault ("Speicherzugriffsfehler") without any further information.

Profile in PM is "Offline", in OSMSS "standard" ("Vorgabe"), all other settings should be default. Reboots didn't help.

Any ideas? :confused: :rolleyes:

rinigus 2019-11-11 16:27

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by BGK (Post 1561820)
Using Pure Maps 1.26.1 and OSMSS 1.15.5-1.120.1.jolla something strange is happening at the moment:

When searching for adresses in PM (since upgrading to the current versions of PM, OSMSS and maps), I always get the feedback "no results" ("Keine Ergebnisse") (so that I'm not able to calculate any routes), whereas defining the destination via long press on the map and using the navigation on the bottom of the screen the navigation to this point is possible.

When starting OSMSS via terminal ("harbour-osmscout-server") and searching for an adress in PM, OSMSS obviousely gets killed by a segmentation fault ("Speicherzugriffsfehler") without any further information.

Profile in PM is "Offline", in OSMSS "standard" ("Vorgabe"), all other settings should be default. Reboots didn't help.

Any ideas? :confused: :rolleyes:

Which SFOS version do you have?

BGK 2019-11-11 16:43

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1561821)
Which SFOS version do you have?

3.1.0.11 (settings -> product information tells "build: 3.1.0.11+omp0.1.3.13"), no patch manager or other patches, device is INOI R7.

Just noticed, there's an update available to 3.2.0.12...

rinigus 2019-11-11 16:53

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by BGK (Post 1561822)
3.2.0.12 (settings -> product information tells "build: 3.1.0.11+omp0.1.3.13"), device is INOI R7.

I am still on SFOS 3.1. maybe there are some changes in libs that lead to it. But then I would expect segmentation fault in OSMSS to occur on start.

If you are up to it, try to run harbour-osmscout-server from debugger and get backtrace. Or, alternatively, try to get strace

BGK 2019-11-11 17:12

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1561823)
I am still on SFOS 3.1.

So am I (had to correct the last post) at the moment...

Quote:

Originally Posted by rinigus (Post 1561823)
If you are up to it, try to run harbour-osmscout-server from debugger and get backtrace.

How to do this?

rinigus 2019-11-11 17:41

Re: [Announce] Native offline maps: OSM Scout Server
 
If its on 3.1, it should work. Try to move maps data away or make new folder and see if download of maps data will help

BGK 2019-11-11 18:54

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1561829)
If its on 3.1, it should work.

It is. I'm trying to suppress the wish to update to 3.2, which would be possible since today... :)

Quote:

Originally Posted by rinigus (Post 1561829)
Try to move maps data away or make new folder and see if download of maps data will help

Any other chance to look under the hood without re-downloading all maps (poor connection at the moment)?

I'm trying to debug via IDE (device connected via USB, developer mode activated on device, connection can be established, processes can be selected) but get

"Cannot attach to process [PID]: Operation not permitted (1)
Exiting"

rinigus 2019-11-11 19:27

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by BGK (Post 1561832)
It is. I'm trying to suppress the wish to update to 3.2, which would be possible since today... :)



Any other chance to look under the hood without re-downloading all maps (poor connection at the moment)?

I'm trying to debug via IDE (device connected via USB, developer mode activated on device, connection can be established, processes can be selected) but get

"Cannot attach to process [PID]: Operation not permitted (1)
Exiting"

You could run OSMSS from gdb. See gdb manuals how. On crash, get backtrace for all the threads (quick search should tell you how).

As for debugging from IDE/... , never used it and cannot help


All times are GMT. The time now is 03:44.

vBulletin® Version 3.8.8