From 80c7b4fcdf6a3809d105ba3e243e2faa0cb8b92e Mon Sep 17 00:00:00 2001 From: Thomas Lake Date: Fri, 2 Mar 2012 20:50:17 +0000 Subject: [PATCH 1/2] Add note pointing users to the overviewer.org blog if run against anvil --- overviewer_core/world.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 42ea227..2df94ba 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -80,6 +80,8 @@ class World(object): data = nbt.load(os.path.join(self.worlddir, "level.dat"))[1]['Data'] if not ('version' in data and data['version'] == 19132): logging.error("Sorry, This version of Minecraft-Overviewer only works with the new McRegion chunk format") + if ('version' in data and data['version'] == 19133): + logging.error("Support for Anvil is currently in development - see http://overviewer.org/blog/2012/03/01/anvil-support/") sys.exit(1) if 'LevelName' in data: # level.dat should have the LevelName attribute so we'll use that From 3007099c44d5cf8420ea1ffadca4695fec7e0a8f Mon Sep 17 00:00:00 2001 From: Aaron Griffith Date: Fri, 2 Mar 2012 19:09:40 -0500 Subject: [PATCH 2/2] fixed --version on debian --- overviewer_core/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/util.py b/overviewer_core/util.py index 826dcd9..a11cb26 100644 --- a/overviewer_core/util.py +++ b/overviewer_core/util.py @@ -62,7 +62,7 @@ def findGitHash(): def findGitVersion(): try: - p = Popen(['git', 'describe', '--tags'], stdout=PIPE, stderr=PIPE, shell=True) + p = Popen('git describe --tags', stdout=PIPE, stderr=PIPE, shell=True) p.stderr.close() line = p.stdout.readlines()[0] if line.startswith('release-'):