Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unicode error?
- bug when trying to compile with Fuukak.sid (by Spider Jerusalem) Note: this also happened on other sids
- Traceback (most recent call last):
- File "karatesid.py", line 44, in <module>
- sid = Sid(list(bytearray(open(args.infile,'rb').read())))
- File "karatesid.py", line 30, in __init__
- self.author = bytearray(data[54:86]).decode("ASCII")
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 5: ordinal not in range(128)
- commented out line 30:
- #self.author = bytearray(data[54:86]).decode("ASCII")
- added line 31 to:
- self.author = "wut"
- Then it worked
- Traceback (most recent call last):
- File "karatesid.py", line 44, in <module>
- sid = Sid(list(bytearray(open(args.infile,'rb').read())))
- File "karatesid.py", line 30, in __init__
- self.author = bytearray(data[54:86]).decode("ASCII")
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 5: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement