Plugin mostly works fine for me, but I get the following error consistently with one epub. Any ideas what might be wrong?
Spoiler:
calibre, version 3.44.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'getElementsByTagName'
calibre 3.44 embedded-python: True is64bit: True
Darwin-17.7.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '17.7.0', 'Darwin Kernel Version 17.7.0: Wed Apr 24 21:17:24 PDT 2019; root:xnu-4570.71.45~1/RELEASE_X86_64')
Python 2.7.15
OSX: ('10.13.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 3, 4) && KindleUnpack - The Plugin (0, 81, 5) && WorldCat xISBN (1, 0, 0) && Overdrive Link (2, 33, 0) && KePub Metadata Reader (3, 0, 2) && Find Duplicates (1, 6, 3) && EpubSplit (2, 7, 0) && View Manager (1, 5, 2) && Goodreads (1, 4, 0) && Reading List (1, 6, 6) && Annotations (1, 9, 2) && Goodreads Sync (1, 12, 1) && Kobo Utilities (2, 8, 0) && Read MP3 AudioBook metadata (1, 0, 79) && Count Pages (1, 8, 2) && Save Virtual Libraries To Column GUI (2, 2, 1) && EpubMerge (2, 5, 0) && Extract ISBN (1, 4, 4) && Save Virtual Libraries To Column (2, 0, 0) && Barnes & Noble (1, 2, 15) && Quality Check (1, 9, 11) && KePub Metadata Writer (3, 0, 3) && Ex Libris (1, 0, 19) && Overdrive Link* (2, 33, 0)
Traceback (most recent call last):
File "calibre_plugins.epubsplit.epubsplit_plugin", line 138, in plugin_button
File "calibre_plugins.epubsplit.epubsplit", line 628, in get_split_lines
File "calibre_plugins.epubsplit.epubsplit", line 556, in get_toc_map
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName'