Conversion from DOCX, probably indexitem related

Bug #1318670 reported by Piotr Karocki on 2014-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 1.36, Windows Vista 64 bit.

Output from ebook-convert.
Probably related to multiple indexes in .docx file (/f switch in fields INDEX and XE).

1% Converting input to HTML...
ERR: Traceback (most recent call last):
InputFormatPlugin: DOCX Input running
ERR: File "site.py", line 132, in main
on D:\Home\PIOTR\StudiaPAT\Mgr\PATmgr.docx
ERR: File "site.py", line 109, in run_entry_point
Python function terminated unexpectedly
ERR: File "site-packages\calibre\ebooks\conversion\cli.py", line 359, in main
  'NoneType' object is not iterable (Error Code: 1)
ERR: File "site-packages\calibre\ebooks\conversion\plumber.py", line 1040, in run
ERR: File "site-packages\calibre\customize\conversion.py", line 241, in __call__
ERR: File "site-packages\calibre\ebooks\conversion\plugins\docx_input.py", line 29, in convert
ERR: File "site-packages\calibre\ebooks\docx\to_html.py", line 88, in __call__
ERR: File "site-packages\calibre\ebooks\docx\fields.py", line 139, in __call__
ERR: File "site-packages\calibre\ebooks\docx\fields.py", line 202, in parse_index
ERR: TypeError: 'NoneType' object is not iterable

What was used to create that docx file? The XE field definitions are
weird.

 status incomplete

Changed in calibre:
status: New → Incomplete

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

 status fixreleased

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

Other bug subscribers