Oh, you meant I should input the test script into clop? I only invoked it from the command line last time.Daniel Shawul wrote: Do the same with a simple python program that prints "print 'W'" see if there is a difference. On windows you need to execute 'python dum.py'. For linux that might be also the case so in your shell script add a 'python' infront to see it works. If that doesn't work give the full path to the python /home/python27/python etc.should beCode: Select all
# Script for running a game. See DummyScript.py for details. Script ./clop-cutechess-cli.py
Also print some debugging stuff to a log file or stderr in the first lines of your python script and see if it is being executed.Code: Select all
# Script for running a game. See DummyScript.py for details. Script python ./clop-cutechess-cli.py
Ok, now I made a simple python script:
Code: Select all
#!/usr/bin/python
print("W")
Code: Select all
chmod +x test.py
Now clop works!
Oh... oh my... I think I know what I did wrong. I marked cutechess-cli.sh as executable but forgot to mark clop-cutechess-cli.py as executable!
I did that now, and clop works perfectly!!
99% of all mistakes turn out to be silly mistakes.
Thank you so much Daniel Shawul, Adam Hair and Jon Dart for your kind help.
Here is a virtual gift for you: