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

translated_lines = response.json()['result']['output'][0] 오류 관련 #1

Open
WonSeokChoi-Unicorn opened this issue Oct 15, 2022 · 0 comments

Comments

@WonSeokChoi-Unicorn
Copy link

카카오 장애 응급 복구하면서 개편을 했는지 아래와 같은 오류가 발생합니다.

관련해서 수정이 필요할 것 같아서 글 작성합니다.

translateoutput = translator.translate(line, src='en', tgt='kr')

File "C:\Python38\lib\site-packages\kakaotrans\translator.py", line 82, in translate
translated_lines = response.json()['result']['output'][0]
TypeError: 'NoneType' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant