Password safe hanged after saving the database
Description of problem:
Password safe hanged after saving the database and I had to force the process to stop.
Version-Release number of selected component:
gnome-passwordsafe-4.0-2.fc33
Additional info:
reporter: libreport-2.14.0
cmdline: /usr/bin/python3 /usr/bin/gnome-passwordsafe
crash_function: add_pathbar_button_to_pathbar
exception_type: AttributeError
executable: /usr/bin/gnome-passwordsafe
interpreter: python3-3.9.1-1.fc33.x86_64
kernel: 5.9.16-200.fc33.x86_64
runlevel: N 5
type: Python3
uid: 1000
Truncated backtrace:
pathbar.py:88:add_pathbar_button_to_pathbar:AttributeError: 'NoneType' object has no attribute 'is_root_group'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/passwordsafe/main_window.py", line 775, in execute_accel_action
action_db.on_add_entry_button_clicked(None)
File "/usr/lib/python3.9/site-packages/passwordsafe/unlocked_database.py", line 597, in on_add_entry_button_clicked
self.pathbar.add_pathbar_button_to_pathbar(new_entry.uuid)
File "/usr/lib/python3.9/site-packages/passwordsafe/pathbar.py", line 88, in add_pathbar_button_to_pathbar
while not parent_group.is_root_group:
AttributeError: 'NoneType' object has no attribute 'is_root_group'
Local variables in innermost frame:
self: <pathbar.Pathbar object at 0x7f653ada9100 (passwordsafe+pathbar+Pathbar at 0x56100a7d2c90)>
uuid: UUID('f42934c0-4dd0-11eb-9652-107b44188e91')
pathbar_button_active: <pathbar_button.PathbarButton object at 0x7f6548049380 (passwordsafe+pathbar_button+PathbarButton at 0x56100a9966c0)>
parent_group: None
OS: Fedora 33
Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1912111