Closed pbvdven closed 1 year ago
thanks for your quick response i just installed the update but i still have the same error when converting epub>pdf
Calibre failed with error: ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/app/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
i do get this addon warning in home assistant:
____ WARNING ____ Setting up completion failed with error:
Traceback (most recent call last):
File "calibre/linux.py", line 837, in setup_completion
File "calibre/linux.py", line 587, in write_completion
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/tweak_book/main.py", line 12, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre/ebooks/oeb/polish/check/css.py", line 11, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/app/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
Setting up desktop integration... ____ WARNING ____ Setting up desktop integration failed with error:
Traceback (most recent call last):
File "calibre/linux.py", line 858, in setup_desktop_integration
File "calibre/linux.py", line 880, in do_setup_desktop_integration
File "calibre/linux.py", line 911, in install_xdg_junk
File "calibre/linux.py", line 896, in install_icons
File "calibre/linux.py", line 890, in install_single_icon
File "subprocess.py", line 364, in check_call
File "subprocess.py", line 345, in call
File "subprocess.py", line 966, in __init__
File "subprocess.py", line 1842, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'xdg-icon-resource'
calibre-web log: calibre-web (1).log Home assistant calibre-web addon log: db21ed7f_calibre-web_2023-05-05T15-23-47.184Z.log
I'm sorry I have added libnss3 to the container so not sure how I can help... I don't really know calibre-web
Actually it is already in the container : https://github.com/linuxserver/docker-calibre-web/blob/984876c8c9cc42c88d82e77d0f88382c76ddbd47/Dockerfile#L23
You could post in the linuxserver github https://github.com/linuxserver/docker-calibre-web as they are the ones providing the base image
Actually it is already in the container : https://github.com/linuxserver/docker-calibre-web/blob/984876c8c9cc42c88d82e77d0f88382c76ddbd47/Dockerfile#L23
You could post in the linuxserver github https://github.com/linuxserver/docker-calibre-web as they are the ones providing the base image
Okay ill do that thank you for your quick reply
Wait, looks like issues already described such as : https://github.com/linuxserver/docker-calibre-web/issues/219#issuecomment-1435559765
I'll push a new version with those modifications
They fixed one warning but for me the wrong one i still get this one and that engine is needed to convert to pdf.
____ WARNING ____ Setting up completion failed with error:
Traceback (most recent call last):
File "calibre/linux.py", line 837, in setup_completion
File "calibre/linux.py", line 587, in write_completion
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/tweak_book/main.py", line 12, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre/ebooks/oeb/polish/check/css.py", line 11, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/app/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
I'm sorry I can't help you if the linuxserver github's tells you what we need to change I'll implement that
sorry but this version lscr.io/linuxserver/calibre-web:latest works fine
oh, I see the issue... you're 100% right it wasn't on latest release. I'll solve that now
Which addon?
Describe the bug
i can not convert epub to pdf it is an known issue seems to be easy fix please if you have the time see below links for it to work it needs libnss3 installed.
https://github.com/janeczku/calibre-web/issues/2487 https://bugs.launchpad.net/calibre/+bug/1955911
To Reproduce