JollaOpas

Rating: 
4.9
Your rating: None Average: 4.9 (20 votes)

Journey planner for Helsinki, Tampere & Turku area - fork of Jopas originally forked from Meegopas.

Features:

  • Live vehicle locations from all suggested routes are showed on map, works again also in Helsinki, thanks for Sefriol
  • Search routes
  • Save favorite places
  • Save search history automatically to favorite selection page
  • Save favorite routes
  • Show route on map
  • Search results stay on the application cover when the app is minimized
  • One favorite route search could be triggered by cover action forwards or backwards using current time
  • Available languages: English and Finnish
  • Support for different screen sizes, thanks for mjtorn
  • Support for Waltti regions, thanks ZeiP
  • And more...

Source code is available at Github.

Report new ideas and issues here.

NOTE:

SailfishOS version >= 2.1.0.9 (Iijoki) required.

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-jollaopas-0.9.1-1.armv7hl.rpm155.08 KB17/02/2020 - 03:18
File harbour-jollaopas-0.9.1-1.i486.rpm162.62 KB17/02/2020 - 03:18
File harbour-jollaopas-0.9.2-1.armv7hl.rpm154.62 KB15/06/2020 - 00:50
File harbour-jollaopas-0.9.2-1.i486.rpm164.84 KB15/06/2020 - 00:50

Comments

Brush's picture

Hi!

I updated my old Jolla 1 phone to Sailfish OS 2.2.1.18 Nurmonjoki in the hopes that I can use JollaOpas again. Unfortunately I seem to be unable to install the harbour-jollaopas-0.9.2-1.armv7hl.rpm package either from the file browser or terminal. I always get:

Fatal error: nothing provides libstdc++.so.6(CXXABI_1.3.9) needed by harbour-jollaopas-0.9.2-1.armv7hl

I tried updating the pkcon packages and adding sarkh's repositories too, but it made no difference. Anybody knows what I should do? Updating the phone OS further is not an option...

List of commands I've tried are below:

   10  ssu release 2.2.1.18
   11  version --dup
   12  reboot
   13  pkcon refresh
   14  pwd
   15  pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
   16  pkcon get-details libstdc++
   17  pkcon repo-list
   18  pkcon update libstdc++
   19  pkcon
   20  pkcon what-provides libstdc++
   21  pkcon install zypper
   22  zypper --help
   23  zypper ar -f https://sailfish.openrepos.net/sarkh/personal-main.repo
   24  rpm --import https://sailfish.openrepos.net/openrepos.key
   25  pkcon what-provides libstdc++
   26  pkcon repo-list
   27  pkcon refresh
   28  pkcon search name libstdc++
   29  pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
   30  pkcon install libstdc++
   31  pkcon what-provides libstdc++
   32  pkcon search name libstdc++
   33  pkcon get-details libstdc++
   34  pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
   35  history

Details:

,---
| Sailfish OS 2.2.1.18 (Nurmonjoki)
'---

Install a local .rpm from SD card
---------------------------------
cd /media/sdcard/JOLLA SD 32/Jolla/openrepos.net/JollaOpas/2020

[nemo@Sailfish 2020]$ pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
Installing files                                                            
Testing changes
Finished    
Fatal error: nothing provides libstdc++.so.6(CXXABI_1.3.9) needed by harbour-jollaopas-0.9.2-1.armv7hl

Try to get missing libstdc++.so.6 (CXXABI_1.3.9)?
-------------------------------------------------
[nemo@Sailfish 2020]$ pkcon search name libstdc++
...
Installed       libstdc++-4.8.3-1.1.7.jolla.armv7hl (installed)                 GNU Standard C++ Library
Available       libstdc++-4.8.3-1.2.3.armv7hl (jolla)                           GNU Standard C++ Library
Available       libstdc++-debuginfo-4.8.3-1.2.3.armv7hl (jolla)                 Debug information for package libstdc++
Available       libstdc++-devel-4.8.3-1.2.3.armv7hl (jolla)                     Header files and libraries for C++ development
Available       libstdc++-static-4.8.3-1.2.3.armv7hl (jolla)                    Static libraries for the GNU standard C++ library

[nemo@Sailfish 2020]$ pkcon get-details libstdc++
Resolving                                                                [                                    ] (0%)  More than one package matches:
1. libstdc++-4.8.3-1.1.7.jolla.armv7hl [installed]
2. libstdc++-4.8.3-1.2.3.armv7hl [jolla]

Please choose the correct package: 1
Package description
  package:     libstdc++-4.8.3-1.1.7.jolla.armv7hl
  summary:     GNU Standard C++ Library
  license:     GPLv3+, GPLv3+ with exceptions and GPLv2+ with exceptions
  group:       system
  description: The libstdc++ package contains a rewritten standard compliant GCC Standard C++ Library.
  size:        676736 bytes
  url:         http://launchpad.net/gcc-linaro

Please choose the correct package: 2
Package description
  package:     libstdc++-4.8.3-1.2.3.armv7hl
  summary:     GNU Standard C++ Library
  license:     GPLv3+, GPLv3+ with exceptions and GPLv2+ with exceptions
  group:       system
  description: The libstdc++ package contains a rewritten standard compliant GCC Standard C++ Library.
  size:        221805 bytes
  url:         http://launchpad.net/gcc-linaro

Try as a super user
-------------------
[nemo@Sailfish 2020]$ devel-su
Password:

[root@Sailfish 2020]# pkcon refresh

[root@Sailfish 2020]# pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
...
Fatal error: nothing provides libstdc++.so.6(CXXABI_1.3.9) needed by harbour-jollaopas-0.9.2-1.armv7hl

[root@Sailfish 2020]# pkcon get-details libstdc++
Package description
  package:     libstdc++-4.8.3-1.1.7.jolla.armv7hl
  summary:     GNU Standard C++ Library
  license:     GPLv3+, GPLv3+ with exceptions and GPLv2+ with exceptions
  group:       system
  description: The libstdc++ package contains a rewritten standard compliant GCC Standard
C++ Library.
  size:        676736 bytes
  url:         http://launchpad.net/gcc-linaro

[root@Sailfish 2020]# pkcon update libstdc++
Resolving                                                                      Finished                                                                       Fatal error: There is no update candidate for libstdc++-4.8.3-1.1.7.jolla.armv7hl

[root@Sailfish 2020]# pkcon what-provides libstdc++
Getting provides                                                                       Finished                                                                       Available       libstdc++-4.8.3-1.1.7.jolla.armv7hl (jolla)                     GNU Standard C++ Library
Installed       libstdc++-4.8.3-1.1.7.jolla.armv7hl (installed)                 GNU Standard C++ Library

Install zypper package management
---------------------------------
[root@Sailfish 2020]# pkcon install zypper
Resolving                                                                      Querying                                                                Testing changes
Finished
The following packages have to be installed:
 augeas-libs-1.6.0-1.1.4.jolla.armv7hl    Libraries for augeas
 zypper-1.8.3-1.1.4.jolla.armv7hl    Command line software manager using libzypp
Proceed with changes? [N/y] y

Install sarkh's repositories
----------------------------
[root@Sailfish 2020]# zypper ar -f https://sailfish.openrepos.net/sarkh/personal-main.repo
Adding repository 'Personal sarkh sailfish repository' ...........................................................[done]
Repository 'Personal sarkh sailfish repository' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://sailfish.openrepos.net/sarkh/personal/main

[root@Sailfish 2020]# rpm --import https://sailfish.openrepos.net/openrepos.key

State of libstdc++ now
----------------------
[root@Sailfish 2020]# pkcon what-provides libstdc++
Installed       libstdc++-4.8.3-1.1.7.jolla.armv7hl (installed)                 GNU Standard C++ Library
Available       libstdc++-4.8.3-1.1.7.jolla.armv7hl (jolla)                     GNU Standard C++ Library

[root@Sailfish 2020]# pkcon repo-list
                                        
 Enabled    adaptation0               adaptation0
 Enabled    aliendalvik               aliendalvik
 Enabled    apps                      apps
 Enabled    customer-jolla            customer-jolla
 Enabled    eas                       eas
 Enabled    hotfixes                  hotfixes
 Enabled    jolla                     jolla
 Enabled    openrepos-sarkh           Personal sarkh sailfish repository
 Enabled    store                     store
 Enabled    xt9                       xt9

[root@Sailfish 2020]# pkcon refresh

[root@Sailfish 2020]# pkcon search name libstdc++

Installed       libstdc++-4.8.3-1.1.7.jolla.armv7hl (installed)                 GNU Standard C++ Library
Available       libstdc++-devel-4.8.3-1.1.7.jolla.armv7hl (jolla)               Header files and libraries for C++ development
Available       libstdc++-static-4.8.3-1.1.7.jolla.armv7hl (jolla)              Static libraries for the GNU standard C++ library

Try installing JollaOpas again
------------------------------
[root@Sailfish 2020]# pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
Fatal error: nothing provides libstdc++.so.6(CXXABI_1.3.9) needed by harbour-jollaopas-0.9.2-1.armv7hl

[root@Sailfish 2020]# pkcon install libstdc++
The following packages have to be installed:
 libstdc++-4.8.3-1.1.7.jolla.armv7hl    GNU Standard C++ Library
Proceed with changes? [N/y] y

[root@Sailfish 2020]# pkcon search name libstdc++
(no change to previous run)

[root@Sailfish 2020]# pkcon get-details libstdc++
(no change to previous run)

[root@Sailfish 2020]# pkcon install-local ./harbour-jollaopas-0.9.2-1.armv7hl.rpm
Fatal error: nothing provides libstdc++.so.6(CXXABI_1.3.9) needed by harbour-jollaopas-0.9.2-1.armv7hl

I wonder if I should install some other software, e.g. sailfish-maps, before attempting again..? So far I've only installed Media Player and File Browser from the Jolla Store. And I've allowed installing from untrusted sources in the settings.

BR,
Jarkko

Brush's picture

Instaling earlier version harbour-jollaopas-0.9.1-1.armv7hl.rpm was successful but then I had to modify reittiopas.js as suggested in
https://github.com/hsarkanen/JollaOpas/issues/30#issuecomment-706522741

Afterwards route searching works but the bus markers do not move on the map view.

Terminal shows:

[nemo@Sailfish ~]$ harbour-jollaopas
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Could not find any zN.M subdirs!
[W] unknown:0 - Theme dir "/usr/share/themes/jolla-ambient/meegotouch/z1.0/" does not exist
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client25"
[W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client26"
[W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
[D] unknown:0 - No proxy parameter specified.
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client27"
[W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client28"

Tested in Turku region (Föli).

Dag's picture

Live locations in Helsinki isn't working for me any more?

sarkh's picture

HSL HFP API changes broke the implementation: https://digitransit.fi/en/developers/changes/ on 14.5.2020. This is now fixed in version 0.9.2.

Dag's picture

Nice that it is fixed, thanks a lot!!.

Noticed it already some weeks ago, but thought it was due to the mess corona made in the routes and timetables and thought I would wait some time...

 

Thanks again!

simosagi's picture

Thanks for bringing a new update to Jollaopas!

To understand the new parameters, if I get it correctly looking at digitransit documentation:

  • the "Walk Reluctance" is a multiplier for the walking time, e.g. with W.R. 2 a walk of 10 minutes will 'cost' 20 minutes while calculating the travel time (not real one, only as 'score' for the purpose of sorting the quicker ones)
  • the "Change Reluctance" is connected to what digitransit calls walkBoardCost, and it's the additional minutes that each change will 'cost', e.g. with C.R. 10 each change will add 10 minutes to the travel score time 

Makes sense? :)

sarkh's picture

This is exactly how "Walk Reluctance" and "Change Reluctance" parameters are passed to the Digitransit API and how I understood they should work. The previous HSL API had easier options like "least transfers", "least walking" and "fastest" but for the new API it was easier for me to just expose those two parameters.

Dag's picture

Works fine with the new Helsinki API now. And the vehicle tracking brings a lot of added value. My wife sitting here with an Android phone is very jealous :-) THANKS!

ExTechOp's picture

Thanks for the new version 0.8.1, now both route planning and vehicle tracking work as they should! ★★★★★

toxip's picture

Cool, was waiting for a new API update! Thanks and keep up the good work!

ExTechOp's picture

Unfortunately, it seems the API has changed and for now the program does not work. There is an issue about this on Github. I believe there also is an earlier issue with vehicle tracking stopping working, which hasn't been resolved either. However, it seems sarkh hasn't abandoned us, since he's committed changes to the digitransit_api branch only a few days ago!

jaakko's picture

Same problem, does not work any more.

sarkh's picture

This is now fixed in version 0.8.0 which uses newer Digitransit API.

Upp15's picture

Anybody else noticed, that JollaOpas seems to be unable to find any locations anymore? Having SFOS 2.2, but I believe I noticed this problem also with 2.1.x.

sarkh's picture

Could you test again with version 0.8.0 which uses newer Digitransit API?

Upp15's picture

Yes, it works now. Thanks a lot, this is a great app!

jitic's picture

Hi,

 after updating the SailfishOS to 2.1.0.9 (Iijoki), JollaOpas (v. 0.7.3-1) GUI appears completely blank. If I run the program from the terminal, I get

[nemo@Sailfish ~]$ harbour-jollaopas
[D] unknown:0 - Using Wayland-EGL
[W] unknown:439 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:439: Error: Error while loading page: file:///usr/share/harbour-jollaopas/qml/pages/MainPage.qml:35 Script file:///usr/share/harbour-jollaopas/qml/js/reittiopas.js unavailable
file:///usr/share/harbour-jollaopas/qml/js/reittiopas.js:110 Unexpected token `'
file:///usr/share/harbour-jollaopas/qml/js/reittiopas.js:110 Unexpected token `'

 

sarkh's picture

Thanks for reporting this. This issue (and other issues introduced by SailfishOS 2.1.0.9 (Iijoki)) should be fixed in v0.7.5.

jitic's picture

Thank you, v0.7.5 works like a charm. Much obliged!

Upp15's picture

Hi,

Just noticed, that I can't open the map any more from JollaOpas !?

I have Jolla C, and Here WeGo is installed.

simosagi's picture

Same for me with a Jolla 1.

sarkh's picture

Thanks for reporting this, it should be fixed in version 0.7.1 if you are below SailfishOS version 2.0.5.6. and in version 0.7.2. if you are using SailfishOS version 2.0.5.6.

simosagi's picture

Should version 0.7.3 be installable on a Sailfish 2.0.4.14 or is it only for Sailfish >= 2.0.5.6?

I tried it and I get a dependency failed as 'nothing provides qt5-plugin-geoservices-here' 

(soon anyway I'm going to run the Sailfish upgrade)

 

sarkh's picture

Features in v0.7.1 and v0.7.3 are exactly the same. You need to use v0.7.1 for now and update to v0.7.3 after SailfishOS update 2.0.5.6, because the used map-plugin is changed in the OS update from qt5-plugin-geoservices-nokia to qt5-plugin-geoservices-here.

Upp15's picture

I have Jolla C with 2.0.5.6 and just updated JollaOpas to 0.7.2, but map doesn't still show!? The map view opens and there are 3 buttons at the bottom, but otherwise the view is empty.

sarkh's picture

Hmm, it might be dependency issue if you don't have the native Sailfish Maps installed. Could you try with v0.7.3?

Upp15's picture

Oh yes! With 0.7.3 it works, I just had to do 'pkcon refresh' first to make the update to install.

Thanks!

sarkh's picture

Ok, great that you got it working! I believed that package lists are refreshed when you update the OS or visit the Jolla Store or something but good to know that it might need some manual command line refresh.

simosagi's picture

Is the 'traffic exception info' text written in a fixed grey color?
I use a dark tone ambiance and the text is almost unreadable and if I change ambiance (Sailfish 2.0 here) text seems to be always grey.
It would be nice if the announcements would be written with same (foreground?) color used for the announcement date.

sarkh's picture

Thanks for reporting the issue. The exception info color is fixed now in v0.6.3.

Pages