本帖最后由 5032479833 于 2020-5-28 11:40 编辑

Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license()" for more information.

>>>

===== RESTART: C:\Users\Admin\Desktop\PH\wechatDBdecrypt\wechatGetKey.py =====

Traceback (most recent call last):

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\_common.py", line 449, 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\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\_pswindows.py", line 679, in wrapper

return fun(self, *args, **kwargs)

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\_common.py", line 452, in wrapper

return fun(self)

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\_pswindows.py", line 766, in exe

exe = cext.proc_exe(self.pid)

PermissionError: [WinError 24] 程序发出命令,但命令长度不正确。: '(originated from NtQuerySystemInformation)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\Admin\Desktop\PH\wechatDBdecrypt\wechatGetKey.py", line 361, in

pids = get_all_pid_name(names=['WeChat.exe'])

File "C:\Users\Admin\Desktop\PH\wechatDBdecrypt\wechatGetKey.py", line 357, in get_all_pid_name

if p.name() in names:

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\__init__.py", line 630, in name

name = self._proc.name()

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\psutil\_pswindows.py", line 750, in name

return os.path.basename(self.exe())

File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\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=1616)

>>>

@Light紫星

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