Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebook-convert parameter recognition bug #3189

Closed
gitcoinkuang opened this issue Oct 20, 2024 · 3 comments
Closed

ebook-convert parameter recognition bug #3189

gitcoinkuang opened this issue Oct 20, 2024 · 3 comments

Comments

@gitcoinkuang
Copy link

gitcoinkuang commented Oct 20, 2024

I filled in the following parameters in the Calibre eBook converter settings in Calibre-web:
--chapter "//*[re:test(., '^\s*第[零一二三四五六七八九十百千0-9]+(章|回).*', 'i')]"

txt to EPUB conversion error:
[2024-10-20 09:36:45,100] INFO {cps.editbooks:322} converting: book id: 7 from: TXT to: EPUB
[2024-10-20 09:36:45,102] DEBUG {cps.services.worker:91} Add Task for user: po888375 - Convert Book 7
[2024-10-20 09:36:45,752] INFO {cps.tasks.convert:161} Book id 7 - target format of .epub does not exist. Moving forward with convert.
[2024-10-20 09:36:46,354] DEBUG {cps.tasks.convert:308} Extra arguments not understood: '^\s第[零一二三四五六七八九十百千0-9]+(章|回).',, 'i')]"
[2024-10-20 09:36:46,411] INFO {cps.tasks.convert:208} ebook converter failed with error while converting book
[2024-10-20 09:36:46,411] ERROR {cps.tasks.convert:212} .EPUB format not found on disk
[2024-10-20 09:37:17,916] DEBUG {cps.updater:331} Stable version: {'version': '0.6.23'}

But I can execute it in the terminal using the command:
ebook-convert "/books/未知/斗破苍穹 (7)/斗破苍穹 - 未知.txt" "/books/未知/斗破苍穹 (7)/斗破苍穹 - 未知.epub" --chapter "//*[re:test(., '^\s*第[零一二三四五六七八九十百千0-9]+(章|回).*', 'i')]" --language zh --chapter-mark both --page-breaks-before "/" --no-default-epub-cover

I want to know if it is a bug in the program or my problem

@OzzieIsaacs
Copy link
Collaborator

Looks like a bug

@OzzieIsaacs
Copy link
Collaborator

Please update to the newest nightly version, it should work now

@gitcoinkuang
Copy link
Author

Please update to the newest nightly version, it should work now

Thanks, I'm waiting for the update since I'm using the docker version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants