Skip to content

cant get process #30

@dresiarz222

Description

@dresiarz222

my code: https://pastebin.com/X99w5k97

i tried using both the get_process_by_name function and get_process_by_id function and they both dont work, heres the output:

Traceback (most recent call last): File "e:\code\readwritememoryPYTHON\memoryTEST.py", line 5, in <module> process = ReadWriteMemory().get_process_by_id("16352") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\supre\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\ReadWriteMemory\__init__.py", line 192, in get_process_by_id raise ReadWriteMemoryError(f'Process "{self.process.pid}" not found!') ReadWriteMemory.ReadWriteMemoryError: Process "-1" not found!

Traceback (most recent call last): File "e:\code\readwritememoryPYTHON\memoryTEST.py", line 5, in <module> process = ReadWriteMemory().get_process_by_name(process_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\supre\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\ReadWriteMemory\__init__.py", line 169, in get_process_by_name raise ReadWriteMemoryError(f'Process "{self.process.name}" not found!') ReadWriteMemory.ReadWriteMemoryError: Process "" not found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions