Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2021, 12:36 AM   #1
ctop
Connoisseur
ctop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and grace
 
Posts: 57
Karma: 43710
Join Date: Jun 2008
Device: zaurus->palm->iPad->Sony PRS-T1,T2,T3->Kobo Forma&Likebook Ares
Library search

Dear Koreader users and developers,
I started using Koreader about a year ago, when I got myself a Likebook Ares. Initially, I had some problems adjusting to the way Koreader deals with my fairly large library, but finally I found a way to use it to my satisfaction, with a combination of search using calibre metadata and tags defined with calibre before sending to the device.
This stopped working some days ago, and since the device had a system update, I used this opportunity to upgrade the whole system, so now I am finally using the latest Koreader version, 2021-01 again. There are many nice changes and the wireless calibre connection works wonderfully.
However, when I start using the "Find a book via calibre metadata" function as before, the system will hang for a while (which is not surprising, even before it would take a while to load the library after a fresh start of the program), but then finally crash.
So I have no idea what is wrong and how to fix it and am without the ability to use the search function! This makes it very difficult to go to a different book.
Is there any way I can solve this problem, or shed light on where things go wrong? Any help appreciated.
Ctop
ctop is offline   Reply With Quote
Old 01-27-2021, 01:15 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
How many books are we talking about here?

(c.f., https://github.com/koreader/koreader/pull/7159, which should have landed in today's nightly).
NiLuJe is offline   Reply With Quote
Old 01-27-2021, 03:06 AM   #3
ctop
Connoisseur
ctop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and grace
 
Posts: 57
Karma: 43710
Join Date: Jun 2008
Device: zaurus->palm->iPad->Sony PRS-T1,T2,T3->Kobo Forma&Likebook Ares
Quote:
Originally Posted by NiLuJe View Post
How many books are we talking about here?

(c.f., https://github.com/koreader/koreader/pull/7159, which should have landed in today's nightly).
About 5000 in the internal storage area and another 20000+ on the sdcard. The filesize of the metadata file for the internal library is 10.9 MB, the one on the sdcard is 131.4 MB.

All the best,
Ctop

Last edited by ctop; 01-27-2021 at 03:10 AM.
ctop is offline   Reply With Quote
Old 01-27-2021, 08:48 AM   #4
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by ctop View Post
About 5000 in the internal storage area and another 20000+ on the sdcard. The filesize of the metadata file for the internal library is 10.9 MB, the one on the sdcard is 131.4 MB.

All the best,
Ctop
All versions from 2020.05 to 2021.01 will have a hard time decoding such large metadata files. The library used for that, rapidjson-lua, does the decoding on a single step and can easily eat +10x the size of the file while decoding.

Use a recent nightly, which should behave like versions prior to 2020.05 for files bigger than 30MB
pazos is offline   Reply With Quote
Old 01-27-2021, 09:55 PM   #5
ctop
Connoisseur
ctop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and gracectop herds cats with both ease and grace
 
Posts: 57
Karma: 43710
Join Date: Jun 2008
Device: zaurus->palm->iPad->Sony PRS-T1,T2,T3->Kobo Forma&Likebook Ares
Quote:
Originally Posted by pazos View Post
All versions from 2020.05 to 2021.01 will have a hard time decoding such large metadata files. The library used for that, rapidjson-lua, does the decoding on a single step and can easily eat +10x the size of the file while decoding.

Use a recent nightly, which should behave like versions prior to 2020.05 for files bigger than 30MB
Ah, that is great to know, I will give that a try! Thanks a lot, Ctop

(a few hours later)
I can now confirm that the latest nightly build indeed solves this problem! Great!!

Last edited by ctop; 01-28-2021 at 07:40 AM. Reason: [solved]
ctop is offline   Reply With Quote
Reply

Tags
calibre, library, search


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search library and ondevice AlanB Library Management 4 07-22-2018 02:53 PM
Glo Restrict search to Library jbaumann Kobo Reader 3 08-24-2015 04:19 PM
Search through all ebooks in library Railsplitter General Discussions 5 10-23-2013 12:24 AM
search within all books in library occum Calibre 2 12-05-2012 03:00 PM
Classic Search the Library? drzenitram Barnes & Noble NOOK 8 08-04-2010 03:02 PM


All times are GMT -4. The time now is 01:51 AM.


MobileRead.com is a privately owned, operated and funded community.