rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.66k stars 1.14k forks source link

Cannot load plugin #2591

Open Shivanshu10 opened 3 years ago

Shivanshu10 commented 3 years ago

Cannot load Pluginr

Cannot Load Plugin

I tried using angrcutter plugin and placed its folder in the python dir of plugin and ran Cutter but it doesnt loads it

r_config_set: variable 'asm.var.sub' not found
Loading initialization file from  "/home/shivanshu/.config/RadareOrg/Cutter/rc"
Plugins are loaded from "/home/shivanshu/.local/share/RadareOrg/Cutter/plugins"
Loaded 0 plugin(s).
Plugins are loaded from "/usr/share/xfce4/RadareOrg/Cutter/plugins"
Plugins are loaded from "/usr/local/share/RadareOrg/Cutter/plugins"
Plugins are loaded from "/usr/share/RadareOrg/Cutter/plugins"

To Reproduce

Steps to reproduce the behavior:

  1. sudo apt-get install radare2-cutter
  2. clone angrcutter and place its folder in plugin dir
  3. run cutter
  4. See error

Expected behavior

Expecting to load my plugins

Additional context

xarkes commented 3 years ago

Hello, thanks for the report. I can see one of the following problem:

To check the second point, start Cutter and click the about button on the welcoming screen. It should display the following information:

Optional Features:
Python: ON
Python Bindings: ON
Shivanshu10 commented 3 years ago

yes it's not build with python binding.

xarkes commented 3 years ago

We'll have to check with debian package maintainers how to address this issue, and it's probably going to take some time especially since Cutter moved its backend to rizin. I suggest you to uninstall the radare2-cutter package and use the AppImage instead that you can download from here: https://github.com/rizinorg/cutter/releases/download/v1.12.0/Cutter-v1.12.0-x64.Linux.AppImage I should solve your issue.

Shivanshu10 commented 3 years ago

I tried using it but i cannot use angrcutter, cutter-jupyter plugin with cutter.AppImage since they have binded python internally, and if i use pythonhome cmd line argument to load my host python libs it prompts me an error so please try to remove this binding in upcoming updates for AppImage