hal icon indicating copy to clipboard operation
hal copied to clipboard

Graph algorithm cannot be used

Open ghyghy123 opened this issue 1 year ago • 1 comments

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.

ghyghy123 avatar Feb 04 '24 13:02 ghyghy123

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.

RenWal avatar Feb 25 '24 16:02 RenWal

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

Av0cat0 avatar Mar 25 '24 19:03 Av0cat0

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.

RenWal avatar Mar 26 '24 09:03 RenWal