Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: SirCmpwn on May 6th, 2012  |  syntax: None  |  size: 0.76 KB  |  hits: 25  |  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. Traceback (most recent call last):
  2.   File "C:\dev\opennbt\scripts\debug-region", line 47, in <module>
  3.     n = RegionFile(arg)
  4.   File "C:\Python27\lib\site-packages\opennbt\region.py", line 74, in __init__
  5.     NBTFile(buff, compressed=False)
  6.   File "C:\Python27\lib\site-packages\opennbt\nbt.py", line 373, in __init__
  7.     tmp = TAG_Compound.read(read)
  8.   File "C:\Python27\lib\site-packages\opennbt\nbt.py", line 218, in read
  9.     name = BaseTag.read_utf8(rd) if has_name else None
  10.   File "C:\Python27\lib\site-packages\opennbt\nbt.py", line 40, in read_utf8
  11.     return rd('%ds' % length)[0]
  12.   File "C:\Python27\lib\site-packages\opennbt\nbt.py", line 363, in read
  13.     return struct.unpack(fmt, src.read(struct.calcsize(fmt)))
  14. struct.error: bad char in struct format