Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2020, 10:56 AM   #1
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
Error on search in text

Ever since one of the latest versions (version 5, I don't know) I frequently get an error message when looking for a string of text in an e-book.

A number of search actions will work fine, but every now and then I get this message. I will see two hits listed in the bottom left corner, for instance. But when I want to click on the first of them, I get that message. Only if I close the book and re-open it can I perform the same search without errors.

Here's one such error message:

calibre, version 5.3.0
ERROR: Error in message handler: IndexSizeError: Failed to execute 'setBaseAndExtent' on 'Selection': The offset 153 is larger than the node's length (0).

Traceback (most recent call last):
at IframeClient.handle_message (userscript:viewer.js:16184:21)
at IframeBoss.show_search_result (userscript:viewer.js:25661:17)
at select_search_result (userscript:viewer.js:18652:13)
at select_find_result (userscript:viewer.js:18623:17)
Error: Failed to execute 'setBaseAndExtent' on 'Selection': The offset 153 is larger than the node's length (0).
franklekens is offline   Reply With Quote
Old 10-17-2020, 10:59 AM   #2
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
Correction. Just now I had this same error. I didn't actually have to reopen the book. What I did was erase the search and performed some other search. That went fine. Then did this search again. Then I got the error again when I tried to click on the first result. Then I moved to the start of the book. Tried to click it again: now it worked.

It seems to have something to do with relative where you are in the book, but it is rather annoying and didn't use to happen with the old viewer, IIRC.
franklekens is offline   Reply With Quote
Advert
Old 10-17-2020, 11:50 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you can open a bug report and attach a book where it happens along with a set of steps to reproduce it, it would help.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full text search? excaliber Library Management 3 08-07-2017 06:09 AM
Free-text search... aSteve641 Calibre 1 06-08-2011 10:12 AM
Error text overwrites page text? troymc Sigil 6 07-07-2010 09:07 PM
Text Search is Important randomyzed Which one should I buy? 2 06-22-2009 08:00 PM
Google Book Search to search full-text books online Bob Russell Deals and Resources (No Self-Promotion or Affiliate Links) 1 08-19-2006 12:13 PM


All times are GMT -4. The time now is 04:37 PM.


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