tom-anders / Easy_xkcd

An easy and simple open source xkcd reader
Apache License 2.0
164 stars 41 forks source link

Import of favorites not working #314

Closed martin-schwenke closed 1 year ago

martin-schwenke commented 1 year ago

I am generally unable to import favorites.

At some point my favorites list was corrupted. I have cleared it and importing reliably fails. Usually the progress bar pops up and disappears, but there are no favorites in my list. This happens on 2 very different Android phones (LG V30+, running an old version of Android; Motorola Edge 20 Fusions with Android 11).

I can reduce the list to just this:

538 - Security

and import still fails.

No odd characters there:

$ hexdump -C favorites.txt
00000000  35 33 38 20 2d 20 53 65  63 75 72 69 74 79 0a     |538 -
Security.|
0000000f

I was able to import several exported favorites files after first marking a single recent comic as a favorite. However, I have just tried to re-test this and import silently fails.

The favorite importing code looks quite simple, so I can't see what could be going wrong.

Any ideas?

Thanks...