error editor while importing docx

Bug #1327522 reported by Johan Leys on 2014-06-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

When importing a docx-file, I alwas get this error:
calibre, version 1.39.0
ERROR: Failed to open book: Failed to open book, click Show details for more information.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\job.py", line 34, in run
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 202, in func
  File "site-packages\calibre\ebooks\oeb\polish\import_book.py", line 52, in import_book_as_epub
  File "site-packages\calibre\ebooks\oeb\polish\import_book.py", line 29, in auto_fill_manifest
ValueError: This should never happen (gname=u'toc_1.ncx', name=u'toc.ncx')

Note: I've attached a sample file that generates this error (in fact, every docx file I have generates this error. This example file was made with open office, cause I don't have ms word myself. I saved it as a docx. But I also get this error when importing docx files I receive from people that do have ms word (without ever touching it with libre office.)

Johan Leys (leys-johan) wrote :
  • Test.docx.docx Edit (3.6 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)

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

Bug attachments