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

Failed when running this plugin #3

Closed
chunibalon opened this issue Feb 8, 2021 · 4 comments
Closed

Failed when running this plugin #3

chunibalon opened this issue Feb 8, 2021 · 4 comments

Comments

@chunibalon
Copy link

chunibalon commented Feb 8, 2021

Hello, when I load this plugin through the hotkey or Edit menu, this issue occurs on both IDA7.5(Win10) and IDA7.5(MacOS). I tried to find it out but it seems to related to a config file?

@chunibalon
Copy link
Author

The error message:
Failed while executing plugin_t.run():
Traceback (most recent call last):
File "C:/Users/IDA/plugins/hrdevhelper.py", line 515, in run
cg = cfunc_graph_t(focusitem, self.config, close_open=True)
File "C:/Users/IDA/plugins/hrdevhelper.py", line 214, in init
self.center_node = config["options"]["center"]
KeyError: 'options'

@patois
Copy link
Owner

patois commented Feb 8, 2021

Could you please try deleting the config file (create a backup if you adjusted settings), then restart IDA and rerun the plugin? You can find the config file in %APPDATA%\Roaming\Hex-Rays\IDA Pro\plugins\HrDevHelper.cfg

@chunibalon
Copy link
Author

I have saw the %APPDATA%\Roaming\Hex-Rays\IDA Pro\plugins\HrDevHelper.cfg and I found that the %APPDATA%\Roaming\Hex-Rays\IDA Pro\plugins folder does not exist, so I create one and it works! Thanks!

@patois patois closed this as completed Feb 9, 2021
patois added a commit that referenced this issue Feb 9, 2021
@patois
Copy link
Owner

patois commented Feb 9, 2021

Thanks for pointing out this issue, which has been fixed with this commit. Previous versions wrongly assumed that the IDA installer created a "plugins" directory underneath %APPDATA%\Roaming\Hex-Rays\IDA Pro\

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

2 participants