GithubHelp home page GithubHelp logo

Comments (11)

ThioJoe avatar ThioJoe commented on June 22, 2024

Hm I'll have to look

from auto-synced-translated-dubs.

ThioJoe avatar ThioJoe commented on June 22, 2024

Can you post the actual error message that comes up?

from auto-synced-translated-dubs.

benshgit avatar benshgit commented on June 22, 2024

I set tts_service = azure in cloud_service_settings.ini
I set azure_speech_key = 4633**********3a
I set skip_translation = True in config.ini
I set enabled_languages = 11 in cloud_service_settings.ini
The subtitles.srt (Chinese) and video.mp4 files are in the same directory as main.py

Then I run python main.py
It gives me the following message:

----- Beginning Processing of Languages -----
Traceback (most recent call last):
File "E:\Auto_Dubs-0.9.2\main.py", line 258, in
batchSettings = translate.set_translation_info(batchSettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Auto_Dubs-0.9.2\translate.py", line 245, in set_translation_info
langSupportResponse = auth.DEEPL_API.get_target_languages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 1141, in get_target_languages
self._raise_for_status(status, content, json)
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 560, in _raise_for_status
raise AuthorizationException(
deepl.exceptions.AuthorizationException: Authorization failure, check auth_key

from auto-synced-translated-dubs.

benshgit avatar benshgit commented on June 22, 2024

Sorry:
I set enabled_languages = 11 in batch.ini

from auto-synced-translated-dubs.

ThioJoe avatar ThioJoe commented on June 22, 2024

Sorry: I set enabled_languages = 11 in batch.ini

You mean you got it working? Or are you still having the issue?

from auto-synced-translated-dubs.

benshgit avatar benshgit commented on June 22, 2024

I am still having the issue.

I set tts_service = azure in cloud_service_settings.ini
I set azure_speech_key = 4633**********3a
I set skip_translation = True in config.ini
I set enabled_languages = 11 in batch.ini
The subtitles.srt (Chinese) and video.mp4 files are in the same directory as main.py

Then I run python main.py
It gives me the following message:

----- Beginning Processing of Languages -----
Traceback (most recent call last):
File "E:\Auto_Dubs-0.9.2\main.py", line 258, in
batchSettings = translate.set_translation_info(batchSettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Auto_Dubs-0.9.2\translate.py", line 245, in set_translation_info
langSupportResponse = auth.DEEPL_API.get_target_languages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 1141, in get_target_languages
self._raise_for_status(status, content, json)
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 560, in _raise_for_status
raise AuthorizationException(
deepl.exceptions.AuthorizationException: Authorization failure, check auth_key

from auto-synced-translated-dubs.

ThioJoe avatar ThioJoe commented on June 22, 2024

The line at the bottom describes the error, and it looks like it might be an issue with authorizing with the DeepL API. Do you have a DeepL account and API key?

from auto-synced-translated-dubs.

benshgit avatar benshgit commented on June 22, 2024

I have not a DeepL API key, and it is the reason that I don't want your project to translate subtitles. I just want your project to read out the subtitles, so I set skip_translation = true in config.ini file, but it still requires me to provide translate API. This is the issue.

from auto-synced-translated-dubs.

ThioJoe avatar ThioJoe commented on June 22, 2024

Ah ok yea that's an issue I'm aware of, I'll get around to fixing it at some point

from auto-synced-translated-dubs.

benshgit avatar benshgit commented on June 22, 2024

thank you very much. the deepL doesn't support credit card from China, so I am not able to apply a deepL API. I'm waiting you to make the project skip translation.

from auto-synced-translated-dubs.

ThioJoe avatar ThioJoe commented on June 22, 2024

Ok with the latest release 0.11.1, this should be fixed.

from auto-synced-translated-dubs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.