Open gitcoinkuang opened 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Is there an existing issue for this?
Current Behavior
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'}
Expected Behavior
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
Steps To Reproduce
Fill in the Calibre E-Book Converter Settings to reproduce
--chapter "//*[re:test(., '^\s*第[零一二三四五六七八九十百千0-9]+(章|回).*', 'i')]"
Environment
CPU architecture
x86-64
Docker creation
Container logs