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
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
I haven't used EE-GQIS in a while since the Cloud Project Migration process, but since updating the Plugin the 'Set Project' window always throws up an error.
I already have a Cloud Project setup and configured which I mostly use for the EE JS IDE Platform, called 'EarthEngine' and a project ID of 'ee-seamus-noncomm'.
I already have successfully Signed In/Authenticated and logged in via the QGIS EE Plugin.
However when I'm asked to enter the Cloud Project Name, 'EarthEngine' or 'ee-seamus-noncomm', it brings up this Unicode error. I've also tried entering a new name thinking that maybe Set Project is only designed for creating a new GCP Project rather than assigning an exisiting one but that also brings this up;
Traceback (most recent call last):
File "C:\Users/seamu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_plugin.py", line 122, in run_cmd_set_cloud_project
ee_auth.select_project()
File "C:\Users/seamu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 124, in select_project
ee_initialize_with_project(project, force=True)
File "C:\Users/seamu/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 92, in ee_initialize_with_project
ee.Initialize(project=project)
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\ee_utils.py", line 38, in wrapper
return func(*args, **kwargs)
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\ee_init_.py", line 154, in Initialize
credentials = data.get_persistent_credentials()
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\ee\data.py", line 279, in get_persistent_credentials
if oauth.is_valid_credentials(credentials):
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\ee\oauth.py", line 133, in is_valid_credentials
credentials.refresh(google.auth.transport.requests.Request())
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\google\oauth2\credentials.py", line 409, in refresh
) = reauth.refresh_grant(
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\google\oauth2\reauth.py", line 333, in refresh_grant
response_status_ok, response_data, retryable_error = _client._token_endpoint_request_no_throw(
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\google\oauth2_client.py", line 192, in _token_endpoint_request_no_throw
response = request(
File "C:\Users\seamu\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs\google\auth\transport\requests.py", line 186, in call
response = self.session.request(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 516, in request
prep = self.prepare_request(req)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 446, in prepare_request
auth = get_netrc_auth(request.url)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\utils.py", line 204, in get_netrc_auth
_netrc = netrc(netrc_path).authenticators(host)
File "C:\OSGeo4W\apps\Python39\lib\netrc.py", line 30, in init
self._parse(file, fp, default_netrc)
File "C:\OSGeo4W\apps\Python39\lib\netrc.py", line 39, in _parse
toplevel = tt = lexer.get_token()
File "C:\OSGeo4W\apps\Python39\lib\shlex.py", line 109, in get_token
raw = self.read_token()
File "C:\OSGeo4W\apps\Python39\lib\shlex.py", line 140, in read_token
nextchar = self.instream.read(1)
File "C:\OSGeo4W\apps\Python39\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Searching online says the Unicode errors are usually related to the latin-1 encoding, but all my Windows files are in default UK English. It's an outside chance but I experience this sort of issue everywhere, could it be related to my name having an 'é' and an "O'Something" somewhere during authentication? Or is it a Credential problem that I need to reset?
Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
I haven't used EE-GQIS in a while since the Cloud Project Migration process, but since updating the Plugin the 'Set Project' window always throws up an error.
However when I'm asked to enter the Cloud Project Name, 'EarthEngine' or 'ee-seamus-noncomm', it brings up this Unicode error. I've also tried entering a new name thinking that maybe Set Project is only designed for creating a new GCP Project rather than assigning an exisiting one but that also brings this up;
Searching online says the Unicode errors are usually related to the latin-1 encoding, but all my Windows files are in default UK English. It's an outside chance but I experience this sort of issue everywhere, could it be related to my name having an 'é' and an "O'Something" somewhere during authentication? Or is it a Credential problem that I need to reset?
Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: