opensnitch icon indicating copy to clipboard operation
opensnitch copied to clipboard

[Bug Report] Double clicking on any line in System Rules Crashes opensnitch-ui

Open gitols opened this issue 5 months ago • 0 comments

Describe the bug:

Double clicking on any line in System Rules immediately crashes opensnitch-ui. Right clicking and using the context menu to edit the System Rule does work. Double clicking on the Application Rules or Nodes section works as expected.

Include the following information:

  • OpenSnitch version: 1.7.0.0
  • OS: Fedora 42
  • Window Manager: KDE
  • Kernel version: 6.14.9

To Reproduce:

Steps to reproduce the behavior:

  1. Open GUI
  2. Go to System Rules
  3. Double click on any of the system rules.

Post error logs:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/opensnitch/dialogs/stats.py", line 2015, in _cb_table_double_clicked self._fw_dialog.load_rule(addr, uuid) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/opensnitch/dialogs/firewall.py", line 387, in load_rule self._fwrule_dialog.load(addr, uuid) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/opensnitch/dialogs/firewall_rule.py", line 1076, in load if Fw.Utils.isExprPort(exp.Statement.Name): ^^^^^^^^ AttributeError: module 'opensnitch.firewall' has no attribute 'Utils'. Did you mean: 'utils'? Fatal Python error: Aborted

gitols avatar Jun 09 '25 04:06 gitols