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
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 . 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.
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
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!
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.
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?
Uninstalled Kuri and cleaned out all leftovers, except my 15 activities folder (named Laufhelden) copied from old phone.
Reboot phone (Don’t think it’s needed though).
Fresh install of Kuri
Launch Kuri and try to open any of the activities.
Crash!
Relaunch Kuri and hit the Import/Export setting ‘Redo migration’
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
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.