system-config-printer.py crashed with ValueError in require_version(): Namespace Secret not available

Bug #1709572 reported by BenginM
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
High
Till Kamppeter

Bug Description

This is on xubuntu 17.10 after upgrading from 17.04 .. i was about to configure a printer when starting Printers - configure printers it crashes ..

system is up-to-date , with the following *

sary@tru-uli63:~$ lsb_release -rd
Description: Ubuntu Artful Aardvark (development branch)
Release: 17.10
sary@tru-uli63:~$ uname -a
Linux tru-uli63 4.11.0-10-generic #15-Ubuntu SMP Thu Jun 29 15:03:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: system-config-printer 1.5.9+20170804-0ubuntu1
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic x86_64
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Aug 9 11:35:50 2017
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2017-08-08 (0 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
InterpreterPath: /usr/bin/python3.6
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Hewlett-Packard 120-1034
PackageArchitecture: all
Papersize: a4
ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.11.0-10-generic root=UUID=241ac119-3685-402e-809f-59bf3dbd576b ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with ValueError in require_version(): Namespace Secret not available
UpgradeStatus: Upgraded to artful on 2017-08-08 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 07/26/2011
dmi.bios.vendor: AMI
dmi.bios.version: ARM_702
dmi.board.name: 2AC7
dmi.board.vendor: Quanta
dmi.board.version: 011
dmi.chassis.asset.tag: 4CS1380CHY
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAMI:bvrARM_702:bd07/26/2011:svnHewlett-Packard:pn120-1034:pvr:rvnQuanta:rn2AC7:rvr011:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: 120-1034
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
BenginM (sary) wrote :
Revision history for this message
BenginM (sary) wrote :

and i get this if i run it in terminal*

sary@tru-uli63:~$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 84, in <module>
    import jobviewer
  File "/usr/share/system-config-printer/jobviewer.py", line 57, in <module>
    gi.require_version('Secret', '1')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 118, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Secret not available

information type: Private → Public
tags: removed: need-duplicate-check
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
BenginM (sary)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Kev Bowring (flocculant) wrote :

downgrading to 1.5.9+20170619-0ubuntu1 and it works

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version uses gir1.2-secret-1 and should depends on it

Changed in system-config-printer (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
importance: Medium → High
Revision history for this message
Kev Bowring (flocculant) wrote :

needs gir1.2-secret-1

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed package on the way ...

Changed in system-config-printer (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.5.9+20170804-0ubuntu2

---------------
system-config-printer (1.5.9+20170804-0ubuntu2) artful; urgency=medium

  * debian/control.in: Added dependency on gir1.2-secret-1 in
    debian/control.in and not debian/control (LP: #1709572).

 -- Till Kamppeter <email address hidden> Wed, 09 Aug 2017 09:47:05 -0300

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.