overviewer/Minecraft-Overviewer — Issue #535: Possible bug when piping overviewer output in Linux
Author: jaahaavi
Created: 2011-11-15 09:54:17+00:00
State: open

Just updated to latest overviewer version to my server and now piping overviewer output in linux isn't working any more.

I have made bash script which does MC backup, extract biomes and then runs overviewer:
"overviewer.py --rendermodes=lighting,night --textures-path=/data/minecraft_server/mapmaker/terrain.png --imgformat=jpg --imgquality=40 input_map/ output_map/ >> $LOGFILE 2>> $LOGFILE"

Now it's only printing endless times this to logfile:
"Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 768, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 648, in format
return fmt.format(record)
File "/usr/lib/pymodules/python2.6/overviewer_core/util.py", line 256, in format
return self.highlight(record)
File "/usr/lib/pymodules/python2.6/overviewer_core/util.py", line 280, in highlight
return super(DumbFormatter, self).highlight(record)
TypeError: super() argument 1 must be type, not classobj"

And it's not generating map images. When I removed piping ">> $LOGFILE 2>> $LOGFILE", overviewer worked normally as before update.