Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App doesn't restore entries that have errors. #120

Closed
7 tasks done
THElegend5 opened this issue Jan 18, 2024 · 8 comments
Closed
7 tasks done

App doesn't restore entries that have errors. #120

THElegend5 opened this issue Jan 18, 2024 · 8 comments
Labels
Bug Something isn't working

Comments

@THElegend5
Copy link

Steps to reproduce

  1. Restore a backup which contains errors.
  2. Wait for it to finish restoring.

Expected behavior

You get a notification saying there where errors in the restore.

Actual behavior

You get a notification saying the backup restored successfully.

Crash logs

2024-01-18 01:08:28.309] Why Are You Obsessed With Your Fake Wife? [Official] [Bato.to]: ResultSet returned more than 1 row for chapters.sq:getChapterByUrl
[2024-01-18 01:10:20.189] Diamond in the Rough [Komga]: ResultSet returned more than 1 row for chapters.sq:getChapterByUrl
[2024-01-18 01:43:13.074] Fables [Komga]: ResultSet returned more than 1 row for chapters.sq:getChapterByUrl
[2024-01-18 01:44:04.612] For Each Retweet, Two Straight Girls Who Don't Get Along Will Kiss for One Second - Their First Night [MangaDex]: ResultSet returned more than 1 row for chapters.sq:getChapterByUrl

You have to go app data folder to get the failed restore logs

Mihon version

r6454

Android version

Android 14

Device

Samsung S21 FE

Other details

https://cdn.discordapp.com/attachments/1099009853864812710/1197472596166455296/temp.proto.gz?ex=65bb6442&is=65a8ef42&hm=2207fbd9f20a63f6e6c8b1879dcef13173438953c9e66616a51ee74e91b00430&
Example backup file which contains errors only two entries will fail to restore

Also a thing to not is that before new restore logic these entries restored fine but you would get notification saying there were x errors in restore.
In versions with new logic there is no indication that these entries fail to restore.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.16.1.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@THElegend5 THElegend5 added the Bug Something isn't working label Jan 18, 2024
@MajorTanya
Copy link
Contributor

This is a duplicate of #27 isn't it

@THElegend5
Copy link
Author

This is a duplicate of #27 isn't it

Might be but their entries seem to be restoring and they seem to also get error along with it, while mine don't restore neither do I get a error message unless I dig into the appdata folder.

@DchanN
Copy link

DchanN commented Jan 18, 2024

Mine showing the error and can show error list when tap it

Screenshot_20240118-222125357 (1)

@MajorTanya
Copy link
Contributor

Mine showing the error and can show error list when tap it

Screenshot_20240118-222125357 (1)

can you show the error log please, this doesn't help much

@DchanN
Copy link

DchanN commented Jan 18, 2024

Mine showing the error and can show error list when tap it
Screenshot_20240118-222125357 (1)

can you show the error log please, this doesn't help much

error log same with thelegend and from #27 , me just comment mine show the error, because this issue said app doesn't show error

@THElegend5
Copy link
Author

Seems like you can access the errors but there is no indication in the notification that there has been an error unlike earlier versions.
old-version.jpg

I think the last time I tried to click it in the new version it somehow failed to bring up an option to open the error file but it does indeed open the error file in the new version even while giving no indication there has been an error.

@THElegend5
Copy link
Author

THElegend5 commented Jan 19, 2024

After a bit more testing and changing a couple of things in my tachiyomi library and backing up restoring mihon now does seem to be mentioning the errors so it not showing there has been errors might be a one of thing or something limited to that backup or simply be that it was there and I didn't see it but the entries are still not being restored so updating the title to reflect that.

Note: These entries are restored in an old version.

@THElegend5 THElegend5 changed the title App doesn't show errors during backup restore. App doesn't restore entries that have errors. Jan 19, 2024
@AntsyLich
Copy link
Member

#647

@AntsyLich AntsyLich closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@MajorTanya @AntsyLich @THElegend5 @DchanN and others