converting epub to pdf fails with error "ImportError: libpodofo.so.1: cannot open shared object file: No such file or directory"

Bug #2020842 reported by strangeattractor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

This problem started happening when I updated to calibre version 6.18

I'm running calibre on Ubuntu Mate 23.04 Lunar Lobster

I attempted to convert an epub to a pdf, and the conversion did not complete. It gave an error that mentioned libpodofo.so.1

I wondered if it was a missing dependency in Ubuntu, so I installed libpodofo-utils. That did not fix the problem.
sudo apt install libpodofo-utils

When I look in the calibre program folder /opt/calibre/lib/ I see a file named libpodofo.so.0.10.0

Perhaps this is a different version than what calibre is looking for?

This happened with more than one epub. I have attached one.

Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 47, in <module>
  File "site.py", line 43, in main
  File "calibre/utils/ipc/worker.py", line 215, in main
  File "calibre/gui2/convert/gui_conversion.py", line 38, in gui_convert_override
  File "calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
  File "calibre/ebooks/conversion/plumber.py", line 1281, in run
  File "calibre/ebooks/conversion/plugins/pdf_output.py", line 183, in convert
  File "calibre/ebooks/conversion/plugins/pdf_output.py", line 249, in convert_text
  File "calibre/ebooks/pdf/html_writer.py", line 1132, in convert
  File "calibre/ebooks/pdf/html_writer.py", line 57, in data_as_pdf_doc
  File "calibre/utils/podofo/__init__.py", line 16, in get_podofo
ImportError: libpodofo.so.1: cannot open shared object file: No such file or directory

Revision history for this message
strangeattractor (strangeattractor) wrote :
summary: - converting epub to pdf crashes with error "ImportError: libpodofo.so.1:
+ converting epub to pdf fails with error "ImportError: libpodofo.so.1:
cannot open shared object file: No such file or directory"
Revision history for this message
Kovid Goyal (kovid) wrote :

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

Changed in calibre:
status: New → 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.