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

No such file or directory shims\__init__.py #53

Open
yooo1999 opened this issue Oct 24, 2022 · 2 comments
Open

No such file or directory shims\__init__.py #53

yooo1999 opened this issue Oct 24, 2022 · 2 comments

Comments

@yooo1999
Copy link

yooo1999 commented Oct 24, 2022

I have tried to install plugin directory into IDA8.1 directory in Windows OS:

python install.py --install -d "c:\Program Files\IDA Pro 8.1"
But I got an error:


Installing plugins from c:\Users\xxxxx\Desktop\ida\plugins to c:\Program Files\IDA Pro 8.1\plugins...
Installing alleycat...alleycat is not a known plugin. Skipping copy...Done
Installing codatify...codatify is not a known plugin. Skipping copy...Done
Installing fluorescence...fluorescence is not a known plugin. Skipping copy...Done
Installing funcprofiler...funcprofiler is not a known plugin. Skipping copy...Done
Installing leafblower...leafblower is not a known plugin. Skipping copy...Done
Installing localxrefs...localxrefs is not a known plugin. Skipping copy...Done
Installing mipslocalvars...mipslocalvars is not a known plugin. Skipping copy...Done
Installing mipsrop...mipsrop is not a known plugin. Skipping copy...Done
Installing rizzo...rizzo is not a known plugin. Skipping copy...Done
Installing shims...Traceback (most recent call last):
  File "install.py", line 108, in <module>
    install_plugins(args.directory)
  File "install.py", line 50, in install_plugins
    open(os.path.join(shims_dir, '__init__.py'), 'a').close()
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Program Files\\IDA Pro 8.1\\plugins\\shims\\__init__.py'

https://github.com/tacnetsol/ida/blob/master/plugins/install.py#L50

@mzpqnxow
Copy link

I vaguely remember having this issue. Manually create that shims directory and run the script again

(add an os.mkdir into the script)

Or... just manually copy the files

@asfandiyar007
Copy link

I got the same kinda error that was saying couldn't find "from shims import ida_shims".
I fixed it by making shims directory in "plugins" and then created ida_shims.py and pasted the code from https://github.com/grayhatacademy/ida/blob/master/plugins/shims/ida_shims.py and now the error is gone. Hope this helps

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

3 participants