Skip to content
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

PosixPath object has no attribute 'startWidth' #10

Open
CRTan opened this issue Dec 20, 2023 · 0 comments
Open

PosixPath object has no attribute 'startWidth' #10

CRTan opened this issue Dec 20, 2023 · 0 comments

Comments

@CRTan
Copy link

CRTan commented Dec 20, 2023

Hey.

I tried doing the first example on the documentation using '/bin/ls'.
I got this error message

Traceback (most recent call last):
  File "/usr/lib/python3.10/pkgutil.py", line 417, in get_importer
    importer = sys.path_importer_cache[path_item]
KeyError: PosixPath('/home/xx/.local/lib/python3.10/site-packages/revenge/techniques')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xx/Active/RevEnge/./RevEng.py", line 4, in <module>
    p = Process("ls", resume=False)
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/__init__.py", line 16, in Process
    def Process(*args, **kwargs): return devices.LocalDevice().Process(*args, **kwargs)
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/devices/local/__init__.py", line 16, in Process
    return Engine._from_string(self._engine, device=self).Process(*args, **kwargs)
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/engines/frida/process.py", line 14, in __init__
    super().__init__(*args, **kwargs)
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/process.py", line 99, in __init__
    self.techniques = Techniques(self)
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/techniques/__init__.py", line 81, in __init__
    self._enumerate_techniques()
  File "/home/xx/.local/lib/python3.10/site-packages/revenge/techniques/__init__.py", line 86, in _enumerate_techniques
    for (_, name, _) in pkgutil.iter_modules([Path(__file__).parent]):
  File "/usr/lib/python3.10/pkgutil.py", line 129, in iter_modules
    for i in importers:
  File "/usr/lib/python3.10/pkgutil.py", line 421, in get_importer
    importer = path_hook(path_item)
  File "<frozen importlib._bootstrap_external>", line 1632, in path_hook_for_FileFinder
  File "<frozen importlib._bootstrap_external>", line 1504, in __init__
  File "<frozen importlib._bootstrap_external>", line 182, in _path_isabs
AttributeError: 'PosixPath' object has no attribute 'startswith'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant