codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

Application no longer opens successfully and crashes when opening. #749

Closed targzip closed 6 years ago

targzip commented 6 years ago

Steps to reproduce the behaviour

  1. I have Gnucash 1.5.5 installed on a Sony Xperia Z2 with Android 5.0.2.
  2. When I try to open, the application no longer opens successfully. I get white screen for a second or so and then "Unfortunately, GnuCash has stopped."
  3. This is 100% reproducible ever since it started happening.
  4. This did not start immediately after the update to 1.5.5, only after a couple of days.

Expected behaviour

The app should open and run normally.

Actual behaviour

The app crashes at opening.

Software specifications

targzip commented 6 years ago

I have updated the phone to Android 6.0.1 but the issue remains: "Unfortunately, GnuCash has stopped."

alensiljak commented 6 years ago

Any particular reason not to use the latest release?

targzip commented 6 years ago

I wasn't able to install it the last time I tried. (I tried the 2.2.1 and tried 1.6.something, can't remember exactly).

targzip commented 6 years ago

Retried the installation of 2.2.1 and it worked. However, the problem persists. "Unfortunately, GnuCash has stopped."

alensiljak commented 6 years ago

Interesting. In any case, if you are on the net then I'm sure they are getting the crash reports.

targzip commented 6 years ago

Is there any way to backup my Gnucash data when I am not able to open the app?

(yes, I am on the net and I suppose they are getting the crash reports)

rivaldi8 commented 6 years ago

Sorry, unless your phone is rooted it's not possible, as far as I know.

The only temporary solution I can think of, is to offer you a devel APK. It will be installed as a separate GnuCash application which you can use while we try to fix the issue. Then, when you update to the version with the fix, you'll be able to access your data again.

This is only really worth if you use it to enter transactions on the go and import them later on the desktop. Otherwise you would have to manually re-enter the transactions from the devel version into the production one.

I haven't found your crash report yet. Sometimes it takes a while. Or maybe I've just overlooked it. I'll continue looking and working on fixing possible start-up crashes.

rivaldi8 commented 6 years ago

I forgot we make automatic backups on version updates. Look into Android/data/org.gnucash.android/files/ of your internal storage.

rivaldi8 commented 6 years ago

I haven't found any crash report referencing your device, but some of them might be related to multiple books.

Are you using multiple books? If that's the case, how did you add them (opening/importing a .gnca file, creating it from "manage books"...)?

rivaldi8 commented 6 years ago

Please, could you verify if version 2.3.0 has solved the problem?

targzip commented 6 years ago

Hi,

Sorry for not having replied previously.

No, version 2.3.0 did not solve the problem. I tried the updates as they were appearing but nothing solved the issue. I ended up uninstalling it on the Xperia phone last weekend :(

I will reinstall it later and restart using it from scartch and this time I will keep my data backed up elsewhere too. If some other issue should arise then, I'll report it.

Thanks