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

I/O error unable to write directory #65

Closed
nsonaniya2010 opened this issue Apr 2, 2018 · 5 comments
Closed

I/O error unable to write directory #65

nsonaniya2010 opened this issue Apr 2, 2018 · 5 comments
Labels

Comments

@nsonaniya2010
Copy link

frida


Failed to load the Frida native extension: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s)
to the Python egg cache:

[Errno 5] Input/output error

The Python egg cache directory is currently set to:

/root/.cache/Python-Eggs

Perhaps your account does not have write access to this directory?
You can change the cache directory by setting the PYTHON_EGG_CACHE
environment variable to point to an accessible directory.

Please ensure that the extension was compiled for Python 3.x.

@leonjza leonjza added the frida label Apr 2, 2018
@leonjza
Copy link
Member

leonjza commented Apr 2, 2018

This looks like frida itself did not install properly, possibly because you not have write access to /root/.cache/Python-Eggs. Please check that you can successfully pip3 install frida. If you don't come right on your current platform then I suggest you try this is something like a Kali Linux VM or similar.

@leonjza leonjza closed this as completed Apr 2, 2018
@nsonaniya2010
Copy link
Author

When i typed command following o/p is there:

Requirement already satisfied: frida in /usr/local/lib/python3.6/dist-packages/frida-10.7.7-py3.6-linux-x86_64.egg
Requirement already satisfied: colorama>=0.2.7 in /usr/local/lib/python3.6/dist-packages (from frida)
Requirement already satisfied: prompt-toolkit>=0.57 in /usr/local/lib/python3.6/dist-packages/prompt_toolkit-1.0.15-py3.6.egg (from frida)
Requirement already satisfied: pygments>=2.0.2 in /usr/lib/python3/dist-packages (from frida)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from prompt-toolkit>=0.57->frida)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages/wcwidth-0.1.7-py3.6.egg (from prompt-toolkit>=0.57->frida)
``

@nsonaniya2010
Copy link
Author

Also, i have uninstalled and installed frida and objection again also i have given the full read write permission but i am getting same error.

@nsonaniya2010
Copy link
Author

Also how can i ensure this Please ensure that the extension was compiled for Python 3.x. or how can i compile it in Python 3.X ?

@leonjza
Copy link
Member

leonjza commented Apr 4, 2018

I am sorry, but unfortunately I am still unsure about what exactly is going wrong here for you. I suspect if the installation of Frida fails (like with your permissions issues) when the prebuilt extensions are downloaded you can face similar issues to the ones you have now where it looks like Frida is installed, but in fact it is not.

The only thing I can suggest is you try and remove Frida & re-install, try this in a fresh VM or install in a new virtual environment like the wiki suggests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants