Closed Zacbt519 closed 4 months ago
Please install advocate via ‚pip install advocate‘. I don‘t know how to do this with docker
@OzzieIsaacs Not quite sure how to do that either
I tried this just using the docker exec command against the image, but it fails on missing Python.h headers. Can the base image image be updated with the python-dev package ,or just pip install the additional packages first?
Please ask the docker image provider for help
Having the same issue here also... and installing via PIP is failing. Any ideas?
Describe the bug/problem When attempting to download a cover for a book using the Fetch Metadata tool, it fails to download the cover, throwing an error reading that Python module advocate is not installed. Manually adding a cover still seems to work. I've been having this issue for a while now, but have been unable to resolve on my own, nor have I found anyone else having this issue with a similar configuration to my own.
To Reproduce Steps to reproduce the behavior:
Logfile [2022-10-12 17:43:08,404] INFO {cps:143} "APScheduler" version does not fit the requirements. Should: available, Found: Not available, please consider installing required version [2022-10-12 17:43:08,404] INFO {cps:143} "advocate" version does not fit the requirements. Should: available, Found: Not available, please consider installing required version [2022-10-12 17:43:08,404] INFO {cps:152} Starting Calibre Web... [2022-10-12 17:43:09,905] INFO {cps.services.background_scheduler:30} APScheduler not found. Unable to schedule tasks.
[2022-10-12 19:42:38,319] ERROR {cps.server:1226} <gevent._socket3.socket at 0x7f647ebe1e20 object, fd=11, family=10, type=1, proto=0>: Invalid HTTP method: '\x10\x1a\x00\x04MQTT\x04\x02\x00<\x00\x0emqttx_ee63c4ef' [2022-10-12 19:42:48,590] ERROR {cps.server:1226} <gevent._socket3.socket at 0x7f647ebe1e20 object, fd=11, family=10, type=1, proto=0>: Invalid http version: "\x16\x03\x01\x00î\x01\x00\x00ê\x03\x03I\x06²ù¼\x99iÀYûøºe-\x83Ud]\x0e\x8d·b8´gÆÝ9dZ8f gÁ\x81i³öòË°©\x19NÖ½\x95g|püé<Z¡\x90T·é¥8'O;\x00&À+À/À,À0̨̩À\tÀ\x13À\n" [2022-10-12 21:53:17,046] WARN {cps.uploader:83} cannot parse metadata, using default: list index out of range [2022-10-12 21:53:21,510] INFO {scholarly:95} Getting https://scholar.google.com/scholar?hl=en&q=The%20Woman%20Who%20Smashed%20Codes%20A%20True%20Story%20of%20Love%252C%20Spies%252C%20and%20the%20Unlikely%20Heroine%20Who%20Outwitted%20Americas%20Enemies%20%2528Fagone%252C%20Jason%2529%20%2528z-lib.org%2529&as_vis=0&as_sdt=0,33 [2022-10-12 21:53:23,330] INFO {scholarly:105} Session proxy config is {} [2022-10-12 21:55:06,201] ERROR {cps.helper:810} python module advocate is not installed but is needed [2022-10-12 21:56:51,546] INFO {cps.admin:1468} Update status requested
Expected behavior Cover to be saved to book
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Setup via Docker-Compose. Here is the contents docker-compose.yml file
version: "2.1" services: calibre: image: lscr.io/linuxserver/calibre container_name: calibre environment:
8283:8081 #WebserverGUI restart: unless-stopped
calibre-web: image: lscr.io/linuxserver/calibre-web container_name: calibre-web environment: