Open luizirber opened 6 years ago
is this still an issue or has the oxidation fixed this?
related? at least it mentions encodings... #1428
Should not really be related. This is about the input for the sourmash_lib.load_one_signature
(C++/Rust source it seems) function requiring bytes as input, but requests.get
returns a (unicode) string. Strings can be converted to bytes using decode
. This would raise questions about whether the right encodings are used by requests.get
on one hand, and sourmash_lib.load_one_signature
or other downstream processes that might convert to python unicode strings. If processing remains on byte level, and binary output is written directly to files, this should not be an issue.
I presume the interface has changed since the switch to Rust, so who knows how relevant this still is.
While trying to load data using
requests
I hit this error:I ended up doing a
.decode('utf-8')
to make it work: