zheng-hao / ga-bitbot

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

WATCHDOG show every process as EXPIRED after commit 981929597d44 #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After commit 981929597d44 the WATCHDOG function report every process as EXPIRED 
after on minute.
The process probably arent being launched because "top" doesn't report any 
signal of pypy activity, as usual.
I am using ubuntu 12.10 (x86) with stock packages, except pypy that is from 
pypy weekly build ppa.

Original issue reported on code.google.com by andremos...@gmail.com on 3 Dec 2012 at 2:04

GoogleCodeExporter commented 8 years ago
I recently updated the gene_def capabilities but failed to maintain backwards 
compatibility. If your using an existing db library the gts script will fail.

You can confirm if this is the case after the gal.py script has been launched 
by running an instance of the gts.py script on the command line like this:

pypy gts.py 4 n

If the script crashes with a key error for 'fitness_config' or 'fitness_script' 
then this is the case.

If you are getting a different error please let me know.

Otherwise, the fix has been posted on the repo with the latest commit.

Original comment by brian.mo...@gmail.com on 8 Dec 2012 at 1:36

GoogleCodeExporter commented 8 years ago
I did what you say and the output was:
  File "app_main.py", line 51, in run_toplevel
  File "gts.py", line 228, in <module>
    ff = __import__(gd['fitness_script'])
  File "/home/ubuntu/Software/new/ga-bitbot_new/bct_alt.py", line 31, in <module>
    from logs import *
ImportError: No module named logs

so probably you forgot to add the new log file to the commit.

Original comment by andremos...@gmail.com on 11 Dec 2012 at 11:02

GoogleCodeExporter commented 8 years ago
MIssing dependencies have been added to the repo.
Verified fix by creating a clean virtual machine image and installing from the 
repo.

Original comment by brian.mo...@gmail.com on 19 Dec 2012 at 2:18