Bitcoin Forum

Bitcoin => Electrum => Topic started by: NicoB on October 13, 2016, 04:04:14 AM



Title: 'ascii' codec can't decode byte 0x90 in position 1: ordinal not in range(128)
Post by: NicoB on October 13, 2016, 04:04:14 AM
Hi

Ran into unusual error today sending btc from Electrum 2.7.6 (Win7 and Raspbian, same issue):

Quote
'ascii' codec can't decode byte 0x90 in position 1: ordinal not in range(128)

Why? How to fix?

This issue has already been spotted:
https://bitcointalk.org/index.php?topic=1051709.0 (https://bitcointalk.org/index.php?topic=1051709.0)
http://bitcoin.stackexchange.com/questions/48939/electrum-wont-send-bitcoin-ascii-error (http://bitcoin.stackexchange.com/questions/48939/electrum-wont-send-bitcoin-ascii-error)
http://stackoverflow.com/questions/31491494/python-error-ascii-codec-cant-decode-byte-0x90-in-position-11-ordinal-not-in (http://stackoverflow.com/questions/31491494/python-error-ascii-codec-cant-decode-byte-0x90-in-position-11-ordinal-not-in)

0x90 is indeed out of range for ASCII, which only covers 0x00 to 0x7f

Thanks


Title: Re: 'ascii' codec can't decode byte 0x90 in position 1: ordinal not in range(128)
Post by: ThomasV on October 13, 2016, 09:32:07 AM
sorry about that bug.
it was fixed yesterday: https://github.com/spesmilo/electrum/issues/1967
I will do another release this afternoon.

edit: the fix is live, please download 2.7.7


Title: Re: 'ascii' codec can't decode byte 0x90 in position 1: ordinal not in range(128)
Post by: NicoB on October 14, 2016, 02:51:45 AM
Wow! All fixed on 2.7.7
Amazing reactivity, devs reachable on irc #electrum, I'm impressed!
Keep up the good work, Electrum is definitely the best btc client.
Thank you :)