Skip to content

Conversation

@Thib-fkr
Copy link
Contributor

When enabling the plugins:

  • plugin_track_command = true
  • plugin_ioc_report = true
  • plugin_hooks = true

SemaSCDG.py crashes with error messages such as:

  File ".../sema_scdg/application/SemaSCDG.py", line 543, in collect_data
    self.plugins.enable_plugin_ioc(self, self.scdg_graph, exp_dir)
TypeError: PluginManager.enable_plugin_ioc() takes 3 positional arguments but 4 were given

Because an additional self argument is passed to the functions PluginManager.enable_plugin_[hooks - commands - ioc].

This pull request removes the additional arguments causing the crashes.

@serenalucca serenalucca merged commit 46b5cfd into csvl:production Mar 10, 2025
0 of 3 checks passed
@Thib-fkr Thib-fkr deleted the fix_plugins branch May 6, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants