ralsina / aranduka

Automatically exported from code.google.com/p/aranduka
0 stars 1 forks source link

Error opening an epub file #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I got this error while trying to open the epub file I'm attaching.

Opening: 
/home/elbarto/.aranduka/ebooks/17-the-hawaiian-islands-the-department-of-foreign
-affairs-.epub
BASEPATH: 
Traceback (most recent call last):
  File "main.py", line 249, in <lambda>
    lambda f = f: self.openEpub(f.file_name))
  File "main.py", line 222, in openEpub
    viewer = EpubViewer(fname)
  File "/home/elbarto/issue47/src/epubviewer.py", line 14, in __init__
    self.epub = EpubDocument(fname)
  File "/home/elbarto/issue47/src/epubparser.py", line 45, in __init__
    self.toc_id = self.spine.attrib['toc']
KeyError: 'toc'

Original issue reported on code.google.com by andresgattinoni on 8 Feb 2011 at 12:56

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 61e4612bec.

Original comment by roberto.alsina on 9 Feb 2011 at 1:06

GoogleCodeExporter commented 9 years ago
Isn't it lovely when *everything* is optional?

Original comment by roberto.alsina on 9 Feb 2011 at 1:07