Skip to content

Calibre converter issue #234

@boyercam

Description

@boyercam

Hello,

I've just installed ConvertX using the example Docker Compose in the readme and everything appears to have installed successfully and I can login to ConvertX.

When I try to use Calibre to carry out any conversion operations however, the task fails. I've tried multiple document types (from and to) but non seem to work. I did try to convert a png to pdf just to check that there wasn't an issue with all the converter engines, GraphicsMagick worked fine so I'm not sure if this is an issue unique to me, ConvertX or upstream Calibre.

The logs below are for a TXT to PDF conversion which failed.

ConvertX v0.11.1
🦊 Elysia is running at http://localhost:3000
Alpine Linux v3.20
pandoc 3.1.13
GraphicsMagick 1.3.43 2024-03-23 Q16 http://www.GraphicsMagick.org/
resvg v0.44.0
XeTeX 3.141592653-2.6-0.999996 (TeX Live 2024/Alpine Linux)
assimp Version 5.4 -shared -st (GIT commit 0)
djxl v0.10.2 [SSE2]
Bun v1.2.2
vips-8.15.2
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
Inkscape 1.3.2 (091e20ef0f, 2023-11-25)
ebook-convert (calibre 7.24.0)
stdout: 1% Converting input to HTML...
stderr: Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 21, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 430, in main
    plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1127, in run
    self.output_plugin.specialize_options(self.log, self.opts, self.input_fmt)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 155, in specialize_options
    from calibre.gui2 import must_use_qt
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 58, in <module>
    import calibre.gui2.pyqt6_compat as pqc
  File "/usr/lib/calibre/calibre/gui2/pyqt6_compat.py", line 38, in <module>
    from calibre_extensions import progress_indicator
ImportError: Error relocating /usr/lib/calibre/calibre/plugins/progress_indicator.so: _ZN13QLatin1String12equal_helperES_PKcx: symbol not found
Failed to convert ./data/uploads/1/12/test.txt from txt to pdf using calibre. error: Error: Command failed: ebook-convert "./data/uploads/1/12/test.txt" "./data/output/1/12/test.pdf"
Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 21, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 430, in main
    plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1127, in run
    self.output_plugin.specialize_options(self.log, self.opts, self.input_fmt)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 155, in specialize_options
    from calibre.gui2 import must_use_qt
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 58, in <module>
    import calibre.gui2.pyqt6_compat as pqc
  File "/usr/lib/calibre/calibre/gui2/pyqt6_compat.py", line 38, in <module>
    from calibre_extensions import progress_indicator
ImportError: Error relocating /usr/lib/calibre/calibre/plugins/progress_indicator.so: _ZN13QLatin1String12equal_helperES_PKcx: symbol not found

I've done a quick online search for ImportError: Error relocating /usr/lib/calibre/calibre/plugins/progress_indicator.so: _ZN13QLatin1String12equal_helperES_PKcx: symbol not found but didn't get any exact matches. The common theme that I could see from the results I did find were to do with Alpine, I'm not sure if this is helpful or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexternal issueissues beyond the scope of this project, bugs in libraries and other external tools

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions