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

[Bug report] Unable to create new epub translated file #352

Open
Ludko4444 opened this issue Oct 8, 2024 · 1 comment
Open

[Bug report] Unable to create new epub translated file #352

Ludko4444 opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Ludko4444
Copy link

Basic information
Hello. This add-on works like a charm. However I have problem with translating one epub file to my own native language. I get error:
Time consuming: 0.01 minutes
Translation completed.
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 83, in
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\utils\ipc\worker.py", line 150, in arbitrary_n
File "calibre_plugins.ebook_translator.lib.conversion", line 242, in convert_item
File "calibre_plugins.ebook_translator.lib.conversion", line 86, in convert_book
File "calibre\ebooks\conversion\plumber.py", line 1307, in run
File "calibre_plugins.ebook_translator.lib.conversion", line 74, in convert
File "calibre_plugins.ebook_translator.lib.element", line 683, in add_translations
File "calibre_plugins.ebook_translator.lib.element", line 269, in add_translation
File "src/lxml/etree.pyx", line 1655, in lxml.etree.__ContentOnlyElement.set
File "src/lxml/etree.pyx", line 1651, in lxml.etree.__ContentOnlyElement._raiseImmutable
TypeError: this element does not have children or attributes

@Ludko4444 Ludko4444 changed the title [Bug report] HERE IS YOUR CONCISE TITLE [Bug report] Unable to create new epub transled file Oct 8, 2024
@Ludko4444 Ludko4444 changed the title [Bug report] Unable to create new epub transled file [Bug report] Unable to create new epub translated file Oct 8, 2024
@bookfere
Copy link
Owner

Could you upload a sample related to this error? You can either upload it here or send it to me via email.

@bookfere bookfere added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants