![]() |
Re: [Announce] modRana: a flexible GPS navigation system
It doesn't work...
What I did was: Code:
git clone https://github.com/M4rtinK/modrana.git Code:
Traceback (most recent call last): |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
So please try again - it should be there now. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Many thanks, it is working now! |
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.55.10 is out! :)
As mentioned already, this release is has some smaller (yet important!) improvements and fixes while bigger items (navigation/voice output overhaul & MapBox GL support) are being worked on. The modRana OpenRepos package has been updated, Jolla Store package will be updated once it clears QA in a few days. Localization The main highlight of this new generally-available modRana release is localization - the modRana GUI can now be fully localized. And thanks to all of our intrepid community translators on Transifex modRana is now localized (80%+ of strings translated) to these languages:
Other release highlights
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
In the meantime, one of the smaller things I've been looking into is the nice animated speed gauge mosen has recently created. It should look like this:
https://mosushi.de/misc/maemo/090.png Unfortunately something is apparently wrong with the shaders used for it, as I just get a violet rectangle and a bunch of errors in the log: Code:
ERROR: 0:11: 'atan2' : no matching overloaded function found |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Sorry for not responding earlier, thanks for concidering the gauge :) Please stop wasting time on debugging silly opengl. I will rewrite the gauge using pure qml. The code will be much longer but i can generate nearly the same design using RadialGradiant applied to a thick line. Its just that i found the Shader thingy to be quite elegent but if it crashes, it crashes. I don't have the SFOS Sdk installed so all i do is prototype in qmlscene. Sorry for letting you run into such an alpha stage problem. Also on AsteroidOS we had problems with a watchface employing shaders that would not display on a single watch only, the sony tetra. After quite some debug kido decided to simply hide the watchface for tetra :/ Lets see when i get back to coding, i guess tomorrow evening. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Apparently my earlier post disappeared. I found some references to atan being a substitute for atan2 as it can take 2 arguements.
Edit: because it was in wrong thread! D'oh. https://forum.qt.io/topic/89307/qml-...colour-glow/10 |
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.52.18 has been released !
Still continuing with the theme of smaller yet important fixes and improvements though arguable the switch to SVG icons is actually pretty significant. Not only should the icons in modRana no longer be blurry - ever - but as a side effect the installation package is now just 1.3 MB instead of 1.9 MB, because SVG files compress really well. The installed size savings are less as unpacked SVG files often take up about the same space as the resulting bitmap in PNG format. Work also continues on the two main planed bigger items, such as abstracting the API modRana uses to talk to the map page, so that an alternative map page based on MapBox GL Native can be added. Changelog since last time (0.55.10): * all icons are now SVG and thus resolution independent! :) * it is now possible to easily clear things displayed on top of the map * show distance on POI listings * fix toggle highlight for centering icon * show "Route here" option on all point & POI detail pages * fix layout of search progress popup * improved on-map button & button text sizing * show distance to POI in POI detail page * translation fixes & updates (big thanks to all translators yet again! :) ) Release status OpenRepos package has been updated Jolla Store package has been submitted to QA |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK: I don't know how far are you with the porting to MapboxGL effort. Now, assuming that SFOS3 will come with QtLocation supporting Mapbox GL (5.9, isn't it?), maybe it will make more sense to port it over to QtLocation proper. That would allow you to get simpler installation on desktop (no extra plugins needed).
Although, without newer compiler, they will not be able to provide MapboxGL component in QtLocation and, in general, SFOS3 hopes should be probably as low as possible (aka 'please don't break anything'). But its an angle that you could think about when making priorities and timelines for future development. In general, with this porting (mapbox gl plugin or qtlocation), make sure that Delete and Backspace and Ctrl-K work on your keyboard. There is a lot of code crafted around getting tiles that waits to be deleted. At least, that's expectation based on Poor Maps days. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
BTW, how is the "official" Mapbox GL plugin API compared to "our" custom MapboxGL element API ? Is it 1:1 match feature wise ? I would kinda fear the API is dumbed down to account for all the other plugins but (the QtLocation API, especially in the QtQuick 1.0 times was not very good). Or is it possibly the other way around (eq. we are missing some features they have ?). Quote:
https://git.merproject.org/mer-core/...n/tree/mer-5.9 https://git.merproject.org/mer-core/...n/tree/mer1911 But who knows in which for it will actually be available, which plugins will work and if it will finally be whitelisted for Jolla Store apps. BTW, thinking about it, would it be possible that the MapBoxGL plugin could be built with your updated GCC toolchain and still work with QtLocation 5.9 once available ? That way there would still be a custom dependency that needs to be installed, but the custom element would not have to be maintained anymore & it would simplify desktop porting compatibility. Quote:
Quote:
For the record I definitely plan to continue supporting "classic" tiled maps as well as vector tiles. There are various useful pre-rendered or aerial map tile sets that should definitely continue to be available to users together with the on-the-fly rendered vector layers. :) Still if I understand things correctly the MapBoxGL widgets has custom bitmap tile caching code, so indeed the modRana tile handling machinery will not be needed when running with MapBoxGL based map page. But it will still be needed for the time being for the pinchmap based map page & the old GTK2 based UI people apparently still use on the N900. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.52.18 has been released !
This is still a rather small update that adds support for deleting individual stored POI and makes creation of new POI more intuitive. Changelog * it is now possible to delete individual saved POI * adding new POI from the map should now be more intuitive * translation update |
Re: [Announce] modRana: a flexible GPS navigation system
yes \0/ new version finally. ;)
thnks |
Re: [Announce] modRana: a flexible GPS navigation system
So looks like Sailfish OS 3.0.2 Oulanka has broken modRana due to the Python 3 upgrade (3.4.3 -> 3.7.2).
Basically, modRana uses the work "async" in a couple places in its source code, but that work became a reserved word used by Python starting from Python 3.7 and causes modRana to crash. In any case I should have a fixed modRana version available shortly. :) |
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.56.14 has been released ! :)
So finally, a new modRana release! There is not that much user visible (yet ;-) ) other than, well, working now with Sailfish OS 3.0.2 Oulanka, where Python 3 version upgrade (3.4.3 -> 3.7.2) kinda prevented modRana from starting correctly. Other than that, modRana now has a shiny native launcher, that made it possible to drop many Sailfish OS specific packaging hacks, mainly imposed by sailfish-qml being very, very stupid. This also has user visible impact though. You can now easily start modRana from CLI on Sailfish OS by typing: Code:
harbour-modrana This change also has an interesting side effect - modRana is no longer noarch - the launcher is compiled Qt5/C++ source code, so the modrana package needs to be architecture specific, even thought the rest of the application is all Python & QML. :) I can't really think about any issues possibly stemming from this (other than me having to upload two packages to Jolla Store and OpenRepos. :) Also, you can of course still just clone the modRana source code from git, install qmlscene and then start the sailfish script from the run subfolder. Also, one more update - translations! Thanks a lot to everyone taking part, IIRC there should be some more complete languages as well as general translation updates. :) Where can I get modRana 0.56.14 ? link to Open Repos: https://openrepos.net/content/martink/modrana-0 link to Jolla Store: is not there as Jolla Store still has no web version! :P |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK: interesting, which limitations are you hitting with sailfish-qml? Having a dedicated launcher gives more flexibility in long run, though.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
To achieve this I had to do some pretty nasty & fragile source code mangling during the build of the Sailfish OS package. Now with the native launcher, I have full control over QML import path, PWD/PYTHONPATH, argv and the QML execution environment in general. It has also the nice side effect that people now can easily start modRana by typing: Code:
harbour-modrana There are also some other reasons for this:
The only possible downside/change (aside from the time spent on this) is that the modRana package is no longer noarch, but so far I have not hit any real issues because of that. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Alright. Call me stupid but I can't get this installed on my trusty N900. Updated to 1.3 and on CSSU. When I run apt-get install modrana I get
The following packages have unmet dependencies: modrana: Depends: espeak but it is not going to be installed E: Broken packages |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
If you want an updated version you can use github repo - I use 0.55.18 on my N900 and it is working fine. |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK - good reasons. Few comments below
For Pure Maps, I am using symlinks to select platform (similar to your UC) and just import using a known symlink name in QML sources. That way QML files are the same and symlink is set while building a package. I ended up writing bash script for harbour-pure-maps, but that was for command line options support. Not sure whether its store-compatible, but that's a future-me problem. Obviously there is more flexibility using C++, as you outlined. Flatpak does require exe (script or something else), indeed. Have been using a script so far. As for disadvantages - mainly missing noarch and a need to compile the code for distribution. As soon as you start extending with C++ (cannot use plane qmlscene or similar), development will be hit a bit. So, while not really needed, its better to avoid it as well. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I know about the issue on Github and was thinking it's maybe something <3.0.2 specific (even though I really don't know why it would happen this way) and I'm curretly trying to install the new package on some of my other Sailfish OS devices with older SFOS versions. Still, it seems to work with 3.0.1 for others, weird.
Can you maybe try to run it from terminal and send me the output (here ore privately - based on your preference) ? Just launch the terminal and run "harbour-modrana". :) |
Re: [Announce] modRana: a flexible GPS navigation system
Tried just yet on my Jolla 1 with Sailfish OS 3.0.0.5 (Lemmenjoki), package from OpenRepos - seems to work fine. It really looks like some system state specific weirdness might be involved.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
In any case, weird! But we had issues like this with modRana in the past, that were tracked down to for example to IIRC a version of Sailfish OS with old <5.6 Qt on ported devices. Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
For modRana and Universal Components I guess it would likely work as well:
The only possible problem I can thing of are environments where symlinks can't be used, such as running on top of FAT32 or from resource files on Android. But both is again more or less theoretical. So while I don't think I want to change the launcher architecture for UC usage for modRana now, the symlink method seems like a good tip to add to the UC docs. Thanks for the idea! :) Quote:
As I don't really do any C/C++ coding regularly, it was more or less cobled together from how other OSS Sailfish OS apps do app startup & QtCreator autocomplete. :D Quote:
Quote:
ModRana itself still continues to be noarch and I don't plan to change it. Also all the other startup methods (running modrana.py directly or the qmlscene using shell scripts in the "run" subfolder are still fully supported & are actually the main/intended method of running modRana if you just do a checkout from git or grab a tarball. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Given that by now likely all remaining Maemo/N900 users have Extras Devel enabled & the autobuilder packages (if successfully built) do directly to Extras devel, I'm kinda afraid a broken package would affect users, resulting in possibly lengthy back-and-forth by feeding the autobuilder and hoping a working package comes out. If someone had the needed knowledge/tooling (I barely understood how Maemo packages are made back then, let alone now) and wanted to accept the challenge of updating the Maemo modRana package I (and surely any remaining users on Maemo) would be very happy. :) Quote:
I don't really test this regularly (as I don't have any functional Python 2.5 environment outside of my trusty N900), so please let me know if you hit some issues. :) In any case, it's good to know there are still people using modRana on the N900 - which is what, 10 years old about now ? :D Well, modRana itself will hit the 10 year mark in January of the next year. Crazy! :D Is still don't have any immediate plans for dropping support for the N900, but there are a few things to consider:
Not having the Python 2 only deps (and possibly even Python 2 itself!) available in the distro I use would make harder assuring that the Python 2/GTK2 based GUI used on the N900 continues to be working. So at some point in the future a time might come, where it would make more sense to maintain basically a separate branch for the N900, that would likely just get occasional fixes than much (if any) new development. On the other hand this could help to make the "modern" codebase targeting Python 3 + Qt 5 cleaner by dropping all the hacks needed to support Python 2.5 - 3.7 at the same time + all the (rather messy code) that constitutes the GTK GUI. And, potentially the "n900-branch" would no longer need to care about any of that newfangled Python >2, GTK >2 and GUI != GTK stuff, potentially making the life of anyone interested in stepping in and improving the N900 version easier. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Nokia N900 1.3 on CSSU
I got modrana 0.53.1 installed and running from the repositories. Works great except trying to route just gives me a "routing failed". I had an active data connection the entire time. I'm now trying to get offline routing working. The monav.openstreetmap.de site is down so I downloaded my state from data.modrana.org. The tar file was empty, however. It didn't create any directories. I tried the north-america_car.tar.gz as well. Empty. Tried with root too. I guess I'll try to generate my own. It just seems like I'm either doing something wrong or nothing's working. Secondly, how again to update? I downloaded the 0.55.18 file, tar'd it, and ran the modrana.py script. modrana opened but info-about doesn't show a version. The icon in the app drawer still loads 0.53.1 too |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Due to some o the less than ideal packaging rules and practices on Sailfish OS, having the launcher as part of the modRana project is simply easier, than pulling in an external project. I guess I can always put it in a separate project if needed in the future and pull it in via git subtree like with Universal Components. Thinking about it, some sort of a unified launcher that would accept config files in some unified format to set all the paths could be rather useful for any QML only or Python QML application that has grown too big to be launched by qmlscene or for environments where qmlscene is not available. Quote:
Quote:
In any case good to know recent modRana versions are still working on the N900. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
The n900 branch would be kept Python 2.5, GTK2 & N900 compatible while the default development branch would be able to drop all the hacks needed for Python 2.5 support & all the GTK2 GUI code. |
Re: [Announce] modRana: a flexible GPS navigation system
A small modRana bugfix release - 0.56.17 - has been released, most likely fixing the incorrect viewport issue reported by Olf and others.
If you want to know what turned out to be the root cause and how it was fixed, check the corresponding issue on GitHub. |
Re: [Announce] modRana: a flexible GPS navigation system
A huge thank you MartinK for all your hard work.
Quick question... Should online routing work on the N900? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
And thanks for continued support. |
All times are GMT. The time now is 18:46. |
vBulletin® Version 3.8.8