geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 801 forks source link

FBReader for Android endlessly updating metadata #457

Open DMcCunney opened 7 years ago

DMcCunney commented 7 years ago

I have current FBReader for Android Premium installed. Over the last couple of days, it developed a quirk. Something triggered the process where it scans the system and updates its own metadata, and the process never seems to complete. It was running in the background overnight, is still running, and causes problems trying to read the current book because things like page turns don't happen when the program is busy updating metadata. This behavior has persisted through a new version of FBReader for Android and a reboot of the device.

What causes FBReader to try to update its metadata? I had previously been doing a Rescan after I added books to the device, but I realized FBReader already saw them.

What might cause FBReader to try to update and not successfully complete? Is there a way to force it to do that update only when I specifically trigger a Rescan?

(I'm one of those folks with thousands of book on device on an external card, and I suspect I'm running into limits on how large the library can be.)

>Dennis

DMcCunney commented 7 years ago

I installed the latest FBReader Premium release from Google Play. It says it "* Fixed library scanning issues for large book collections"

Unfortunately, it doesn't fix the problem here. I am still seeing the symptoms reported above.

If there is any information I can provide to help debug this, tell me what it it and how to provide it.

If there is an inherent limit on library size, tell me what it is so I can stay within it.

At a guess, your code is fine, but you are using third-party libraries and one of them is choking trying to iterate over all books in the library. (There are quite a few thousand books on the external card, so I'm not surprised.)

I hate to say this, but I'm about to switch eBook viewers. FBReader is currently just not usable on my device, and eBook viewer is the main reason I use the device.

geometer commented 7 years ago

Strange place to report an issue in FBReader Premium. Please send a copy of books database to support@fbreader.org. To take a copy go to the app settings => about the app => developer options; tap 'Copy books database' item and send us books.db file from the folder specified in the item summary.