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
{{ message }}
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
File "/base/data/home/apps/......py", line ...., in .....
for file_stat in gcs.listbucket(path):
File "XXXX/cloudstorage/cloudstorage_api.py", line 550, in __iter__
self._path + '?' + urllib.urlencode(self._options))
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib.py", line 1307, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbc' in position 45: ordinal not in range(128)
At this point, self._options contains {'marker': u'ZZZZ/check/\xbc', 'prefix': u'ZZZZ/'}
Apparently, str(u'ZZZZ/check/\xbc') fails.
A fix I implemented seems to overcome this issue on our code base, but I don't want to invest too much time into understanding the implementation of appengine-gcs-client:
Here is part of a trace:
At this point, self._options contains
{'marker': u'ZZZZ/check/\xbc', 'prefix': u'ZZZZ/'}
Apparently, str(u'ZZZZ/check/\xbc') fails.
A fix I implemented seems to overcome this issue on our code base, but I don't want to invest too much time into understanding the implementation of appengine-gcs-client:
The text was updated successfully, but these errors were encountered: