Error in convert epub to pdf on archlinux

Bug #1471083 reported by Zuyi Hu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

I am using archlinux x86_64, and when I use ebook-convert to convert epub to pdf, I get this error:

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 37, in errh
    func(self, *args, **kwargs)
  File "/usr/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 265, in drawTextItem
    glyphs.append((x-last_x, last_y - y, gi.indices[i]))
RuntimeError: wrapped C/C++ object of type GlyphInfo has been deleted

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 37, in errh
    func(self, *args, **kwargs)
  File "/usr/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 265, in drawTextItem
    glyphs.append((x-last_x, last_y - y, gi.indices[i]))
RuntimeError: wrapped C/C++ object of type GlyphInfo has been deleted

so I want to know which library provide "wrapped C/C++ object of type GlyphInfo" ?

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

I do not provide support for people using distro provided packages. If you are using a distro provided package, uninstall it and install the official calibre binary from http://calibre-ebook.com/download_linux and if you can reproduce the bug with that, re-open the ticket. Of course, if you are already using the official binary, apologies and feel free to re-open the ticket immediately :)

 status invalid

Changed in calibre:
status: New → Invalid
Revision history for this message
Eli Schwartz (eschwartz) wrote :
Revision history for this message
Zuyi Hu (hzy068808) wrote :

Eli Schwartz, apply this patch on version 2.31.0 work fine, thank you very much.

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.