Conversion from DOCX, probably indexitem related

Bug #1318670 reported by Piotr Karocki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1318670

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

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.