Skip to content

Instantly share code, notes, and snippets.

@ajthemacboy
Created December 8, 2015 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajthemacboy/9c64e0fd7d7946595e7d to your computer and use it in GitHub Desktop.
Save ajthemacboy/9c64e0fd7d7946595e7d to your computer and use it in GitHub Desktop.
File "/home/aj/mcedit/editortools/filter.py", line 32, in _func
func(*args, **kw)
File "/home/aj/mcedit/editortools/filter.py", line 407, in confirm
self.editor.addOperation(op)
File "/home/aj/mcedit/leveleditor.py", line 3382, in addOperation
self.performWithRetry(op)
File "/home/aj/mcedit/leveleditor.py", line 3388, in performWithRetry
op.perform(self.recordUndo)
File "/home/aj/mcedit/editortools/filter.py", line 317, in perform
self.filter.perform(self.level, BoundingBox(self.box), self.options)
File "/home/aj/mcedit/filters/Landscape_v4.py", line 125, in perform
landscape(level, box, options)
File "/home/aj/mcedit/filters/Landscape_v4.py", line 152, in landscape
pixels = list(pixels1) # @Sethbling
File "/home/aj/mcedit/png.py", line 1859, in iterscale
for row in pixels:
File "/home/aj/mcedit/png.py", line 1955, in convert
a[3::4] = array(typecode, maxval) * width
TypeError: 'int' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment