Python failure during conversion from .docx

Bug #1786414 reported by griswolf on 2018-08-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Failure report attached.
System: MacOS 10.13.6
Calibre: version 3.29.0 (darwin, embedded-python: True)
   also experienced on prior version

Executive summary: Python code fails:

on /var/folders/r8/x2801mmx14l0mcnfxkk299zh0000gn/C/calibre_3.29.0_tmp_BD5iL5/aG637k.docx
Converting Word markup to HTML
Traceback (most recent call last):
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 154, in main
    return run_entry_point()
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point
    return getattr(pmod, func)()
  File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 33, in gui_convert_override
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert
  File "site-packages/calibre/ebooks/conversion/plumber.py", line 1106, in run
  File "site-packages/calibre/customize/conversion.py", line 246, in __call__
  File "site-packages/calibre/ebooks/conversion/plugins/docx_input.py", line 35, in convert
  File "site-packages/calibre/ebooks/docx/to_html.py", line 127, in __call__
  File "site-packages/calibre/ebooks/docx/to_html.py", line 440, in convert_p
  File "site-packages/calibre/ebooks/docx/to_html.py", line 698, in convert_run
  File "site-packages/calibre/ebooks/docx/fonts.py", line 114, in is_symbol_font
AttributeError: Inherit instance has no attribute 'lower'

griswolf (griswolf) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate 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