为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:Windows Server 2012 R2 Standard (build 9600) x64 (Py3.8.6)
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1591, in publicObject
return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1830, in run
result = resobj(get)
File "D:\BtSoft\panel/class\panelProjectController.py", line 93, in model
result = PluginLoader.module_run(module_name, def_name, pdata)
File "D:\BtSoft\panel/class/projectModel/procModel.py", line 24, in get_cpu_list
for proc in psutil.process_iter(
File "C:\Program Files\python\lib\site-packages\psutil\__init__.py", line 1465, in process_iter
proc.info = proc.as_dict(
File "C:\Program Files\python\lib\site-packages\psutil\__init__.py", line 542, in as_dict
ret = meth()
File "C:\Program Files\python\lib\site-packages\psutil\__init__.py", line 732, in cwd
return self._proc.cwd()
File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 681, in wrapper
raise convert_oserror(err, pid=self.pid, name=self._name)
File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 671, in convert_oserror
raise exc
File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 679, in wrapper
return fun(self, *args, **kwargs)
File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 695, in wrapper
return fun(self, *args, **kwargs)
File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 981, in cwd
path = cext.proc_cwd(self.pid)
OSError: [WinError 0] 操作成功完成。: '(originated from OpenProcess)'
|
|