Skip to content

AttributeError: NoneType object has no attribute "text" in exclude dialogue #1860

Description

@ThomasWaldmann

Description

Vorta crashed when trying the new exclude dialogue, after adding a new and simple exclude pattern.

views/exclude_dialog.py line 266 in custom_pattern_editing_finished
AttributeError: NoneType object has no attribute "text"

Reproduction

  • I tried to reproduce the issue.
  • I was able to reproduce the issue.

OS

macOS Ventura

Version of Vorta

0.9.1beta3

What did you install Vorta with?

Binary

Version of Borg

1.2.6

Logs

2023-11-30 17:53:38,412 - root - CRITICAL - Uncaught exception, file a report at https://github.com/borgbase/vorta/issues/new/choose
Traceback (most recent call last):
  File "views/exclude_dialog.py", line 266, in custom_pattern_editing_finished
AttributeError: 'NoneType' object has no attribute 'text'

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThis issue is available, comment if you want to fix ittype:bugSomething doesn't work as intended

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions