Bug 1769420 - [abrt] gnome-passwordsafe: tree(): pykeepass.py:108:tree:AttributeError: 'NoneType' object has no attribute 'payload'
Summary: [abrt] gnome-passwordsafe: tree(): pykeepass.py:108:tree:AttributeError: 'Non...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-passwordsafe
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:94120c8c571c3fa7a1d03b6e47f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-06 15:34 UTC by Steve
Modified: 2020-01-20 22:48 UTC (History)
2 users (show)

Fixed In Version: gnome-passwordsafe-3.99.1-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-20 22:48:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.63 KB, text/plain)
2019-11-06 15:34 UTC, Steve
no flags Details
File: cpuinfo (2.20 KB, text/plain)
2019-11-06 15:34 UTC, Steve
no flags Details
File: environ (1.54 KB, text/plain)
2019-11-06 15:34 UTC, Steve
no flags Details
File: namespaces (129 bytes, text/plain)
2019-11-06 15:34 UTC, Steve
no flags Details
File: open_fds (1.63 KB, text/plain)
2019-11-06 15:34 UTC, Steve
no flags Details

Description Steve 2019-11-06 15:34:07 UTC
Description of problem:
Just tried to open a revelation file.

Version-Release number of selected component:
gnome-passwordsafe-3.32.0-3.fc31

Additional info:
reporter:       libreport-2.10.1
cgroup:         0::/user.slice/user-1000.slice/user/gnome-shell-x11.service
cmdline:        /usr/bin/python3 /usr/bin/gnome-passwordsafe
crash_function: tree
exception_type: AttributeError
executable:     /usr/bin/gnome-passwordsafe
interpreter:    python3-3.7.5-1.fc31.x86_64
kernel:         5.3.8-300.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
pykeepass.py:108:tree:AttributeError: 'NoneType' object has no attribute 'payload'

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/passwordsafe/unlock_database.py", line 277, in password_unlock_success
    self.open_database_page()
  File "/usr/lib/python3.7/site-packages/passwordsafe/unlock_database.py", line 603, in open_database_page
    UnlockedDatabase(self.window, self.parent_widget, self.database_manager, self)
  File "/usr/lib/python3.7/site-packages/passwordsafe/unlocked_database.py", line 86, in __init__
    self.assemble_listbox()
  File "/usr/lib/python3.7/site-packages/passwordsafe/unlocked_database.py", line 116, in assemble_listbox
    self.current_group = self.database_manager.get_root_group()
  File "/usr/lib/python3.7/site-packages/passwordsafe/database_manager.py", line 542, in get_root_group
    return self.db.root_group
  File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 112, in root_group
    return self.find_groups(path='', first=True)
  File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 226, in find_groups
    res = self._find(prefix, group_xp, path=path, tree=group, **kwargs)
  File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 216, in _find
    **kwargs
  File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 141, in _xpath
    tree = self.tree
  File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 108, in tree
    return self.kdbx.body.payload.xml
AttributeError: 'NoneType' object has no attribute 'payload'

Local variables in innermost frame:
self: <pykeepass.pykeepass.PyKeePass object at 0x7fd6d5215050>

Comment 1 Steve 2019-11-06 15:34:11 UTC
Created attachment 1633355 [details]
File: backtrace

Comment 2 Steve 2019-11-06 15:34:12 UTC
Created attachment 1633356 [details]
File: cpuinfo

Comment 3 Steve 2019-11-06 15:34:14 UTC
Created attachment 1633357 [details]
File: environ

Comment 4 Steve 2019-11-06 15:34:15 UTC
Created attachment 1633358 [details]
File: namespaces

Comment 5 Steve 2019-11-06 15:34:16 UTC
Created attachment 1633359 [details]
File: open_fds

Comment 6 Fedora Update System 2020-01-19 12:58:26 UTC
FEDORA-2020-9e65c00add has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9e65c00add

Comment 7 Fedora Update System 2020-01-20 22:48:34 UTC
gnome-passwordsafe-3.99.1-2.fc31, python-argon2-cffi-19.2.0-1.fc31, python-pykeepass-3.2.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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