Page 1 of 1

Feeks and PyTuroChamp (both written in Python)

Posted: Thu Jan 04, 2018 7:48 pm
by Norbert Raimund Leisner
Hello,

it concerns https://github.com/mdoege/PyTuroChamp and https://github.com/flok99/feeks , but with a similar problem: in contrast to other python engines like Shatranj https://github.com/stannous/shatranj [python -u shatranj.py -xboard] , Sunfish https://github.com/thomasahle/sunfish [python -u xboard.py] ) , Python Chess https://github.com/jrialland/python-chess [python -u chess3.py] and IZII https://github.com/ElliotVilhelm/IZII [python -u xboard.py] one thing is a mystery for me;

The batch-file ptc https://github.com/mdoege/PyTuroChamp/b ... er/ptc.bat or modified python -u ptc_xboard.py is closed immediately after a double mouse-click and does not stay opened like other Python-programs, if these appications are correctly configurated, e.g. Python 3.6.4 (Windows) und alle necessary engine components are situated into the same Python folder/directotory. Conclusion: PyTuroChamp cannot be lauched into a GUI like Arena or WinBoard Interface. Martin is a Macintosh and Linux user, so he could not tell me what´s going wrong in that case.

Same with trying to create a batch.file [python -u main.py] for Feeks and Python 2.7.14 (Windows) - Feeks calculates, but executes no plies

Lucas (Lucas Chess) has created a PyTuroChamp.exe file (with PyInstaller) here: https://drive.google.com/file/d/1brc1UF ... Ef7gI/view

Lucas,could you be so kind and make a Windows.exe file of Feeks with PyInstaller too and host it on Google, please?

Not all members here a probably Python experts....

A Windows-prompt (cmd.exe) and a link to path C:\Users\NRL\AppData\Roaming\npm;C:\pychess\ pressing ENTER failed again > wrong written or could not be found

Best wishes,

Norbert

Re: Feeks and PyTuroChamp (both written in Python)

Posted: Fri Jan 05, 2018 9:12 am
by lukasmonk
Windows binary of feeks:
https://drive.google.com/file/d/1n0uB1w ... sp=sharing

The procedure is very simple, I have installed pyinstaller (pip install pyinstaller)
then in a terminal in the source folder of feeks: pyinstaller main.py -F -c

Re: Feeks and PyTuroChamp (both written in Python)

Posted: Fri Jan 05, 2018 10:09 am
by Guenther
lukasmonk wrote:Windows binary of feeks:
https://drive.google.com/file/d/1n0uB1w ... sp=sharing

The procedure is very simple, I have installed pyinstaller (pip install pyinstaller)
then in a terminal in the source folder of feeks: pyinstaller main.py -F -c
Of course it still crashes due to the problem in Win described by me in the original feeks thread.

Re: Feeks and PyTuroChamp (both written in Python)

Posted: Fri Jan 05, 2018 12:20 pm
by Sylwy
Guenther wrote:
lukasmonk wrote:Windows binary of feeks:
https://drive.google.com/file/d/1n0uB1w ... sp=sharing

The procedure is very simple, I have installed pyinstaller (pip install pyinstaller)
then in a terminal in the source folder of feeks: pyinstaller main.py -F -c
Of course it still crashes due to the problem in Win described by me in the original feeks thread.[/quote]

:lol: :lol: :lol: Right !

Image

Re: Feeks and PyTuroChamp (both written in Python)

Posted: Mon Jan 08, 2018 7:39 pm
by Sergio Martinez
Hi Norbert

I have tried to run Pyturo (native python) and it works lost on time all games after 8-10 moves. I tried adding xboard command or so but without success.
Norbert Raimund Leisner wrote:Hello,

it concerns https://github.com/mdoege/PyTuroChamp and https://github.com/flok99/feeks , but with a similar problem: in contrast to other python engines like Shatranj https://github.com/stannous/shatranj [python -u shatranj.py -xboard] , Sunfish https://github.com/thomasahle/sunfish [python -u xboard.py] ) , Python Chess https://github.com/jrialland/python-chess [python -u chess3.py] and IZII https://github.com/ElliotVilhelm/IZII [python -u xboard.py] one thing is a mystery for me;

The batch-file ptc https://github.com/mdoege/PyTuroChamp/b ... er/ptc.bat or modified python -u ptc_xboard.py is closed immediately after a double mouse-click and does not stay opened like other Python-programs, if these appications are correctly configurated, e.g. Python 3.6.4 (Windows) und alle necessary engine components are situated into the same Python folder/directotory. Conclusion: PyTuroChamp cannot be lauched into a GUI like Arena or WinBoard Interface. Martin is a Macintosh and Linux user, so he could not tell me what´s going wrong in that case.

Same with trying to create a batch.file [python -u main.py] for Feeks and Python 2.7.14 (Windows) - Feeks calculates, but executes no plies

Lucas (Lucas Chess) has created a PyTuroChamp.exe file (with PyInstaller) here: https://drive.google.com/file/d/1brc1UF ... Ef7gI/view

Lucas,could you be so kind and make a Windows.exe file of Feeks with PyInstaller too and host it on Google, please?

Not all members here a probably Python experts....

A Windows-prompt (cmd.exe) and a link to path C:\Users\NRL\AppData\Roaming\npm;C:\pychess\ pressing ENTER failed again > wrong written or could not be found

Best wishes,

Norbert

Re: Feeks and PyTuroChamp (both written in Python)

Posted: Mon Jan 08, 2018 7:51 pm
by Guenther
Sergio Martinez wrote:Hi Norbert

I have tried to run Pyturo (native python) and it works lost on time all games after 8-10 moves. I tried adding xboard command or so but without success.
I wrote already several weeks ago what problems are there and why.
It seems Norbert did not understand or did not believe it?

http://talkchess.com/forum/viewtopic.ph ... yturochamp

The user himself has to change the code (for which side to play and for max depth) and even then there will be a problem...with White/Black in computer mode...

This is mentioned at the chronolgy since early december in the 'waiting list'.