maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

Feathers McGraw 2017-01-31 09:11

Re: [Announce] modRana: a flexible GPS navigation system
 
MartinK,

I can't get any maps to show up in the latest version of Modrana (I get a black screen with the icons overlaid).

I've tried both the default maps, and OSM Scout Server.

Any ideas what it could be? I'm running SFOS 2.0.5.6 on Fairphone 2.

rinigus 2017-01-31 09:46

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Feathers McGraw (Post 1522652)
MartinK,

I can't get any maps to show up in the latest version of Modrana (I get a black screen with the icons overlaid).

I've tried both the default maps, and OSM Scout Server.

Any ideas what it could be? I'm running SFOS 2.0.5.6 on Fairphone 2.

Same for me: https://github.com/M4rtinK/modrana/issues/186 .

MartinK 2017-02-01 23:02

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Feathers McGraw (Post 1522652)
MartinK,

I can't get any maps to show up in the latest version of Modrana (I get a black screen with the icons overlaid).

I've tried both the default maps, and OSM Scout Server.

Any ideas what it could be? I'm running SFOS 2.0.5.6 on Fairphone 2.

Quote:

Originally Posted by rinigus (Post 1522653)

I've made an instrumented modRana branch that prints additional information about map drawing - it would be very helpful if you could run it & post the output (output.txt). It can be done like this:

Code:

git clone https://github.com/M4rtinK/modrana
cd modrana
git checkout master-no_tiles_debug
cd run
./sailfish.sh >output.txt 2>&1

Thanks a lot in advance! :)

rinigus 2017-02-02 06:46

Re: [Announce] modRana: a flexible GPS navigation system
 
@MartinK, the output was uploaded to github.

@Feathers McGraw: to get ./sailfish working, I had to follow https://together.jolla.com/question/...n-without-sdk/ , @MartinK's answer.

Feathers McGraw 2017-02-02 09:07

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by rinigus (Post 1522736)
@MartinK, the output was uploaded to github.

@Feathers McGraw: to get ./sailfish working, I had to follow https://together.jolla.com/question/...n-without-sdk/ , @MartinK's answer.

Thanks, I just did it all straight from the device!

lfc22 2017-02-03 19:31

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by rinigus (Post 1522736)
@MartinK, the output was uploaded to github.

@Feathers McGraw: to get ./sailfish working, I had to follow https://together.jolla.com/question/...n-without-sdk/ , @MartinK's answer.

Also have a black screen.

Edit: one observation, when rotating from portrait to landscape or vice versa, the map becomes visible for a fraction of a second, sort of flickers and then goes back to black. BTW, device is opx

MikeHG 2017-02-10 16:22

Re: [Announce] modRana: a flexible GPS navigation system
 
Something has gone a bit skewiff for me since the 2.1.0.9 update (or possibly the 0.54.3 modRana update) on the Jolla 1 - basically map layer changes (including the base layer) don't seem to stick unless I close then reopen modRana.

Is everyone seeing this? I'll try to get some repro steps and logs together and file a proper bug report later otherwise.

fin2cv 2017-02-13 08:05

Re: [Announce] modRana: a flexible GPS navigation system
 
Perhaps a silly question, but does modRana work in Jolla C?

MartinK 2017-02-14 00:59

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by rinigus (Post 1522736)
@MartinK, the output was uploaded to github.

@Feathers McGraw: to get ./sailfish working, I had to follow https://together.jolla.com/question/...n-without-sdk/ , @MartinK's answer.

Quote:

Originally Posted by Feathers McGraw (Post 1522740)
Thanks, I just did it all straight from the device!

Thanks a lot for the logs! I've only now got to properly look at them due to recently fighting a nasty flu-like illness and general lack of time.

Surprisingly I haven't found any direct evidence what might be wrong - the logs are pretty similar to the output I get on my Jolla, but there are more tiles on the screen (1080p vs 720p) and the actions generally seems to take less time (faster CPU - race condition potential ?).

It also seems that the tiles model is working correctly - there is the correct number of tiles in the model and the web Mercator coordinates of the map corners also generally look sane. There are even some tile debugging calls in one of the log files that confirm the corresponding tile images do exist and are being loaded - they are just not shown for some reason! :)

I've also checked and the issue is not just due to the 1080p resolution - I've created a 3000x3000 pixel local VNC server screen and run modRana in 1080p (both portrait and landscape) on it and the issue did not manifest. Also as mentioned earlier, it does not happen on the Jolla Tablet, which has even higher resolution.

So I'll continue studying the logs and will probably add a few more commits to that debugging branch, mostly adding more logging and maybe also trying some stuff, like:
- setting allowed window orientations, there are some error messages about that (I don't have those warnings on Jolla C)
- logging tile screen coordinates (to check the tile coordinates are correctly translated to screen coordinates)
- disabling asynchronous tile model updates (to remove the possibility they are causing this)

I will certainly let you know when I'm that far & will again need your help with running that branch again on your affected devices. Thanks in advance! :)

MartinK 2017-02-14 01:13

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MikeHG (Post 1523280)
Something has gone a bit skewiff for me since the 2.1.0.9 update (or possibly the 0.54.3 modRana update) on the Jolla 1 - basically map layer changes (including the base layer) don't seem to stick unless I close then reopen modRana.

Is everyone seeing this? I'll try to get some repro steps and logs together and file a proper bug report later otherwise.

I've been seeing that sporadically but have not been able to find a clear reproducer yet. Does it happen every time or do you need to a series of actions for it to happen ?

It would certainly help to get a log from when it happens (layer change not taking effect) - just attach it here or feel free to open a bug on GitHub. Thanks in advance! :)

Quote:

Originally Posted by fin2cv (Post 1523408)
Perhaps a silly question, but does modRana work in Jolla C?

It should work just fine! :)

In fact Jolla C is currently even my primary (not only) development device. :) It should also work fine on the original Jolla and the Jolla Tablet and other devices running Sailfish OS.

If you are afraid of the black-screen issues reported up-thread in new modRana version - these seems to so far only affect Sailfish OS ports running on a device with a 1080p screen (1080x1920 in portrait) and according to Ringius non-1080p ported devices (such as the Nexus 4) work fine.

robthebold 2017-03-06 16:19

Re: [Announce] modRana: a flexible GPS navigation system
 
Any word on the 'black screen of no maps' on oneplus x? I'm seeing the issue and woukd br happy to help with testing.

Thanks! Other than not seeing maps in latest version I love this program! (I know, 'other than that how was the play mrs lincoln?')

MartinK 2017-03-14 22:13

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by robthebold (Post 1524922)
Any word on the 'black screen of no maps' on oneplus x? I'm seeing the issue and woukd br happy to help with testing.

Thanks! Other than not seeing maps in latest version I love this program! (I know, 'other than that how was the play mrs lincoln?')

I sure know about this - at the moment I'm preparing a modRana bugfix release (should fix the map layer switching bug) and after that I plan to return my attention to debugging the 1080p-black-screen issue, primarily in the form of adding more debugging messages, so I can track the issue down. In any case I suggest watching (or even subscribing to) this issue on GitHub:
https://github.com/M4rtinK/modrana/issues/186

That's at the moment probably the best place where to watch for progress in this matter, even though I'll probably also post updates to this thread.

And sorry for this taking so long - the issue seems rather hard to crack so far. My current theory is that it's either some pretty particular race condition (happens at 1080p only, not above or below & only on Sailfish OS) or even possibly some platform adaptation glitch modRana manages to hit on the ex-Android 1080p devices running Sailfish OS.

Actually the two devices seem almost identical in screen (1080x1920), SoC (Snapdragon 801) and GPU (Adreno 330), so I guess a similar hardware adaptation/drivers are used for both ?

It would hardly be the first Sailfish OS specific weirdness I've hit during modRana development:
[bug] MouseEvent x and y properties are floats
[bug] Some QtQuick Canvas drawing coordinates cause application-wide deadlock

BTW, so far the issue seems to happen on Fairphone 2 and OnePlusX - could someone with Sailfish OS running on a phone with 1080p screen verify if current modRana runs fine or if it has similar issues ? That could help narrow the search for a cause down.

If it also happens, it would be more likely some modRana side algorithm is at fault. If modRana works fine then it would be likely specific hardware adaptation glitch is at fault.

mosen 2017-03-14 22:18

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1525424)
could someone with Sailfish OS running on a phone with 1080p screen verify if current modRana runs fine or if it has similar issues ?

Also on Nexus 5 i get black map screen.

MartinK 2017-03-19 16:15

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.54.4 has been released!

This is mostly a bugfix release fixing various bugs. :)

Changelog

Code:

- Fix map layer switching
- Fix layer opacity setting
- Sort POI search results by distance
- Notification popups should now rotate correctly on Sailfish OS
- Clear on-map long-press menu when map is clicked
- Fix map canvas debug option not being persistent
- Note which POI search methods are online and which can work with on-device data
- Log PyOtherSide version during startup
- Log how long it took to find a route
- Fix returning of results for Monav-based offline routing

Black map screen on ported 1080p devices

Next I plan to finally get back to debugging of the map-is-black-on-ported-1080p-devices issue. :) This release does not have any fixes specific for that, but it would still be helpful if someone who is affected could try to update to 0.54.4 and see if the black-map issue still persists & behaves the same (map is visible for a split second when device is rotated, etc.).

It's quite possible it's a race-condition of some sort, so the various fixes, even though not directly related, could influence it.

Also, is there already someone running Sailfish OS 2.1.0 one a 1080p ported device ? It would be possibly quite interesting to know if the updated Qt 5.6 in 2.1.0 changes behavior of the black-map-screen issue.

Edit: 19.03.2017 18:01
Looks like the issues no longer manifests on ported devices with Sailfish OS 2.1.0/Qt 5.6!

mal, the heroic Sailfish OS porter reports that the black-map issue no longer happens on Fairphone 2 & OnePlus X as long as they are running Sailfish OS 2.1.x, while the issue can still be reliably reproduced with Sailfish OS <2.1.x.

Thanks yet again to mal for helping to find the cause (Sailfish OS <2.1.x & old Qt) & solution (update to Sailfish OS 2.1.x)! :)

MartinK 2017-03-25 12:39

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.54.5 has been released!
It is now possible to set opacity for routes, tracklogs and the track logging trace, so that you can see what's underneath while still seeing the route/tracklog/trace.

Also thanks to AL13N for suggesting this in the Jolla Store comments! :)

Changelog
Code:

- it is now possible to set opacity for routes, tracklogs
  and the track logging trace


handaxe 2017-03-27 09:22

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1521899)
Well, not really - I just haven't got to test some of the new stuff on my N900, which I see as a precondition to releasing a new version. Once I get to that I'll also release a new version for the N900. :)

Perhaps link a deb here for n900 users and ask for testing?

Or declare the n900 development over, which is understandable and your absolute right. Otherwise, the device sits in limbo....

My 2c worth :-)

HA

MartinK 2017-03-27 11:13

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by handaxe (Post 1526028)
Perhaps link a deb here for n900 users and ask for testing?

For quite some time I've been using the Maemo Autobuilder to create deb packages and those go directly to Extras Devel, from where I expect most people get their software nowadays. And I'm afraid I'm no longer setup to create correct Maemo-style deb files locally - that's why I want to test modRana at least bit before submitting a new build to autobuilder.

On the other hand, you can just grab the latest tarball:
http://modrana.org/tarballs/modrana/...-0.54.5.tar.gz

Unpack it and then run modrana.py from the resulting directory - it should detect it's running on the N900 and behave accordingly. If you can help test modRana like this it would be really helpful! Don't hesitate to report any weird behavior, crashes, etc. :) And thanks in advance! :)

justmemory 2017-03-27 11:47

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1526034)
For quite some time I've been using the Maemo Autobuilder to create deb packages and those go directly to Extras Devel, from where I expect most people get their software nowadays. And I'm afraid I'm no longer setup to create correct Maemo-style deb files locally - that's why I want to test modRana at least bit before submitting a new build to autobuilder.

On the other hand, you can just grab the latest tarball:
http://modrana.org/tarballs/modrana/...-0.54.5.tar.gz

Unpack it and then run modrana.py from the resulting directory - it should detect it's running on the N900 and behave accordingly. If you can help test modRana like this it would be really helpful! Don't hesitate to report any weird behavior, crashes, etc. :) And thanks in advance! :)

Hi, MartinK!

First of all, thanks for the update!

Tried this version with my n900 and first major problem is that in this version offline routing is not working however at the same time it is working OK with version 0.53.1 (last official version for Maemo).

jm

EDIT:// running from terminal the relevant section is maybe:
DEBUG mod.route: routing provider ID: Monav
ERROR mod.route: unknown rounting provider ID: Monav

justmemory 2017-03-28 08:31

Re: [Announce] modRana: a flexible GPS navigation system
 
Hi MartinK!

I managed to get offline routing work (tried with foot, car, bicycle) - well almost. Address to address and handmade still does not work.

What I did:
- changed routing provider from Monav to Monav server ("Monav" stuck from earlier version of modrana I guess as it now allows only "Monav server" and "Google online"...)

- /core/bundle/signals_pb2.py - comment out line 6 (from __google.protobuf import descriptor_pb2) as it claimed that cannot import it.

- /core/monav_support.py - changed line 25: import simplejson as json (a "try" - "except" method would be better, it is just a simple solution) as it claimed that cannot import json.

- /core/routing_providers.py - changed line 60: result = self._monav_directions(waypoints, route_params) - as it claimed that it takes 3 argument but provided 2.

- /core/way.py - changed all node/Node.lat and node/Node.lon to node/Node.latitude and node/Node.longitude as it claimed that node/Node has no attribute lat.

- /core/instructions_generator.py - changed all node/Node.lat and node/Node.lon to node/Node.latitude node/Node.longitude as it claimed that node/Node has no attribute lat.

For address to address routing I get the following error: waypoints = [x.getLL() for x in waypoints] AttributeError: 'str' object has no attribute 'getLL'. This is valid as for waypoints it gets the real addresses I add in modrana so it cannot convert it to latitude and longitude points.

For handmade routing I get the following error: Modules/mod_route/mod_route.py, line 577, in _handle_routing_result_cb; if result.route and result.returnCode == constants.ROUTING_SUCCESS:; AttributeError: 'tuple' object has no attribute 'route'.

jm

MartinK 2017-03-28 23:25

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by justmemory (Post 1526065)
Hi MartinK!

I managed to get offline routing work (tried with foot, car, bicycle) - well almost. Address to address and handmade still does not work.

What I did:
- changed routing provider from Monav to Monav server ("Monav" stuck from earlier version of modrana I guess as it now allows only "Monav server" and "Google online"...)

- /core/bundle/signals_pb2.py - comment out line 6 (from __google.protobuf import descriptor_pb2) as it claimed that cannot import it.

- /core/monav_support.py - changed line 25: import simplejson as json (a "try" - "except" method would be better, it is just a simple solution) as it claimed that cannot import json.

- /core/routing_providers.py - changed line 60: result = self._monav_directions(waypoints, route_params) - as it claimed that it takes 3 argument but provided 2.

- /core/way.py - changed all node/Node.lat and node/Node.lon to node/Node.latitude and node/Node.longitude as it claimed that node/Node has no attribute lat.

- /core/instructions_generator.py - changed all node/Node.lat and node/Node.lon to node/Node.latitude node/Node.longitude as it claimed that node/Node has no attribute lat.

For address to address routing I get the following error: waypoints = [x.getLL() for x in waypoints] AttributeError: 'str' object has no attribute 'getLL'. This is valid as for waypoints it gets the real addresses I add in modrana so it cannot convert it to latitude and longitude points.

For handmade routing I get the following error: Modules/mod_route/mod_route.py, line 577, in _handle_routing_result_cb; if result.route and result.returnCode == constants.ROUTING_SUCCESS:; AttributeError: 'tuple' object has no attribute 'route'.

jm

Wow, thanks a lot! :) I've used your pointers and fixed the Monav Server based offline routing on the N900. I've also released an updated tarball, so you - and anyone else who wants to help with testingt - can check it works correctly now: :)
http://modrana.org/tarballs/modrana/...-0.54.6.tar.gz

As for the other issues:

Address routing - that's actually expected behavior, as Monav does only point to point routing (+ waypoints along the route, IIRC) based on geographic coordinate pairs. It does not support gecoding (turning addresses to coordinates), so it can't work for address-to-address routing when the device is offline. But of course a sensible error message should be shown in such a case, not a traceback. :)

Handmade routing (basically, "draw your own route" and let modRana follow it) - it indeed seems pretty broken, not just on the N900, but also when running the GTK GUI on desktop. And it looks like it has been this way for quite some time. Will have to look into it more later. :)

justmemory 2017-03-29 08:41

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1526094)
Wow, thanks a lot! :) I've used your pointers and fixed the Monav Server based offline routing on the N900. I've also released an updated tarball, so you - and anyone else who wants to help with testingt - can check it works correctly now: :)
http://modrana.org/tarballs/modrana/...-0.54.6.tar.gz

As for the other issues:

Address routing - that's actually expected behavior, as Monav does only point to point routing (+ waypoints along the route, IIRC) based on geographic coordinate pairs. It does not support gecoding (turning addresses to coordinates), so it can't work for address-to-address routing when the device is offline. But of course a sensible error message should be shown in such a case, not a traceback. :)

Handmade routing (basically, "draw your own route" and let modRana follow it) - it indeed seems pretty broken, not just on the N900, but also when running the GTK GUI on desktop. And it looks like it has been this way for quite some time. Will have to look into it more later. :)

That is great, thanks a lot!

Now it is working fine for me - even better, because now user_config.conf and map_config.conf weren't overwritten :) (I use my own tiles located elsewhere than the stock "OpenStreetMap I" folder so at every update I had to define that location in the config files)

Hmm, now I understand - and yes, an error message would be great or maybe it would be even better if offline routing is set then user could not click on address to address navigation.

Xagoln 2017-04-05 07:54

Re: [Announce] modRana: a flexible GPS navigation system
 
Big thanks to @MartinK for continuing to release for N900.

I am trying the new version and just did an online route calculation between two addresses in my city. It routed correctly although the dialog that popped up allowing to step through the navigation steps initially had 4,200ish kms. I assumed this was the journey distance and hence a miscalculation, as the two addresses are only about 5 kms apart.

However, now I think it was because my initial GPS location was somewhere out in the ocean and it was possibly calculating based on that, i.e. distance from (believed) current location to this navigation point. Could that be the case?

During the course of my writing this comment it corrected itself anyway.

MartinK 2017-06-29 21:18

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.54.7 has been released! :)

This is just a bugfix release that fixes an issue with using the OSM Scout Server for offline tile rendering.

Previously modRana used its default tile download timeout (10 seconds) also for the OSM Scout Server locally rendered tile layers. In some cases (especially if many new tiles were requested at once) OSM Scout Server might not be able to render the tile in time and the tile download requests would time out. ModRana would then retry the tile download like it does with normal online tile downloads, making OSM Scout Server even more overloaded and effectively asking it to render the tile again. :P

Thanks a lot to Rinigius for reporting the issue and providing the initial version of the fix! :)

To fix this I've added support for having different timeout parameters for each map layer and simply disabled time download timeouts for the OSM Scout Server layers. This way online tile downloads should time out after 10 seconds as before (or you can set your own timeout now in map_config.conf) and OSM Scout Server should now have enough time to finish tile rendering without being asked for the same tile multiple times. :)

Changelog
Code:

- don't timeout while OSM Scout Server is still rendering a tile

rinigus 2017-06-30 06:52

Re: [Announce] modRana: a flexible GPS navigation system
 
While debugging OSM Scout Server interaction with modRana, I found out that the extra border added to each tile for consistent labeling was scaled in Mapnik by the scale factor. This is in addition to the scaling that I did in the server code (great minds think alike). This slowed down tile generation significantly and was more visible in modRana's case which is asking for smaller tiles.

Next release of the server will have the fix for double scaling that leads to the faster rendering of the tiles.

carmenluci 2017-06-30 08:46

Re: [Announce] modRana: a flexible GPS navigation system
 
