id=""

Bug #1580928 reported by Büchler Andreas on 2016-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 2.56 – Mac OS 10.11.4 – Edit-Book 2.56

The err-msg:

calibre, version 2.56.0
FEHLER: Nicht abgefangener Fehler: <b>TypeError</b>:sequence item 1: expected string or Unicode, NoneType found

calibre 2.56 embedded-python: True is64bit: True
Darwin-15.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.4.0', 'Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.11.4', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: K4PC, K4Mac, Kindle Mobi and Topaz DeDRM && Inept Epub DeDRM && Inept PDF DeDRM && Ignoble Epub DeDRM && eReader PDB 2 PML
Traceback (most recent call last):
  File "site-packages/calibre/gui2/tweak_book/widgets.py", line 588, in data
TypeError: sequence item 1: expected string or Unicode, NoneType found

Try this for yourself in Edit-Book:

1. The err-msg:

Add into a tag '<p>' the 'id=""' –> '<p id="">'

then try to make a link that leads into this same xhtml-file

before the great dialogue comes, there appears this err-msg

one can quit this by the 'ok' button,

but it may reappear many times more, when searching for the target thru the headline on the right side

2. The crashdown:

In this same file, containing a '<p id="">',

drag-and-drop operations of html-text-parts may lead to an immediate crash without any dialogue, the 'Edit-Book' just disappears, nothing else than this

Thanks for everything

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers