justvanbloom / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

gts.py | IndexError: list index out of range | during multi parent merge #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My machines running gts.py started running into the following error:
Traceback (most recent call last):
  File "app_main.py", line 51, in run_toplevel
  File "gts.py", line 327, in <module>
    g.next_gen()
  File "C:\bin\ga-bitbot\genetic.py", line 315, in next_gen
    mf = self.merge_multi(f_l)  #multi parent merge - female
  File "C:\bin\ga-bitbot\genetic.py", line 179, in merge_multi
    sums[i] += 1
IndexError: list index out of range

I've performed a fresh checkout of ga-bitbot source, and manually ran gts.py on 
my second machine [the first one runs the gene server], and after a while I get 
the same error. The error occurred while running gts.py on the second quartile. 
Although I checked out clean version, one of my other machines was still 
processing the 'old' fourth quartile, so it managed to sneak in one bob into 
the 4th quartile of the new setup =]

Both environments showed the same behavior repeatedly multiple times within at 
max an hour of runtime, and I am willing to send the gene server db backups if 
needed.

Grateful in advance!

Original issue reported on code.google.com by purge...@gmail.com on 24 Feb 2012 at 3:13

GoogleCodeExporter commented 9 years ago
I've made changes to the gene_conf.json file on the repo which would conflict 
with any existing database. Or, somehow your database has become corrupted.

Try restarting without loading the database to see if the errors persist.

Original comment by brian.mo...@gmail.com on 25 Feb 2012 at 5:33

GoogleCodeExporter commented 9 years ago
You are right =) Restarting without the old database seems to make the problem 
disappear.

I suggest we consider this issue closed until further appearance of the same 
error.

Original comment by purge...@gmail.com on 25 Feb 2012 at 7:11

GoogleCodeExporter commented 9 years ago
Issue closed.

Original comment by brian.mo...@gmail.com on 29 Feb 2012 at 1:21