View Single Post
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: 266
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, 96 views)
Section8 is offline   Reply With Quote