Guest User

karatesid bug?

a guest
Feb 20th, 2020
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Unicode error?
  2.  
  3. bug when trying to compile with Fuukak.sid (by Spider Jerusalem) Note: this also happened on other sids
  4.  
  5. Traceback (most recent call last):
  6. File "karatesid.py", line 44, in <module>
  7. sid = Sid(list(bytearray(open(args.infile,'rb').read())))
  8. File "karatesid.py", line 30, in __init__
  9. self.author = bytearray(data[54:86]).decode("ASCII")
  10. UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 5: ordinal not in range(128)
  11.  
  12.  
  13. commented out line 30:
  14. #self.author = bytearray(data[54:86]).decode("ASCII")
  15. added line 31 to:
  16. self.author = "wut"
  17.  
  18. Then it worked
  19.  
  20. Traceback (most recent call last):
  21. File "karatesid.py", line 44, in <module>
  22. sid = Sid(list(bytearray(open(args.infile,'rb').read())))
  23. File "karatesid.py", line 30, in __init__
  24. self.author = bytearray(data[54:86]).decode("ASCII")
  25. UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 5: ordinal not in range(128)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×