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
Call client.ens_address(name) in python with a successful name, such as belly.eth.
Expected behavior
Using python, when calling ens_address(), I'd expect to not get a UnicodeDecodeError almost every call.
Actual behavior
I get a UnicodeDecodeError almost every call.. Probably happens 9/10 times. It complains about a continuation byte. The line of code that fails is line 29
key = c.string_at(key).decode('utf8')
When setting a breaking point and reading the value of c.string_at(key), it looks like this:
b'ens:belly.eth:0:\xe0\xe5FX\x9b\x7f'
Which is obviously not a valid path to be saving...
System configuration
Mac OS python 3.8
Incubed version
Latest
Request
ens_address()
Incubed Configuration
SSL errors ignored
Chain
Mainnet
The text was updated successfully, but these errors were encountered:
antazoey
changed the title
Memory leak during ens_address() when setting item in cache (python)
Unicode error when saving file in in cache (python)
Sep 13, 2020
Steps to reproduce
Call
client.ens_address(name)
in python with a successful name, such asbelly.eth
.Expected behavior
Using python, when calling
ens_address()
, I'd expect to not get aUnicodeDecodeError
almost every call.Actual behavior
I get a
UnicodeDecodeError
almost every call.. Probably happens 9/10 times. It complains about a continuation byte. The line of code that fails is line 29When setting a breaking point and reading the value of
c.string_at(key)
, it looks like this:Which is obviously not a valid path to be saving...
System configuration
Mac OS python 3.8
Incubed version
Latest
Request
ens_address()
Incubed Configuration
SSL errors ignored
Chain
Mainnet
The text was updated successfully, but these errors were encountered: