FS#61987 - [gnome-passwordsafe] Missing dependency on python-future

Attached to Project: Community Packages
Opened by Nathan Wallace (nwallace) - Tuesday, 12 March 2019, 21:35 GMT
Last edited by Balló György (City-busz) - Tuesday, 12 March 2019, 21:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Launching Password Safe fails if your system doesn't have the package "python-future".

Additional info:
Package version: gnome-passwordsafe 3.30.2-3

journalctl log:
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: Traceback (most recent call last):
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/bin/gnome-passwordsafe", line 17, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from passwordsafe.application import Application
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/lib/python3.7/site-packages/passwordsafe/application.py", line 7, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from passwordsafe.main_window import MainWindow
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/lib/python3.7/site-packages/passwordsafe/main_window.py", line 4, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from passwordsafe.database_manager import DatabaseManager
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/lib/python3.7/site-packages/passwordsafe/database_manager.py", line 2, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from pykeepass.kdbx_parsing.kdbx import KDBX
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/lib/python3.7/site-packages/pykeepass/__init__.py", line 2, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from .pykeepass import PyKeePass
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 8, in <module>
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: from future.utils import python_2_unicode_compatible
Mar 12 16:14:53 bender /usr/lib/gdm-wayland-session[1086]: ModuleNotFoundError: No module named 'future'


Steps to reproduce:
Install gnome-passwordsafe on a system without "python-future" (and maybe also "python2-future"? I'm not sure if that one would matter -- I had neither). Launch the application. It will fail to start up (no window ever becomes visible).

Fix:
Add dependency for "python-future" package


Upstream bug report:
I did not file an upstream bug report, since this sounded more like a packaging issue than an application issue, but please let me know if I should file upstream instead.
This task depends upon

Closed by  Balló György (City-busz)
Tuesday, 12 March 2019, 21:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-pykeepass 3.0.3-2

Loading...