Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2014, 11:30 PM   #1
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 264
Karma: 2121470
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
IndexError in ebook viewer

I'm running 64 bit Calibre 2.7 in linux. Attached is a small test epub to illustrate a problem I've found in the ebook viewer.

To reproduce:
Open the epub in ebook-viewer
Click on single "Test chapter" TOC entry
Press F5/reload the book
Click on "Test chapter" TOC entry again.

Now it fails with:
Quote:
calibre, version 2.7.0
ERROR: Unhandled exception: <b>IndexError</b>:list index out of range

calibre 2.7 isfrozen: True is64bit: True
Linux-3.16.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.2 Linux ('64bit', 'ELF')
('Linux', '3.16.5-gentoo', '#1 SMP PREEMPT Fri Oct 24 19:25:55 CDT 2014')
Python 2.7.8
Linux: ('Gentoo Base System', '2.2', '')
Successfully initialized third party plugins: DeDRM && Fantastic Fiction && Modify ePub && Overdrive Link && Extract ISBN && Barnes & Noble && Quality Check && Webscription && Find Duplicates && KindleUnpack - The Plugin && Reading List && Open With && Goodreads && Count Pages && EpubSplit && FictionDB
Traceback (most recent call last):
File "site-packages/calibre/gui2/viewer/main.py", line 458, in toc_clicked
File "site-packages/calibre/gui2/viewer/main.py", line 574, in link_clicked
File "site-packages/calibre/gui2/viewer/ui.py", line 156, in add
IndexError: list index out of range
Attached Files
File Type: epub Test_ebook_-_test.epub (18.4 KB, 92 views)
Section8 is offline   Reply With Quote
Old 10-29-2014, 11:58 PM   #2
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...99640fcfcce06d
kovidgoyal is offline   Reply With Quote
Advert
Old 10-30-2014, 07:51 AM   #3
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 264
Karma: 2121470
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
Thank you
Section8 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre help? IndexError: list index out of range ideamutt Editor 5 01-08-2025 02:26 PM
Get the file path of the ebook in the frontmost Ebook Viewer window johnsidi Development 1 07-16-2012 10:37 AM
Associating ebook files with Calibre ebook viewer zobop Library Management 1 06-24-2012 11:07 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
# user css for viewer.py/ ebook-viewer/ prs-650 tscamera Calibre 0 01-02-2011 06:28 PM


All times are GMT -4. The time now is 08:47 AM.


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