Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2025, 10:44 AM   #1
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Calibre Web Automated Kobo kepub download issue

Hi

I'm not sure anyone will be able to help as it's a bit of a niche question. I'm trying to use Calibre Web Automated without much success. Specifically when I try to convert a book to kepub I receive an error no 8 message - exec format error. I've downloaded the binary and put it in the usr/bin and set r w permissions so not sure what is going on.

Also does anyone know about book cover sizes? I've set a specific book cover size but when I download the book to my Kobo over the web it sets it to something else. I've run the cover enforcer command but this has made no difference.

Thank you
Runnerbeen is offline   Reply With Quote
Old 01-26-2025, 01:42 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,130
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
What platform is your Calibre Web Automated runnig on?

Is the binary you've downloaded for the same architecture??
PeterT is offline   Reply With Quote
Old 01-26-2025, 01:56 PM   #3
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by PeterT View Post
What platform is your Calibre Web Automated runnig on?

Is the binary you've downloaded for the same architecture??
It’s running on a Raspberry Pi 5. I have compiled the binary using Go and have
Run chmod on it. I also tried the Arm64 version but received the same error.

Thank you
Runnerbeen is offline   Reply With Quote
Old 01-26-2025, 04:32 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,130
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Will the binary run from the command line?
PeterT is offline   Reply With Quote
Old 01-26-2025, 05:06 PM   #5
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Quote:
Originally Posted by PeterT View Post
Will the binary run from the command line?
Yes it does - I’ve been able to convert an epub to a kepub.
Runnerbeen is offline   Reply With Quote
Old 01-26-2025, 08:09 PM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,130
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Does the go code need a runtime library that's not to present? I presume CWA is in a docker container?

I'm now out of ideas. Sorry

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 01-27-2025, 03:43 AM   #7
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
No don’t worry. Thank you very much for your time. I’ll check out if a runtime library is needed. CWA is in a docker container.

Thank you again.
Runnerbeen is offline   Reply With Quote
Old 01-27-2025, 07:27 AM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,130
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Have you double / triple checked the executable you've copied in within the container itself?

Something like
docker run -it <cwa_container> bash

and then ls -la <path to kepubify>
or
<path to kepubify>
PeterT is offline   Reply With Quote
Old 01-27-2025, 08:36 AM   #9
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
The executable wasn't in the container - i"ve moved it now but can't see it in the file picker for the kepubify binary. I have definitely set read and write permissions.

This is a snapshot of the logs. It looks different now in that I can't see any kepubify errors.
Spoiler:

[2025-01-27 12:00:15,581] INFO {cps.kobo:145} Kobo library sync request received
[2025-01-27 12:00:46,979] INFO {cps.kobo:145} Kobo library sync request received
[2025-01-27 12:00:48,860] INFO {cps.kobo:338} Kobo library metadata request received for book 66bec1be-3426-4a9d-b6a6-03641b5f1d7e
[2025-01-27 12:00:52,707] INFO {cps.kobo:338} Kobo library metadata request received for book 66bec1be-3426-4a9d-b6a6-03641b5f1d7e
[2025-01-27 12:01:33,948] INFO {cps.server:319} webserver stop (restart=False)
[2025-01-27 12:01:33,949] INFO {apscheduler.scheduler:212} Scheduler has been shut down
[2025-01-27 12:01:34,953] INFO {cps.server:298} Performing shutdown of Calibre-Web
[2025-01-27 12:16:41,829] WARN {cps.config_sql:364} Log path not valid, falling back to default
[2025-01-27 12:16:41,915] INFO {cps:178} Starting Calibre Web...
[2025-01-27 12:16:42,711] WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/flask_limiter/extension.py:333: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io...torage-backend for documentation about configuring the storage backend.
warnings.warn(
[2025-01-27 12:16:43,030] INFO {apscheduler.scheduler:181} Scheduler started
[2025-01-27 12:16:43,031] INFO {apscheduler.scheduler:895} Added job "delete temp" to job store "default"
[2025-01-27 12:16:43,032] INFO {apscheduler.scheduler:895} Added job "end scheduled task" to job store "default"
[2025-01-27 12:16:43,032] INFO {apscheduler.scheduler:895} Added job "immediately delete temp" to job store "default"
[2025-01-27 12:16:43,032] INFO {apscheduler.executors.default:123} Running job "immediately delete temp (trigger: date[2025-01-27 12:16:43 UTC], next run at: 2025-01-27 12:16:43 UTC)" (scheduled at 2025-01-27 12:16:43.032205+00:00)
[2025-01-27 12:16:43,032] INFO {apscheduler.scheduler:641} Removed job 643743ab60f64cf2883303eb88098ce2
[2025-01-27 12:16:43,038] INFO {apscheduler.executors.default:144} Job "immediately delete temp (trigger: date[2025-01-27 12:16:43 UTC], next run at: 2025-01-27 12:16:43 UTC)" executed successfully
[2025-01-27 12:16:45,450] INFO {cps.server:218} Starting Gevent server on [::]:8083
[2025-01-27 13:21:57,695] INFO {cps.kobo:145} Kobo library sync request received
[2025-01-27 13:21:57,709] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_3, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,712] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_4, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,715] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_5, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,717] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_7, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,719] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_8, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,722] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_10, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,724] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_11, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,727] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_13, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,728] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_14, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)
[2025-01-27 13:21:57,733] WARN {py.warnings:109} /app/calibre-web/cps/db.py:586: SAWarning: This declarative base already contains a class with the same class name and module name as cps.db.custom_column_15, and will be replaced in the string-lookup table.
cc_classes[row.id] = type(str('custom_column_' + str(row.id)), (Base,), ccdict)

Last edited by theducks; 01-27-2025 at 03:14 PM.
Runnerbeen is offline   Reply With Quote
Old 01-27-2025, 08:55 AM   #10
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Sorry I should also add that the book I'm trying to synch has been converted to a kepub already. I thought I should try that to try and narrow it down.

The errors above look like the ones someone else decsribed when they had notebook synch turned on. I've turned that off.

So it seems I can't covert to kepub using CWA or synch a book that's already a kepub.

Thanks for your suggestions so far.
Runnerbeen is offline   Reply With Quote
Old 01-28-2025, 08:07 AM   #11
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 547
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
If I were you, I would ask at CWA GitHub directly.
Wiggo is offline   Reply With Quote
Old 01-28-2025, 08:55 AM   #12
Runnerbeen
Enthusiast
Runnerbeen began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Nov 2024
Device: Kobo Libre Colour
Thanks all, I'll put this on the back burner for now. I'd rather spend time reading than fiddling with this. I'll go back to Calibre which does what I need. Thanks again.
Runnerbeen is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Web Automated install on Rpi5 Runnerbeen Related Tools 5 01-20-2025 12:52 PM
Calibre-Web Automated sydmalicious Related Tools 1 07-26-2024 03:02 AM
epub > kepub > kobo using the web browser els76uk Conversion 5 06-26-2024 05:07 AM
Kepub and read progress with Calibre web junialter Kobo Reader 9 12-20-2023 08:34 AM
Calibre's new features - ePub support and automated news download! astrodad Calibre 33 08-12-2008 01:05 PM


All times are GMT -4. The time now is 05:26 PM.


MobileRead.com is a privately owned, operated and funded community.