grmwld / hyptools

Automatically exported from code.google.com/p/hyptools
0 stars 0 forks source link

Unable to update when few foreign planets are scouted #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not having enough fleets on foreign planets, resulting in having only one
chunk less than 700 characters long.

Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
line 500, in __call__
handler.post(*groups)
File
"/base/data/home/apps/hyptools/3.331261865659676654/hivemind/index.py",
line 71, in post
database.chop(size=700)
File
"/base/data/home/apps/hyptools/3.331261865659676654/hivemind/hivemind.py",
line 38, in chop
self.__chunk_list.append(self.__raw_data_list[(i+1)*size:])
UnboundLocalError: local variable 'i' referenced before assignment

Original issue reported on code.google.com by Alexis.G...@gmail.com on 9 Feb 2009 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by Alexis.G...@gmail.com on 12 Feb 2009 at 12:53