-
Notifications
You must be signed in to change notification settings - Fork 190
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]: KeyError: 'target' #159
Comments
@kekwak Bro, look this: #157 (comment) The same problem, one, is that it is not clear what the input text is. Second, whether this bug can be reproduced. Third, through the parameters |
|
I tried to use
with is_detail_result=True I've got this: text, that I've used: Speaking about bug reproducing, try to hold you prog for a while, I use it in telegram bot and after some time this issue appears. It this way I'm not able use it, that's why I have to restart my bot, then it starts working. |
@kekwak Bro |
Debug Tips
What happened?
i tried to print data in module before bug happens
so i got
{'http_code': 200, 'message': 'Token expired', 'err_code': None, 'details': None, 'auth_code': -3}
i use
caiyun
:out = ts.translate_text(text, translator='caiyun', from_language='en', to_language='ru')
APP Version
5.9.1
Python Version
3.11
Runtime Environment
Windows 11
Country/Region
Russia
Relevant log output
Screenshots
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: