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

TypeError at random times #63

Open
Maichelanger opened this issue May 19, 2023 · 0 comments
Open

TypeError at random times #63

Maichelanger opened this issue May 19, 2023 · 0 comments

Comments

@Maichelanger
Copy link

I've been using this library for some time now, and it's true that having this error from time to time wasn't very uncommon, so I just nested various try-except together and it made the trick.

But lately, any of the libraries using Google translate are returning way too often the following error when translating any kind of text:
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

It doesn't seem to be consistent, since re-trying the same text later will work.
Is this a problem of the libraries that uses this service or it's a bug of the program?

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