Bug 1912111 - [abrt] gnome-passwordsafe: add_pathbar_button_to_pathbar(): pathbar.py:88:add_pathbar_button_to_pathbar:AttributeError: 'NoneType' object has no attribute 'is_root_group'
Summary: [abrt] gnome-passwordsafe: add_pathbar_button_to_pathbar(): pathbar.py:88:add...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-passwordsafe
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavlo Rudyi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:88c8e8395a81d8a8f037da52430...
: 1917242 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-03 14:46 UTC by antoine+redhat
Modified: 2021-01-18 07:56 UTC (History)
4 users (show)

Fixed In Version: gnome-passwordsafe-4.1-1.fc33
Clone Of:
Environment:
Last Closed: 2021-01-14 01:39:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.02 KB, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: cgroup (515 bytes, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: cpuinfo (2.52 KB, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: environ (1.41 KB, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: mountinfo (4.96 KB, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details
File: open_fds (2.52 KB, text/plain)
2021-01-03 14:47 UTC, antoine+redhat
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab World PasswordSafe issues 311 0 None None None 2021-01-03 15:02:33 UTC

Description antoine+redhat 2021-01-03 14:46:56 UTC
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

Comment 1 antoine+redhat 2021-01-03 14:47:00 UTC
Created attachment 1744084 [details]
File: backtrace

Comment 2 antoine+redhat 2021-01-03 14:47:01 UTC
Created attachment 1744085 [details]
File: cgroup

Comment 3 antoine+redhat 2021-01-03 14:47:02 UTC
Created attachment 1744086 [details]
File: cpuinfo

Comment 4 antoine+redhat 2021-01-03 14:47:03 UTC
Created attachment 1744087 [details]
File: environ

Comment 5 antoine+redhat 2021-01-03 14:47:05 UTC
Created attachment 1744088 [details]
File: mountinfo

Comment 6 antoine+redhat 2021-01-03 14:47:07 UTC
Created attachment 1744089 [details]
File: namespaces

Comment 7 antoine+redhat 2021-01-03 14:47:08 UTC
Created attachment 1744090 [details]
File: open_fds

Comment 8 Artem 2021-01-03 16:17:58 UTC
Thanks for reporting. Could you try latest version from master please? Built in COPR https://copr.fedorainfracloud.org/coprs/atim/gnome-passwordsafe-dev/

Comment 9 antoine+redhat 2021-01-03 16:38:20 UTC
Hello,
I can try, but the problem is not systematic, or at less I couldn't reproduce the issue again with the current version.

Comment 10 Fedora Update System 2021-01-05 23:02:08 UTC
FEDORA-2021-9dba89670e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dba89670e

Comment 11 Fedora Update System 2021-01-06 01:31:23 UTC
FEDORA-2021-9dba89670e has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9dba89670e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dba89670e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 msandova 2021-01-13 09:58:19 UTC
I refactored that file just yesterday. Please test the master branch and try to see if it is reproducible in any way.

Comment 13 Fedora Update System 2021-01-14 01:39:08 UTC
FEDORA-2021-9dba89670e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Laurent Wandrebeck 2021-01-18 07:43:25 UTC
*** Bug 1917242 has been marked as a duplicate of this bug. ***

Comment 15 Laurent Wandrebeck 2021-01-18 07:56:14 UTC
Just stumbled on this one (F33, updates-testing enabled, system up-to-date as of one hour ago or so).
I hope backtrace from #1917242 will help. Such a crash (very) seldom happens (1st time here).
HTH.


Note You need to log in before you can comment on or make changes to this bug.