You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode
coro = func()
^^^^^^
File "", line 1, in
File "/Users/mac/miniconda3/envs/Py311/lib/python3.11/site-packages/googletrans/client.py", line 194, in translate
data, response = self._translate(text, dest, src)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/miniconda3/envs/Py311/lib/python3.11/site-packages/googletrans/client.py", line 122, in _translate
if r.status_code != 200 and self.raise_Exception:
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Translator' object has no attribute 'raise_Exception'. Did you mean: 'raise_exception'?
The text was updated successfully, but these errors were encountered:
This issue doesn't fix the above issue. I'm also running 4.0.0rc1 and encountered the same issue. I imagine it's an easy fix to change the capitalisation but I would like the project I'm working onto be portable and changing it in each environment is too much.
Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode
coro = func()
^^^^^^
File "", line 1, in
File "/Users/mac/miniconda3/envs/Py311/lib/python3.11/site-packages/googletrans/client.py", line 194, in translate
data, response = self._translate(text, dest, src)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/miniconda3/envs/Py311/lib/python3.11/site-packages/googletrans/client.py", line 122, in _translate
if r.status_code != 200 and self.raise_Exception:
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Translator' object has no attribute 'raise_Exception'. Did you mean: 'raise_exception'?
The text was updated successfully, but these errors were encountered: