Open ilkeralp opened 4 years ago
maybe you want to run chmod +x /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py
to make it executable?
Your error report is a bit difficult to read, but it seems that the above command will do the trick.
basically either you give the file executable permissions and you can run it directly, or you use the command python /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py
.
thank you very much for the help
Now - The error has been changed.
As popup:
Could not run LeelaZero using the command from config.ini file: /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py --gtp --noponder --weights weights.txt [Errno 8] Exec format error
And in Terminal Window
Traceback (most recent call last): File "/Users/ilkeralp/goreviewpartner-master/toolbox.py", line 1301, in bot_starting_procedure bot=bot_gtp(bot_command_line) File "/Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py", line 262, in init self.process=subprocess.Popen(command,cwd=leela_zero_working_directory, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 8] Exec format error
I cannot run a SGF file analysis. (Mac OS Catalina 10.15.3
GoReviewPartner Error: (as popup) Could not run LeelaZero using the command from config.ini file: /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py --gtp --noponder --weights weights.txt [Errno 13] Permission denied
In Termina Window
Last login: Thu May 7 17:04:28 on ttys000
The default interactive shell is now zsh. To update your account to use zsh, please run
chsh -s /bin/zsh
. For more details, please visit https://support.apple.com/kb/HT208050. Ilker-MBP:~ ilkeralp$ sudo python /Users/ilkeralp/goreviewpartner-master/main.py Password: (u'STDIN encoding:', 'UTF-8') (u'STDOUT encoding:', 'UTF-8') (u'STDERR encoding:', 'UTF-8') (u'File system encoding:', 'utf-8') GRP path: /Users/ilkeralp/goreviewpartner-master Config file: /Users/ilkeralp/goreviewpartner-master/config.ini Checking availability of config file Reading language setting from config file lang=en Could not import the WX GUI library, please double check it is installed: Avoiding wx => No problem, falling back to tkFileDialog DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning. (Could not load the application icon) refreshing Adding new popup Totally 1 popups 2020-05-07 17:17:32.449 Python[61725:13257490] WARNING: <NSOpenPanel: 0x7f85405aedb0> running implicitly; please run panels using NSSavePanel rather than NSApplication. /Users/ilkeralp/goreviewpartner-master/temp A non utf value string sent to my config: /Users/ilkeralp/goreviewpartner-master/temp filename: /Users/ilkeralp/goreviewpartner-master/temp/qtvbot-ilkeralp.sgf variation changed! Variation 1 (124 moves) Adding new popup Totally 2 popups bot selection: LeelaZero - ilker ========= move selection [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124] ========= variation 0 keeping only variation 0 deleting... deleting... size of the tree: 19 Setting new komi Bot starting procedure started with profile = ilker bot name: LeelaZero bot gtp name Leela Zero Starting LeelaZero... Leela Zero working directory: /Users/ilkeralp/goreviewpartner-master/Traceback (most recent call last): File "/Users/ilkeralp/goreviewpartner-master/toolbox.py", line 1301, in bot_starting_procedure bot=bot_gtp(bot_command_line) File "/Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py", line 262, in init self.process=subprocess.Popen(command,cwd=leela_zero_working_directory, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 13] Permission denied
=== ERROR: Could not run LeelaZero using the command from config.ini file: /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py --gtp --noponder --weights weights.txt [Errno 13] Permission denied Adding new popup Totally 3 popups Removing popup Totally 2 popups left 2020-05-07 17:20:00.378 Python[61725:13257490] WARNING: <NSOpenPanel: 0x7f85405f9540> running implicitly; please run panels using NSSavePanel rather than NSApplication. /Users/ilkeralp/goreviewpartner-master/temp A non utf value string sent to my config: /Users/ilkeralp/goreviewpartner-master/temp filename: /Users/ilkeralp/goreviewpartner-master/temp/qtvbot-ilkeralp.sgf variation changed! Variation 1 (124 moves) Adding new popup Totally 3 popups bot selection: LeelaZero - ilker ========= move selection [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124] ========= variation 0 keeping only variation 0 deleting... deleting... size of the tree: 19 Setting new komi Bot starting procedure started with profile = ilker bot name: LeelaZero bot gtp name Leela Zero Starting LeelaZero... Leela Zero working directory: /Users/ilkeralp/goreviewpartner-master/
Traceback (most recent call last): File "/Users/ilkeralp/goreviewpartner-master/toolbox.py", line 1301, in bot_starting_procedure bot=bot_gtp(bot_command_line) File "/Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py", line 262, in init self.process=subprocess.Popen(command,cwd=leela_zero_working_directory, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 13] Permission denied
=== ERROR: Could not run LeelaZero using the command from config.ini file: /Users/ilkeralp/goreviewpartner-master/leela_zero_analysis.py --gtp --noponder --weights weights.txt [Errno 13] Permission denied Adding new popup Totally 4 popups Removing popup