View Single Post
Old 09-05-2023, 10:05 AM   #71
vanessabluellie
Member
vanessabluellie began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Nov 2022
Device: none
Quote:
Originally Posted by kindlefere View Post
Thanks for your feedback. Could you provide an error message for the problem you encountered while translating EPUB/MOBI files using the programs you listed?
Thank you for your response! Yes, of course, I was attempting to translate an EPUB and output the translation in the same EPUB format as well. Although the plugin executed and the translation was running smoothly, just when it finishes, an error message appears and fails to output any translation at all. Please see below:

Code:
-----------------------------------
Error: Failed to retrieve data from translate engine API.
Can not parse returned response. Raw data: 
Traceback (most recent call last):
  File "calibre_plugins.ebook_translator.engines.base", line 171, in get_result
  File "mechanize\_mechanize.py", line 257, in open
  File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 400: Bad Request
==============================
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 246, in handle
Exception: Translation failed.
vanessabluellie is offline   Reply With Quote