Skip to content

[Bug Report] Crash when trying to delete a rule from applications #1635

Description

@Elnix90

Describe the bug:

The app crashed when trying to delete an entry from the applications tab.

Include the following information:

  • OpenSnitch version: ~ OpenSnitch GUI - 1.7.2 ~ protobuf: 7.35.1 - grpc: 1.82.1
  • OS: Arch Linux
  • OS version: N/A
  • Window Manager: Hyprland
  • Kernel version: Linux archlinux 7.1.3-arch1-1 #\1 SMP PREEMPT_DYNAMIC Tue, 07 Jul 2026 05:05:48 +0000 x86_64 GNU/Linux

To Reproduce:

  • Add rule when an app tries to connect to the internet and the popup shows up.
  • Open the GUI
  • Go to Applications and select the entry you want to remove
  • Press delete and click OK on the dialog that shows up
  • App freezes a bit and then crashes

Post error logs:

Loaded network aliases from /usr/lib/python3.14/site-packages/opensnitch/utils/network_aliases/network_aliases.json
	~ OpenSnitch GUI - 1.7.2 ~
	protobuf: 7.35.1 - grpc: 1.82.1
-------------------------------------------------- 

QT_AUTO_SCREEN_SCALE_FACTOR: True
gRPC Max Message Length: None
                  Bytes: 4194304
is new file, or IN MEMORY, setting initial schema version
setting schema version to: 3
setting schema version to: 3
Setting journal_mode:  OFF
Setting DB memory optimizations
schema version: 3
db schema is up to date
actions.__init__ exception: [Errno 17] File exists: '/home/elnix/.config//opensnitch/actions/'
actions.__init__ exception: [Errno 17] File exists: '/home/elnix/.config//opensnitch/actions/'
Loading translations: /usr/lib/python3.14/site-packages/opensnitch/utils/../i18n locale: en_US
exception loading ipasn db: No module named 'pyasn'
Install python3-pyasn to display IP's network name.
actions.__init__ exception: [Errno 17] File exists: '/home/elnix/.config//opensnitch/actions/'
Qt standardIcon exception: security-medium , 'security-medium'
Qt standardIcon exception: security-low , 'security-low'
Qt standardIcon exception: address-book-new , type object 'QStyle' has no attribute ''
Qt standardIcon exception: system-run , type object 'QStyle' has no attribute ''
Using server address: unix:///tmp/osui.sock auth type: simple
Setting daemon DefaultAction to: deny
new node connected, listening for client responses... /local
[Nodes]:   reply notification not in the list: 0
Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/opensnitch/dialogs/stats.py", line 876, in eventFilter
    self._table_menu_delete(self.tabWidget.currentIndex(), model, selection)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/opensnitch/dialogs/stats.py", line 1604, in _table_menu_delete
    field = model.index(idx.row(), self.COL_WHAT).data()
                        ^^^^^^^
AttributeError: 'list' object has no attribute 'row'
fish: Job 1, 'opensnitch-ui' terminated by signal SIGABRT (Abort)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions