philsajdak / decyx

Decyx: AI-powered Ghidra extension for enhanced reverse engineering and binary analysis.
https://www.decyx.com
MIT License
56 stars 0 forks source link

No module named decompanion #1

Closed b33fstrogan0ff closed 1 week ago

b33fstrogan0ff commented 1 week ago

Hey, just tried installing this plugin. Followed the instructions but when I run it I'm getting the following error in the Ghidra console:

Traceback (most recent call last):
  File "/home/user/Tools/ghidra_plugins/decyx/Decyx/Decyx.py", line 16, in <module>
    from decyx.gui import *
  File "/home/user/Tools/ghidra_plugins/decyx/Decyx/decyx/gui.py", line 3, in <module>
    from decompanion.dialogs.suggestion_dialog import show_suggestion_dialog
ImportError: No module named decompanion

Running Ghidra 11.2.

mosimo commented 1 week ago

Very quick workaround without having to change any code: Copy the decyx folder where Decyx.py is and call it decompanion

image

b33fstrogan0ff commented 1 week ago

Thanks that did the trick! This is awesome by the way, just tried it out, so helpful!

philsajdak commented 1 week ago

Sorry, looks like I somehow forgot to fix some of the renaming in some of the files back when the project was still called Decompanion. Should be fixed now. Thanks for the catch!