-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run "python manager.py start" #158
Comments
you need to run the . ./activate (from the chia-blockchain dir I think) before trying to start the manager or chia |
I'm getting the same error on Windows 10 Pro. If the GUI is already open, is the . ./activate still needed? I think it's a psutil version error, but I am not sure. |
I managed to fix it. I posted this to my reddit account as well: I am using Python 3.9.5. Under “This PC>Properties>Advanced System Properties>Environment Variables”, I created a new System Variable called “PYTHON_HOME” that is a pathway to my Python39 folder that was installed. It should be under AppData\Local\Programs\Python\Python39. Then under System Variables still, click Edit, click New, and add %PYTHON_HOME%. While still under System Variables, click "Path", click Edit, select New, and add %PYTHON_HOME%. Click new again and replace your user name in the pathway and then add: C:\Users\USERNAME\AppData\Local\Programs\Python\Python39\Scripts I updated to Chia 1.1.5 due to the connection issues earlier today on 1.1.4. Make sure you config.ymal file is configured properly. I would delete any other versions of Python under the Python folder from above that are present on your system. Python 3.8 was causing the error for me that you experienced. After that, I could start the manager with powershell and it’s plotting correctly now. |
I did a clean install of python and all my library on my pc, now it seems to be running well. |
Followed the installation prossess on windows power shell and cmd admin, when I get to running "python manager.py start" i get "psutil.AccessDenied: psutil.AccessDenied (pid=2396)"
(venv) C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main>python manager.py start
Traceback (most recent call last):
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_common.py", line 447, in wrapper
ret = self._cache[fun]
AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_pswindows.py", line 679, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_common.py", line 450, in wrapper
return fun(self)
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_pswindows.py", line 766, in exe
exe = cext.proc_exe(self.pid)
PermissionError: [WinError 24] The program issued a command but the command length is incorrect: '(originated from NtQuerySystemInformation)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manager.py", line 29, in
start_manager()
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\plotmanager\library\utilities\commands.py", line 20, in start_manager
if get_manager_processes():
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\plotmanager\library\utilities\processes.py", line 30, in get_manager_processes
if not re.search(r'^pythonw?(?:\d+.\d+|\d+)?(?:.exe)?$', process.name(), flags=re.I):
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_init_.py", line 617, in name
name = self._proc.name()
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_pswindows.py", line 750, in name
return os.path.basename(self.exe())
File "C:\Users\nicod\Documents\Swar-Chia-Plot-Manager-main\venv\lib\site-packages\psutil_pswindows.py", line 681, in wrapper
raise convert_oserror(err, pid=self.pid, name=self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=2396)
The text was updated successfully, but these errors were encountered: