Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 9th, 2011  |  syntax: None  |  size: 0.66 KB  |  views: 103  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [anonymous@myhost rockbox]$ sudo python2 ipoddfu.py  bootstrap-ipodclassic-r708-20110424.dfu
  2. Connected to S5L8702 Bootrom DFU mode, USB version 1
  3. Traceback (most recent call last):
  4.   File "ipoddfu.py", line 33, in <module>
  5.     dev.uploadfile(sys.argv[1])
  6.   File "/home/anonymous/rockbox/libipoddfu.py", line 187, in uploadfile
  7.     self.upload(data, exploit)
  8.   File "/home/anonymous/rockbox/libipoddfu.py", line 153, in upload
  9.     data = data + struct.pack("<I", self.crc32(data))
  10.   File "/home/anonymous/rockbox/libipoddfu.py", line 130, in crc32
  11.     crc = (crc >> 8) ^ crc_table[(crc ^ data[i]) & 0xff];
  12. TypeError: unsupported operand type(s) for ^: 'int' and 'str'
  13.