View Single Post
Old 09-03-2023, 09:09 AM   #69
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,027
Karma: 11066877
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Windows 10, 64bit.
I chose the batch mode to translate a whole book, input and output format: .docx. translation engine: ChatGPT.
The plugin ran about three quarters of an hour, and at first, everything seemed to be o. k.
Unluckily, at last I received this error message:
Code:
[Auto detect > German] Translating "Los renglones torcidos de Dios"
InputFormatPlugin: DOCX Input running
on C:\Users\Juerg\Dropbox\Public\Calibre\Torcuato Luca de Tena\Los renglones torcidos de Dios (1284)\Los renglones torcidos de Dios - Torcuato Luca de Tena.docx
Parsing all content...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 16.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating DOCX Output...
Translating ebook content ... (this will take a while)
==============================
| Diagnosis Information
==============================
| Calibre Version: 6.25.0
| Plugin Version: v2.1.3
| Translate Engine: ChatGPT
| Source Language: Auto detect
| Target Language: German
| Cache Enabled: True
| Merging Length: 0
| Concurrent requests: 1
| Request Interval: 20
| Request Attempt: 3
| Request Timeout: 10.0
| Input Path: C:\Users\Juerg\Dropbox\Public\Calibre\Torcuato Luca de Tena\Los renglones torcidos de Dios (1284)\Los renglones torcidos de Dios - Torcuato Luca de Tena.docx
| Output Path: C:\Users\Juerg\AppData\Local\Temp\calibre_be05ew_h\41ur6l8m.docx
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 83, in <module>
  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 108, in convert_book
  File "calibre\ebooks\conversion\plumber.py", line 1281, in run
  File "calibre_plugins.ebook_translator.lib.conversion", line 99, in convert
  File "calibre_plugins.ebook_translator.lib.translation", line 247, in handle
Exception: Translation failed.
I'm without a clue of what has happened and what I could do. But I wouldn't mind the failure, if I could only save the text until then translated. Is there a way?

Nevertheless, a great plugin, thanks a lot for it!
Leonatus is offline   Reply With Quote