View Single Post
Old 10-01-2014, 05:21 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Diaps Editing Toolbag.zip Index Error

I tried to do a

Delete 'div' with no attributes

and got an Index error


The json files are date stamped 8/12/2014

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

calibre 2.4 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubMerge && Generate Cover && Open With && Quality Check && Diaps Editing Toolbag && Favourites Menu && Manage Series && Modify ePub
Traceback (most recent call last):
  File "calibre_plugins.diaps_toolbag.dialogs", line 493, in do_action
  File "calibre_plugins.diaps_toolbag.main", line 130, in delete_modify
  File "calibre_plugins.diaps_toolbag.resources.html_parser", line 256, in processml
IndexError: list index out of range
The epub file is pretty simple:

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>Interesting Times</title>
  <link href="../epub17.css" rel="stylesheet" type="text/css"/>
  <link href="../Georgia.css" rel="stylesheet" type="text/css"/>
</head>

<body>
  <div>
    <p>There is a curse.</p>
    <br/>
    <p>They say:</p>
    <p>May You Live in Interesting Times</p>
  </div>
</body>
</html>
Any ideas??

Thanks
phossler is offline   Reply With Quote