Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2016, 07:32 PM   #1
grafton84
Junior Member
grafton84 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2016
Device: none
List Index out of range

I keep getting this 'List out of range' error on an ePub I built.

calibre, version 2.49.0
ERROR: Unhandled exception: <b>IndexError</b>:list index out of range

calibre 2.49 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 909, in load_ebook
IndexError: list index out of range

I validated the file on http://validator.idpf.org/ and the file opens and reads fine on Nook reader, but apparently Calibre chokes on it, not sure why.

I ran it though all of the Calibre>Edit checks and fixed everything, so I don't know why I keep getting this error. Any suggestions? Regards,

Rob................

PS It's running on a Win10 64bit version in case that helps.
grafton84 is offline   Reply With Quote
Old 01-19-2016, 07:47 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 19,385
Karma: 18895198
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
what were you doing to trigger this?
theducks is offline   Reply With Quote
Old 01-19-2016, 08:03 PM   #3
grafton84
Junior Member
grafton84 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2016
Device: none
Index out of range

Quote:
Originally Posted by theducks View Post
what were you doing to trigger this?
I'm trying to view (read) the book.

Rob..............
grafton84 is offline   Reply With Quote
Old 01-19-2016, 08:42 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 19,385
Karma: 18895198
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by grafton84 View Post
I'm trying to view (read) the book.

Rob..............
That helps. the Gurus will need to weigh in.

Have you tried Library Maintenance (both phases)?

The db may be damaged.
Be sure to NOT be running on a Networked drive AND always have the cloud sync OFF when Calibre is running
(one way, sync AKA Shadow only is better when it does run)
theducks is offline   Reply With Quote
Old 01-19-2016, 09:31 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 9,252
Karma: 55745263
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
I'd suggest opening a bug report; https://bugs.launchpad.net/calibre and attach the epub in question, marking it as private.
PeterT is offline   Reply With Quote
Old 01-19-2016, 10:56 PM   #6
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: 29,349
Karma: 7472601
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/1535532

EDIT: Actually, the beta I uploaded the other day for device detection should also improve the error message. http://download.calibre-ebook.com/betas/
kovidgoyal is online now   Reply With Quote
Old 01-20-2016, 12:15 AM   #7
grafton84
Junior Member
grafton84 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by kovidgoyal View Post
https://bugs.launchpad.net/calibre/+bug/1535532

EDIT: Actually, the beta I uploaded the other day for device detection should also improve the error message. http://download.calibre-ebook.com/betas/
That was the version I was using. I put everything on local drives, still no good, I get this:

calibre, version 2.49.0
ERROR: Could not open ebook: Failed to read book, C:\Calibre Library\IFDA\Sales Manager's Play Book (1)\Sales Manager's Play Book - IFDA.epub click "Show Details" for more information
grafton84 is offline   Reply With Quote
Old 01-20-2016, 12:16 AM   #8
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: 29,349
Karma: 7472601
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Click Show details and post the full error message.
kovidgoyal is online now   Reply With Quote
Old 01-20-2016, 12:17 AM   #9
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: 29,349
Karma: 7472601
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
And note that the version number being the same is irrelevant -- the beta has different code, despite the version number being the same.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibredb add: IndexError: list index out of range sws Library Management 4 03-28-2015 01:25 AM
Calibre help? IndexError: list index out of range ideamutt Editor 4 01-08-2014 07:56 PM
LIST INDEX OUT OF RANGE ERROR texasmichele Calibre 6 01-29-2013 01:37 PM
list index out of range error adamvert Calibre 20 10-02-2010 12:26 PM
List index out of range, 0.6.46 downloading metadata, no author. highwaykind Calibre 4 04-04-2010 07:31 AM


All times are GMT -4. The time now is 11:54 PM.


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