DreierF / MyTargets

Android app, which helps archers keep track of their training progress
GNU General Public License v2.0
81 stars 44 forks source link

Malformed backup file prevents from restoring any previous backup #390

Open graipher opened 4 years ago

graipher commented 4 years ago

I just tried to manually merge two save files together, which did not quite work out. When trying to import it and opening the Bow tab, the app crashed. This was not really unexpected.

But afterwards I tried restoring a previous backup. They all seem to successfully load but no data is actually loaded. In the backup overview they all still appear (with the correct file size shown). The same is true for restoring from google drive, local storage as well as using the import function (of course I made multiple backups before starting to merge the files). When first entering some bogus data and then restoring, the newly entered data is gone, but there are still no trainings etc loaded. The app does not crash or show any error while doing this.

Restarting the phone also does not fix it (not that I really expected it to). Reinstalling the app and restoring from any previous backup has the same problem.

The malformed backup file is attached. I think it might have been the image of the bow that crashed it in the first place (since the file might not exist?). Not sure if that is helpful, though.

MyTargets_backup_2019_09_22_11_09_00.zip

And here is the backup I am trying to restore, although it should not have been compromised since I was working on a copy of the database file.

MyTargets_backup_2019_09_22_10_23_50.zip

DreierF commented 4 years ago

Which version of the app are you using? If it's not the latest beta, please try with this version.

graipher commented 4 years ago

Sorry for the delay, the version installed is the current one in the Google Play store, 3.0.3.

How do I install the beta? Google+ is no longer a thing and the slack channel link here in the github is dead.

DreierF commented 4 years ago

The option is available somewhere at the bottom of the play store page of the app.

mahonyyy commented 4 years ago

Hi, just got the same problem when transfering data from old phone to new one. Data seems to load but nothing in afterwards. The problem with the beta is the link to google+ is broken - so how or where can I get the beta for install? Would it be possible to just push the beta to the app store? Thanks!

DreierF commented 4 years ago

The beta can be installed directly via the play store. You just need to visit the play store page of the app and scroll down to "Join Beta" or something in that direction (I do not mean the app description). You should then get an update offered.

mahonyyy commented 4 years ago

Thanks! Solved for me.

mahonyyy commented 4 years ago

Thanks for the really quick reply! Found the link, updated and backup worked right away. Perfect!

Deutsch geht auch, oder? Das war mir auf jeden Fall 5€ via Paypal wert. Danke für die Mühe!

Von: Florian Dreier notifications@github.com Gesendet: Donnerstag, 26. März 2020 09:57 An: DreierF/MyTargets MyTargets@noreply.github.com Cc: mahonyyy mahonyyy@freenet.de; Comment comment@noreply.github.com Betreff: Re: [DreierF/MyTargets] Malformed backup file prevents from restoring any previous backup (#390)

The beta can be installed directly via the play store. You just need to visit the play store page of the app and scroll down to "Join Beta" or something in that direction (I do not mean the app description). You should then get an update offered.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DreierF/MyTargets/issues/390#issuecomment-604307793 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBO76TR6MXQRCJO6DEAYD3RJMKEHANCNFSM4IZB4HOQ . https://github.com/notifications/beacon/ACBO76T63CAE5VRIM3JDDIDRJMKEHA5CNFSM4IZB4HO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEQCQCUI.gif