subset all embedded fonts > colect_font_stats error

Bug #1316533 reported by Ar't on 2014-05-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

polish book> subset all embedded fonts:

calibre, version 1.35.0 (win32, isfrozen: True)
Conversion Error: Failed: Polish Klatka pełna aniołów

Polish Klatka pełna aniołów
Failed to collect font stats from: Klatka_pelna_aniolow_split_000.html
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\oeb\polish\", line 211, in collect
  File "site-packages\calibre\ebooks\oeb\polish\", line 257, in collect_font_stats
AttributeError: 'NoneType' object has no attribute 'propertyValue'

Python function terminated unexpectedly
  Failed to gather statistics from book, see log for details (Error Code: 1)
Traceback (most recent call last):
  File "", line 132, in main
  File "", line 109, in run_entry_point
  File "site-packages\calibre\utils\ipc\", line 195, in main
  File "site-packages\calibre\ebooks\oeb\polish\", line 229, in gui_polish
  File "site-packages\calibre\ebooks\oeb\polish\", line 209, in polish
  File "site-packages\calibre\ebooks\oeb\polish\", line 138, in polish_one
  File "site-packages\calibre\ebooks\oeb\polish\", line 187, in __init__
Exception: Failed to gather statistics from book, see log for details

Attach the EPUB/AZW3 file demonstrating/reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny lock icon next to "This report contains Public information" in the top right area of the bug's page.

 status incomplete

Changed in calibre:
status: New → Incomplete
Ar't (artiip) wrote :

epub with problem

Kovid Goyal (kovid) wrote :

I cannot replicate tis. Running Polish Books on the attached epub with only subset embedded fonts selected results in no errors, see attached subset file.

Changed in calibre:
status: Incomplete → Invalid
Ar't (artiip) wrote :

My windows user name have character '

set temp

if i change temp/tmp to name witchout ' , I don't get this error

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

 status fixreleased

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

Other bug subscribers