When I open modrana, it's stuck in 'starting Modrana...' screen.

I've unistalled an installed, but this issue goes on.

MartinK 2017-07-04 00:54

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by carmenluci (Post 1529923)
When I open modrana, it's stuck in 'starting Modrana...' screen.

I've unistalled an installed, but this issue goes on.

What modRana version do you have - 0.54.7 ? Also what device & Sailfish OS version (asking just in case - there have been device & Sailfish OS version specific issues in the past).

Provided that you have terminal installed, could you run:
Code:

sailfish-qml harbour-modrana
And send me the output ?

Thanks in advance! :)

Also worst case you might try downgrading to an older version - the OpenRepos page has quite a few older packages available:
https://openrepos.net/content/martink/modrana-0

UPDATE: Looks like Jolla Store QA managed to hit the bug as well and I've created a fix based on the traceback they've sent me. So try installing 0.54.8 - it should fix the crash/endless starting up screen.

MartinK 2017-07-04 14:49

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.54.8 has been released!
The Jolla Store QA confirmed my fix has been effective, so time for a release post! :)

Other than the fix for the map config file parsing crash this release mainly contains fixes and improvements for POI search.

POI search results now have better looking clickable markers that provide additional information about the given POI, POI searches can now be correctly canceled and OSM Scout Server based local search has been fixed and should be now again working correctly.

Changelog
Code:

- fix map config parsing related crash
- fix OSM Scout Server local search
- fixed search in progress indicator
- improved & clickable POI makers
- POI details are displayed on click


carmenluci 2017-07-04 14:49

Re: [Announce] modRana: a flexible GPS navigation system
 
I was using 0.54.7 in my Jolla1 with SailfishOS 2.1.0.11, but 0.54.8 works fine, thank you for the update!!

MartinK 2017-07-05 10:29

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by carmenluci (Post 1530103)
I was using 0.54.7 in my Jolla1 with SailfishOS 2.1.0.11, but 0.54.8 works fine, thank you for the update!!

Nice! It's always good to have confirmation a bug has really been fixed. :)

sixwheeledbeast 2017-08-05 19:03

Re: [Announce] modRana: a flexible GPS navigation system
 
I have been seeing a lot of activity on github for this project lately, this is great.
However, I noticed no new packages for Maemo in a while. I assumed maybe you where working on getting the QT5 version upto the same standard as GTK. I recall you mentioning this a while back.

Reading the thread back you are no longer setup for local building of the package so haven't pushed packages to the autobuilder.
Is there anyway the community can help get these releases to Maemo?

I propose that if there are no major issues with 0.53.1 over 0.43.4, I don't recall any, that the current version is promoted to Extras (promotion is unlocked). That way going forward you could release to Extras-Devel with minimal testing.
That repo is for development builds after all, we should be using it for it's intended purpose.

I am not sure if there is much to benefit from the current build over the ones I have (0.53.1), but assume it's still the same as before that I can download the latest tarball and run it directly for both desktop and N900?

Zeta 2017-09-16 13:56

Re: [Announce] modRana: a flexible GPS navigation system
 
Hello MartinK,

I am translating to French the documentation about the OSM Scout Server.
While taking the screenshots for modRana, I found out that the text is in English while my device is configured in French.
I can't find any translation files in the Github repo, neither mentions of translation at all on the website or google.

Did I understand correctly that modRana isn't translated to any other languages ?

I have personally no problems with english, but as I am translating some other apps to french as possible to help my fellow french speaking only people, I though I could propose my help here too.

Please let me know if I understood right and you need some help !

MartinK 2017-09-17 00:44

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by sixwheeledbeast (Post 1532126)
I have been seeing a lot of activity on github for this project lately, this is great.
However, I noticed no new packages for Maemo in a while. I assumed maybe you where working on getting the QT5 version upto the same standard as GTK. I recall you mentioning this a while back.

Yeah, that's true - it really is high time to finally correct the feature parity (most recently in regards to exposing the local POI databse in the Qt 5 GUI).

Quote:

Originally Posted by sixwheeledbeast (Post 1532126)
Reading the thread back you are no longer setup for local building of the package so haven't pushed packages to the autobuilder.

Yeah, I'm not really setup for making Maemo compatible packages locally, but should still be able to make source packages the autobuilder should be able to accept. As for development/debugging, my N900 thankfully still works, so I can use it for testing if modRana still works on the N900 (just have to actually get to that though).

Quote:

Originally Posted by sixwheeledbeast (Post 1532126)
Is there anyway the community can help get these releases to Maemo?

As before the best way is to help with testing on the N900, so I can concentrate more on development & finally releasing a proper new package for the N900. :)

As there has been quite a lot of changes since the latest release in Jully, I'd recommend just using the lates code from the master branch:

https://github.com/M4rtinK/modrana/archive/master.zip

As before, just unpack it on your N900 and run modrana.py from the unpacked folder in terminal. And report anything that seem broken on the N900. :)

Quote:

Originally Posted by sixwheeledbeast (Post 1532126)
I propose that if there are no major issues with 0.53.1 over 0.43.4, I don't recall any, that the current version is promoted to Extras (promotion is unlocked). That way going forward you could release to Extras-Devel with minimal testing.

Yep, that sounds like a good plan - but - looks like things are broken, as I've apparently already unlocked the promotion back in 2016:

http://maemo.org/packages/package_in...odrana/0.53.1/

Notice the "log" on the bottom of the page:

Code:

Package promoted        Martin Kolman        2016-08-06 20:46 UTC
So looks like things are apparently broken on the infra side and the package did not go to Extras even after it has been promoted (for more than a year). Any idea who should we ask from the infra to take a look at this ?

Quote:

Originally Posted by sixwheeledbeast (Post 1532126)
That repo is for development builds after all, we should be using it for it's intended purpose.

I am not sure if there is much to benefit from the current build over the ones I have (0.53.1), but assume it's still the same as before that I can download the latest tarball and run it directly for both desktop and N900?

Yep, that should always work. This is actually not a side effect, but planned behavior - I've always structured modRana (any my other project) so that they can just be cloned from git/unpacked from an archive and run at once. Turns out this decision pays of yet again in this case. :)

MartinK 2017-09-17 01:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Zeta (Post 1534478)
Hello MartinK,

I am translating to French the documentation about the OSM Scout Server.
While taking the screenshots for modRana, I found out that the text is in English while my device is configured in French.
I can't find any translation files in the Github repo, neither mentions of translation at all on the website or google.

Did I understand correctly that modRana isn't translated to any other languages ?

That's unfortunately correct - modRana is currently not translated to any other language, an most importantly, not really translatable - eq. the translation support code/tooling is just not there yet.

This is compounded by that some of the strings come from the sizeable Python core, so it's not just about translation support in QML (which is pretty easy to do - basically just call qsTr() and you are done), but also supporting translation in the Python code, if we want to enable full coverage. That's making things a bit more complicated.

On the other hand, I'm thinking just enabling translations for the QML code should be rather easy and could already improve things quite a bit. So I'll try to take a look into that first, hopefully soon. :)

Quote:

Originally Posted by Zeta (Post 1534478)
I have personally no problems with english, but as I am translating some other apps to french as possible to help my fellow french speaking only people, I though I could propose my help here too.

Please let me know if I understood right and you need some help !

I've opened an issue for modRana l10n support:
https://github.com/M4rtinK/modrana/issues/213
Feel free to subscribe to it for easy tracking of my progress in this area. :)

sixwheeledbeast 2017-09-17 07:34

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1534504)
Yep, that sounds like a good plan - but - looks like things are broken, as I've apparently already unlocked the promotion back in 2016:

Notice the "log" on the bottom of the page:

Code:

Package promoted        Martin Kolman        2016-08-06 20:46 UTC
So looks like things are apparently broken on the infra side and the package did not go to Extras even after it has been promoted (for more than a year). Any idea who should we ask from the infra to take a look at this ?

Just checked out the the package status.
While the infra can be ... difficult, nothing seems to be wrong with the promotion of your package.
It would appear you have promoted it from Development to Testing and that has been successful on 2016-08-06 20:46 UTC, the QA has been completed and it is awaiting promotion from Testing to Extras.

You will have to select the Testing version of the package to view the promotion button.

Any queries let me know. (TMO, IRC whichever)

If this is successful releasing the latest packages to Devel would be great, I can provide any bugs or feedback here or on github as I have done before.

If I get time in the meanwhile I may look at pulling the latest version and installing it manually on desktop and N900. However, it would be nice from a tester prospective to tie an issue with a version number. Especially if you need a broken function working again for a task you need to do.

Zeta 2017-09-17 10:22

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1534505)
I've opened an issue for modRana l10n support:
https://github.com/M4rtinK/modrana/issues/213
Feel free to subscribe to it for easy tracking of my progress in this area. :)

Done.
Thanks for the details !

MartinK 2017-09-17 23:15

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by sixwheeledbeast (Post 1534511)
Just checked out the the package status.
While the infra can be ... difficult, nothing seems to be wrong with the promotion of your package.
It would appear you have promoted it from Development to Testing and that has been successful on 2016-08-06 20:46 UTC, the QA has been completed and it is awaiting promotion from Testing to Extras.

You will have to select the Testing version of the package to view the promotion button.

Oh, right - there is also the Testing repository. So went there, clicked the promotion link as well and it seems to have worked - all repositories now have 0.53.1:

http://maemo.org/packages/view/modrana/

Quote:

Originally Posted by sixwheeledbeast (Post 1534511)
Any queries let me know. (TMO, IRC whichever)

If this is successful releasing the latest packages to Devel would be great, I can provide any bugs or feedback here or on github as I have done before.

If I get time in the meanwhile I may look at pulling the latest version and installing it manually on desktop and N900. However, it would be nice from a tester prospective to tie an issue with a version number. Especially if you need a broken function working again for a task you need to do.

If you don't hit any major bugs with the current I'm inclined to just cutting a new version and releasing it to Extras Devel - we can iron out any further issues after that. :)

docj 2017-09-29 15:55

Re: [Announce] modRana: a flexible GPS navigation system
 
Hi folks

Need a hand here. The one really gaping hole in my SFOS N4 device is the lack of working "turn-by-turn" navigation app (replacement for Google Maps app). I've read over and over that modRana supports "turn-by-turn" navigation (I presume that's GPS driven) but I cannot for the life of me figure out even how to find my current location using the app.

Could someone please point me in the direction of a guide or something that could help me to
1) use modRana and GPS to determine my current location
2) produce a route from that current location to a different location
3) navigate in real time

Any help is greatly appreciated. Thank you!
Jon

sixwheeledbeast 2017-10-04 11:20

Re: [Announce] modRana: a flexible GPS navigation system
 
Ok so I have had a few minutes to pull the latest master on to my device. It starts up as you expect with default settings, however I have no access to any maps. Just Loading and Downloading tiles are displayed.

Every map you select throws the error that the server returned no image file and that the "server must not like you" :)

The only thing I can think of my side would be it's installed and run via terminal straight from the uSD card, which may affect tile storage?

justmemory 2017-10-04 12:14

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by sixwheeledbeast (Post 1535803)
Ok so I have had a few minutes to pull the latest master on to my device. It starts up as you expect with default settings, however I have no access to any maps. Just Loading and Downloading tiles are displayed.

Every map you select throws the error that the server returned no image file and that the "server must not like you" :)

The only thing I can think of my side would be it's installed and run via terminal straight from the uSD card, which may affect tile storage?

I have 0.54.8 on my n900 and it is working fine. What device are you using...?
As far as I know tile storage is defined in ~/.modrana on n900 so it doesn't matter where you are running modrana.py.

sixwheeledbeast 2017-10-04 13:18

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by justmemory (Post 1535810)
I have 0.54.8 on my n900 and it is working fine. What device are you using...?
As far as I know tile storage is defined in ~/.modrana on n900 so it doesn't matter where you are running modrana.py.

N900. Well there is only 0.53.1 available in the repos so I assume you have that installed from github or the like manually?

I am now having exactly the same issue with the installed version so the newer version has obviously affected the settings somehow.

I think I will try removing everything and starting fresh with the master version.


All times are GMT. The time now is 22:57.

vBulletin® Version 3.8.8