On Mon, Jan 16 2017, Russ Allbery <r...@debian.org> wrote: > If one runs assword gui with its dependencies installed but without a > full Gtk environment, it produces the following baffling error message: > > $ assword gui '<some-string>' > Traceback (most recent call last): > File "/usr/bin/assword", line 11, in <module> > load_entry_point('assword==0.10', 'console_scripts', 'assword')() > File "/usr/lib/python3/dist-packages/assword/__main__.py", line 553, in main > func(args) > File "/usr/lib/python3/dist-packages/assword/__main__.py", line 327, in gui > from assword.gui import Gui > File "/usr/lib/python3/dist-packages/assword/gui.py", line 2, in <module> > gi.require_version('Gtk', '3.0') > File "/usr/lib/python3/dist-packages/gi/__init__.py", line 118, in > require_version > raise ValueError('Namespace %s not available' % namespace) > ValueError: Namespace Gtk not available > > Installing gir1.2-gtk-3.0 resolves this error, but it's very difficult to > discover that this is the fix, since there's no mention of this package > anywhere in the assword package metadata. I'm both an experienced Debian > developer and use Python regularly, and it took me several months to > finally hit on the right clues to track down this package, after lots of > wasted time installing random Python Gtk packages and comparing all the > Python libraries I had installed with another system where it was working. > > Could this please be listed in Recommends or in a README.Debian file or > *somewhere* where people might be able to find it?
Hi, Russ. Thanks for the bug report, and I'm very sorry about the trouble. I wonder though if this is a Gtk packaging issue instead of an assword one. assword includes a dependency on the python gtk package it utilizes (python3-gi). If that package is non-functional without other packages installed, doesn't that mean that pytho3-gi is missing a dependency? Seems like we should forward this to python3-gi. jamie.
signature.asc
Description: PGP signature