Closed Furkan125 closed 3 years ago
Hey,
Please post the code you're using and a detailed error output
Hey,
Please post the code you're using and a detailed error output
Hello, sorry for late respond. Also, here is my code:
import pymeow
pymeow.process_by_pid(10504)
(The code is just this, because I haven't been able to solve the error yet, I also checked the PID and it's spelled correctly but I'm getting an error.)
and this is the error that i got: nimpy.Exception: Unable to open Process [Pid: 10504] [Error code: 5]
Error Code 5 means ERROR_ACCESS_DENIED
(error codes). Since a handle is required to read / write external it could be that your process is protected in some way? Do you got that issue for all processes?
No, I got that error in only 1 process . I tried it in other processes and there was no problem. It also works when I try to open same process with Cheat Engine and it also works when I try with Memory.dll (a C# library) https://github.com/erfg12/memory.dll/wiki/Administrative-Privileges
Could you check if that fixes the issue? If you aren't able to compile it for any reason let me know and I'll leave you a download for the compiled version.
I try 2 times but its still don't work. Maybe i should continue with C#. Also why did google chrome and virus total says PyMeow is a virus ?
I try 2 times but its still don't work. Maybe i should continue with C#.
Okay. PyMeow uses the same OpenProcess
priviledges as the C# library. So it could be a general rights issue by python for you.
Also why did google chrome and virus total says PyMeow is a virus ?
Virus Scan No issues here. Just one (unknown) virus software which flags it.
So it could be a general rights issue by python for you.
Could it be a problem to use the script without compiling or maybe problem is Python version I am using? What version does PyMeow run on?
Pymeow should run on all python 3 versions. But I guess switching to another version won't make a difference. If you want to contact me on discord and let me know which process causes that issues so I can test it out myself.
If you want to test process yourself: Download Growtopia (www.growtopiagame.com)
Hi, i got this error when i try to open process with Pid: Unable to open Process My error code: 5 I also try running cmd as administrator and running this command: python test.py but its still don't work.