[4.5.0.16] Kuri doesn't start

Just saw this now by accident. Please either mention me with @elBoberido, comment on openrepos or create a bug report on gitlab or these issues might stay unnoticed :slight_smile:

You are right, after looking at the code there is indeed a bug and the workaround from @Ahtisilli will work. Literally every strava API call refreshes the token but the upload uses a different mechanism since it does a multipart message. Oh boy, with the benefit of hindsight this should have been so obvious :sweat_smile:. I tested this quite a lot after the refactoring but the refresh of the token only with the strava activity page and not with an upload and since I do not use strava I did not encounter the issue myself.

There is an update with a fix available :slight_smile:

3 Likes

Thanks a lot.

I use them just by chance (had no favourites except heiaheia.com in good old Nokia days).
Recently I’ve discovered [FitTrakee] (GitHub - SamR1/FitTrackee: Self-hosted outdoor activity tracker 🚴). Haven’t had time to test it yet. It also has a documented API and a nice and simple web portal.

1 Like

Latest Kuri doesn’t install on my JollaC2.

Fatal error: nothing gives 'libQt5Bluetooth.so.5()(64bit)' needed to install harbour-kuri-0.5.3-1.aarch64

1 Like

Installed fine on my C2 but crashes when trying to select activity.

Did you somehow install libQt5Bluetooth.so.5?

Aparently. No idea how or where though.

1 Like

For unknown reasons Kuri installs now under 5.0.0.43, but i have to change the map to OSM Scout Server so that it doesn’t crash anymore when displaying the map. The import of my old data also works.

OSM Scout is requierd for it as well for Pure Maps and other apps using open street maps. It is a problem since 5.X versions of sailfish as far as I know and it is not due to Kuri itself

But I came here for a different reason

@elBoberido do you still maintaining the app? Would it be too much hustle to add music buttons of native media player to locked screen mode? This would make your app near perfect. Next, Previous and Pause/Play would do all kinds of tricks :slight_smile:

@Ride92 it’s in semi-maintenance. Quite busy with other stuff at the moment.

PRs for music buttons are welcome :slight_smile:

You can get QtBluetooth from here QtConnectivity Bluetooth | OpenRepos.net — Community Repository System

Thank you! Now it installed, and worked after I repeated migration. Before migration it crashed on any activity.
Finally one of my most used apps is back! :+1:

4 Likes

I figured out now how to import my old Kuri activities from older SFOS phone. PS: I’m very happy that Kuri works now on C2.

2 Likes

Yes, I just copied them from my X10III to my C2. Kuri found them immediately but app crashed as soon as I tried to open one. So I did the migration thing and then it all worked like before.

2 Likes

Hmm, actually copying should work and no crash should happen. Are you able to reproduce the issue and share what exactly needs to be done to make the crash happen?

I’ll see what I can do tomorrow.

I was able to reproduce this.

  1. Uninstalled Kuri and cleaned out all leftovers, except my 15 activities folder (named Laufhelden) copied from old phone.
  2. Reboot phone (Don’t think it’s needed though).
  3. Fresh install of Kuri
  4. Launch Kuri and try to open any of the activities.
  5. Crash!
  6. Relaunch Kuri and hit the Import/Export setting ‘Redo migration’
  7. Success
Crash log

[defaultuser@JollaC2 ~]$ harbour-kuri
library “libutils.so” not found
library “libdmabufheap.so” not found
library “libbase.so” not found
library “libz.so” not found
library “libcutils.so” not found
library “android.hardware.graphics.mapper@4.0.so” not found
library “libgralloctypes.so” not found
library “libhidlbase.so” not found
library “libhardware.so” not found
library “libc++.so” not found
[D] onCompleted:36 - First Active MainPage
[D] onStatusChanged:44 - Active MainPage
[D] onStatusChanged:51 - vMainPageObject: Page_QMLTYPE_28(0x5f0b3c54d0)
library “libion.so” not found
[D] onApplicationActiveChanged:39 - onApplicationActiveChanged: true
[I] unknown:0 - Using QSGMapboxGLTextureNode for map rendering. devicePixelRatio: 1
[W] unknown:0 - [ INFO ] “{unknown}[General]: GPU Identifier: Mali-G57”
terminate called after throwing an instance of ‘std::bad_function_call’
what(): bad_function_call
Aborted (core dumped)

Relaunch log

[defaultuser@JollaC2 ~]$ harbour-kuri
library “libutils.so” not found
library “libdmabufheap.so” not found
library “libbase.so” not found
library “libz.so” not found
library “libcutils.so” not found
library “android.hardware.graphics.mapper@4.0.so” not found
library “libgralloctypes.so” not found
library “libhidlbase.so” not found
library “libhardware.so” not found
library “libc++.so” not found
[D] onCompleted:36 - First Active MainPage
[D] onStatusChanged:44 - Active MainPage
[D] onStatusChanged:51 - vMainPageObject: Page_QMLTYPE_19(0x64272a4270)
library “libion.so” not found
[D] onApplicationActiveChanged:39 - onApplicationActiveChanged: true
Could not import file: File with unknown extension
Could not import file: Error getting timestamp of first measurement in ‘/home/defaultuser/Laufhelden/walking-mån nov. 9 15:08:34 2020-3.6km.gpx’
[D] onStatusChanged:44 - Active MainPage
[D] onStatusChanged:51 - vMainPageObject: Page_QMLTYPE_19(0x64272a4270)
[I] unknown:0 - Using QSGMapboxGLTextureNode for map rendering. devicePixelRatio: 1
[W] unknown:0 - [ INFO ] “{unknown}[General]: GPU Identifier: Mali-G57”
[D] onApplicationActiveChanged:39 - onApplicationActiveChanged: false
[I] unknown:0 - Using QSGMapboxGLTextureNode for map rendering. devicePixelRatio: 1
[W] unknown:0 - QCoreApplication::postEvent: Unexpected null receiver

Unfortunately, the log is not helpful.

What do you mean by open an activity after cleaning up all leftovers? Did you remove .local/share/org.kuri/kuri? Be careful, that contains the actual stored activities?

Nevertheless, when you removed everything, no activities should show up.

There is a lot of leftovers when one uninstall Kuri (config etc.). I removed them before I reinstalled Kuri.
It’s 100% reproduce able, when following the above steps.

So maybe there are still some leftovers or your old files where made on 32-bit device and there is some path discrepancy

No that’s not it! But I think I found the explanation, why it works after ‘Redo migration’.

From old phone I copied my activities located in /home/defaultuser/Laufhelden, into the same directory on new phone. Maybe I shouldn’t have done that?