JollaOpas

Rating: 
4.913045
Your rating: None Average: 4.9 (23 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.4-1.aarch64.rpm165.96 KB06/04/2023 - 23:16
File harbour-jollaopas-0.9.4-1.armv7hl.rpm159.58 KB06/04/2023 - 23:16
File harbour-jollaopas-0.9.4-1.i486.rpm170.34 KB06/04/2023 - 23:16
File harbour-jollaopas-0.9.5-1.aarch64.rpm165.57 KB16/07/2024 - 17:22
File harbour-jollaopas-0.9.5-1.armv7hl.rpm159.21 KB16/07/2024 - 17:22
File harbour-jollaopas-0.9.5-1.i486.rpm169.97 KB16/07/2024 - 17:22

Comments

Sfusr's picture

Thank you, what a great app!

ExTechOp's picture

Starting from 2023-04-03 the use of DigiTransit API requires registration. This has caused the current JollaOpas not to work. An issue has been opened: https://github.com/hsarkanen/JollaOpas/issues/36

sarkh's picture

This is now fixed in version 0.9.4.

ZeiP's picture

At least for me the application hasn't worked except by choosing the ”Whole Finland” region. I created an API registration of my own and the other regions seem to work fine then, so I wonder if there are API limitations in effect in the profile used by the distribution and if those could be negotiated away with HSL / Digitraffic?

sarkh's picture

HSL / Digitraffic hasn't informed me about any API limitations and the developer portal shows that everything works. I was not able to reproduce any issues using the API. Maybe it was just a temporary hiccup in Digitraffic API?

ZeiP's picture

Sorry, actually this was caused by the URLs changing in some of the targets (regions). I'll submit a PR.

simosagi's picture

Hello. Thanks for the recent update.
Quick question: has JollaOpas been tested with recent SFOS 4.4.0, esp. regarding SailJail ? 

Yeum's picture

Thanks, works like a charm!

Yeum's picture

@Mazoon that would be appriciated! Could just dump a mega download link here in the comments as a quick fix?

Mazoon's picture

Uploaded at https://openrepos.net/content/mazoon/jollaopas-aarch64 (first publish here on OpenRepos, hopefully everything is ok, seems to work...)

Mazoon's picture

Thank you for the nice app! I hope you can find time to add an aarch64 version here. (I managed to build harbour-jollaopas-0.9.2-1.aarch64.rpm for my personal use without problems from github master, seems to work. Should anyone else need it in the meantime, I guess I could upload it)

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!

Pages