Nailik / rhasspy_mobile

Rhasspy is a voice assistant software. This repository implements the functionality of a Rhasspy satellite, with local wake word recognition.
66 stars 4 forks source link

App crashes and all settings/configuration is lost #523

Open bj00rn opened 1 year ago

bj00rn commented 1 year ago

App is flaky and crashes from time to time. Sometimes when app crashes, all my configuration / settings are lost which is a real bummer.

Version 0.5.6-147

Nailik commented 1 year ago

Sorry especially the " Sometimes when app crashes, all my configuration / settings are lost which is a real bummer." is really bad. You can backup your settings in the "Settings" in order to not loose it.

Can you please tell me more about your Android Device?

Also please note that Version 0.5.6-147 is a nightly/debug version and therefore can be flaky.

Please also export the logfile and attach it, as i couldn't find any crashes on Crashlytics for Version 0.5.6-147

bj00rn commented 1 year ago

Android 10 Rooted Lenovo Smart Clock 2 :-) Crashlytics is enabled from what i can tell from the interface

I'll do a backup from now on

bj00rn commented 1 year ago

Also, what is "latest" (stable) release? I have no appstore on my device

Nailik commented 1 year ago

currently V_0.5.6-143 but it's still all "Beta" because i am changing a lot how it works. Can you export the log file?

bj00rn commented 1 year ago

currently V_0.5.6-143 but it's still all "Beta" because i am changing a lot how it works. Can you export the log file?

I'll upload later. Noticed you changed log export to sqlite db. Is this by design?

bj00rn commented 1 year ago

These are the only events with severity > 1 in there

2023-09-28T10:47:37.803 2 Application ######## Application   started ########  
2023-09-28T11:58:53.886 5 AndroidApplication uncaught exception in Thread Thread[DefaultDispatcher-worker-3,5,main] Method 'io.ktor.client.HttpClient org.rhasspy.mobile.logic.connections.IHttpConnection.getHttpClient()' is inaccessible to class 'org.rhasspy.mobile.logic.connections.rhasspy2hermes.Rhasspy2HermesConnection$intentHandling$lambda$13$inlined$post$1' (declaration of 'org.rhasspy.mobile.logic.connections.rhasspy2hermes.Rhasspy2HermesConnection$intentHandling$lambda$13$inlined$post$1' appears in /data/app/org.rhasspy.mobile.android-itbx3JsPYQ1iPcnsNRRfQg==/base.apk!classes2.dex)
2023-09-28T11:59:04.450 2 Application ######## Application   started ########  
2023-09-28T12:01:46.046 2 Application ######## Application   started ########  
Nailik commented 9 months ago

Hi @bj00rn sorry for the late response. I am not sure why your app crashed but there was a bug in the nightly version that prevented some settings from getting saved correctly, please test the new nightly build.