1 |
1 |
1 |
|
yes |
Doesn't work on 2.6 adding Traceback (most recent call last): File "run.py", line 17, in TestGame().start() File "run.py", line 13, in start self.sd.run() File "/home/mat/Downloads/bitcraft-robots/lib2d/statedriver.py", line 262, in run currentState.handle_event(event) File "/home/mat/Downloads/bitcraft-robots/lib/titlescreen.py", line 93, in handle_event self.menu.handle_event(event) File "/home/mat/Downloads/bitcraft-robots/lib2d/cmenu.py", line 266, in handle_event return [None], self.menu_items[self.selection].callback() File "/home/mat/Downloads/bitcraft-robots/lib/titlescreen.py", line 108, in new_game self.game = world.build() File "/home/mat/Downloads/bitcraft-robots/lib/world.py", line 61, in build uni.add(npc) File "/home/mat/Downloads/bitcraft-robots/lib2d/area.py", line 233, in add print "adding ", thing File "/home/mat/Downloads/bitcraft-robots/lib2d/objects.py", line 53, in __repr__ return "<{}: \"{}\">".format(self.__class__.__name__, self.name) ValueError: zero length field name in format And then Traceback (most recent call last): File "run.py", line 17, in TestGame().start() File "run.py", line 13, in start self.sd.run() File "/home/mat/Downloads/bitcraft-robots/lib2d/statedriver.py", line 262, in run currentState.handle_event(event) File "/home/mat/Downloads/bitcraft-robots/lib/titlescreen.py", line 93, in handle_event self.menu.handle_event(event) File "/home/mat/Downloads/bitcraft-robots/lib2d/cmenu.py", line 266, in handle_event return [None], self.menu_items[self.selection].callback() File "/home/mat/Downloads/bitcraft-robots/lib/titlescreen.py", line 108, in new_game self.game = world.build() File "/home/mat/Downloads/bitcraft-robots/lib/world.py", line 286, in build level = fromTMX(uni, "start.tmx") File "/home/mat/Downloads/bitcraft-robots/lib2d/buildarea.py", line 27, in fromTMX data = tmxloader.load_tmx(area.mappath) File "/home/mat/Downloads/bitcraft-robots/pytmx/tmxloader.py", line 826, in load_tmx return parse_map(map_node) File "/home/mat/Downloads/bitcraft-robots/pytmx/tmxloader.py", line 797, in parse_map l = parse_layer(tmxdata, node) File "/home/mat/Downloads/bitcraft-robots/pytmx/tmxloader.py", line 707, in parse_layer with gzip.GzipFile(fileobj=StringIO(data)) as fh: AttributeError: GzipFile instance has no attribute '__exit__' |