psiphon icon indicating copy to clipboard operation
psiphon copied to clipboard

Decoding error when updating servers

Open sunandabansal opened this issue 6 years ago • 2 comments

I get the following error when I try to update servers using python psi_client.py -u -

100% [..........................................................................] 1450949 / 1450949Traceback (most recent call last):
  File "psi_client.py", line 440, in <module>
    update()
  File "psi_client.py", line 311, in update
    js = i[loc:].decode('hex')
  File "/home/username/anaconda3/envs/py27/lib/python2.7/encodings/hex_codec.py", line 42, in hex_decode
    output = binascii.a2b_hex(input)
TypeError: Odd-length string

I am not quite sure what is causing it. Can you please suggest a solution?

sunandabansal avatar Dec 31 '19 04:12 sunandabansal

Refer #27 for a solution.

crisdeodates avatar Jan 08 '20 19:01 crisdeodates

I am sorry I didn't check the existing issues. Thank you for helping me out. Using the new file provided in #27 solved it.

sunandabansal avatar Jan 09 '20 05:01 sunandabansal