emsec / hal

HAL – The Hardware Analyzer
MIT License
624 stars 76 forks source link

Graph algorithm cannot be used #558

Closed ghyghy123 closed 5 months ago

ghyghy123 commented 8 months ago

image Hello, I'm using the sample provided in the graph algorithm, but it says "AttributeError: 'NoneType' object has no attribute 'get_strongly_connected_components' ", I have successfully installed graph algorithm pluging and igraph, is there a solution? Thank you.

RenWal commented 7 months ago

I can't reproduce this issue. Usually if you get None from get_plugin_instance, this means that the plugin you've asked for is not available. Please confirm that graph_algorithm is available in the Plugin Manager, and that the plugin is loaded.

Av0cat0 commented 6 months ago

I can't reproduce this issue. Usually if you get None from get_plugin_instance, this means that the plugin you've asked for is not available. Please confirm that graph_algorithm is available in the Plugin Manager, and that the plugin is loaded.

I'm having this issue too, I checked the plugin manager and I couldn't find it there: image However, I couldn't find how to load the graph_algorithm plugin

RenWal commented 6 months ago

If the plugin is not visible in the plugin manager, then it does not exist in your installation. This is usually due to build options that have disabled this plugin at compile time. See also this issue comment, the build options documentation and the graph algorithms documentation.

Try rebuilding HAL with the -DPL_GRAPH_ALGORITHM=1 CMake option and see if the plugin shows up.