Failed to import python plugin: official/Vector35_debugger: cannot import name 'Structure
See original GitHub issueToday updated BinaryNinja Personal 2.4.2974-dev, the Vector35 Debugger wasn’t loading with the following message
Failed to import python plugin: official/Vector35_debugger: cannot import name ‘Structure’ from ‘binaryninja’ (C:\MyFiles\Apps\BinaryNinja\plugins..\python\binaryninja_init_.py) Failed to load plugin: Vector35_debugger
Seems to be failing during the import phase found here during the except
clause which was changed about 15 hours ago according to git blame
try:
from binaryninja import Architecture, BinaryView, Symbol, SymbolType, Type, StructureBuilder, StructureType, FunctionGraphType, LowLevelILOperation, MediumLevelILOperation, core_ui_enabled, get_text_line_input, get_choice_input
post3 = True
except:
from binaryninja import Architecture, BinaryView, Symbol, SymbolType, Type, Structure, StructureType, FunctionGraphType, LowLevelILOperation, MediumLevelILOperation, core_ui_enabled, get_text_line_input, get_choice_input
post3 = False
I am not sure if I need to install something else prior to installing this plugin or not. This is Debugger v1.3.3 according to the “Manage Plugins” panel
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Segmentation Fault when enabling Plugin #2672 - GitHub
Start binaryninja; Press Ctrl+Shift+M to open the Plugin Manager; Search one of the plugins from the list above, e.g. Debugger and Press install ......
Read more >How to solve 'ImportError: cannot import' when debugging in ...
I pulled the code, set up a virtual environment (Python 3.6.9) and ran python install --editable . . All tests pass successfully both...
Read more >Debugger - Binary Ninja User Documentation
Binary Ninja Debugger is a plugin that can debug executables on Windows, Linux, and macOS, and more! The debugger plugin is shipped with...
Read more >English - Coding | Reversing
However for reasons unknown I could not get this sample running. Hence, I had to resort to a ... For dynamic analysis we...
Read more >Cannot debug my Python add-in - Mod the Machine - TypePad
You can work around that by running Python compile on your main module/main Python file to find out what the problem is with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can pull the latest version manually, we haven’t done a release as we need to do more testing, but this should get you going in the meantime:
TL;DR Just uninstall the plugin manager version and clone directly into your plugin folder.
git clone https://github.com/Vector35/debugger ~/.binaryninja/plugins/debugger
(adjust as appropriate for your OS/user folder location)
Please do not put plugins in the other locations. When you manually install them you want to use the first folder that the Tools menu opens. Any other location is incorrect. Nothing is in there because you haven’t installed any other plugins manually yet, that’s ok! 😉