system-config-printer fails while starting

  • Done
  • quality assurance status badge
Details
3 participants
  • Jonathan Brielmaier
  • Tobias Geerinckx-Rice
  • Michael Rohleder
Owner
unassigned
Submitted by
Jonathan Brielmaier
Severity
normal
Merged with
J
J
Jonathan Brielmaier wrote on 25 Apr 2020 00:12
(address . bug-guix@gnu.org)
trinity-44f38275-29f4-40f3-92b0-3f4e4f294ce4-1587766343304@3c-app-webde-bap56
system-config-printer fails to start on current master as well as on core-updates.

```
$ system-config-printer
Traceback (most recent call last):
File "/gnu/store/y77skk51wc3j1bikfdyc0mk5j62fj05s-system-config-printer-1.5.12/share/system-config-printer/system-config-printer.py", line 40, in <module>
gi.require_version('Gdk', '3.0')
File "/gnu/store/y4qwsw06ynvw3fjk2lrspp89mfmjzj5i-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/__init__.py", line 130, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available
```

While python-pygobject provides a Gdk.py:
/gnu/store/y4qwsw06ynvw3fjk2lrspp89mfmjzj5i-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/overrides/Gdk.py

I guess this is some issue with (python) paths
M
M
Michael Rohleder wrote on 31 Jul 2020 15:11
(name . Jonathan Brielmaier)(address . Jonathan.Brielmaier@web.de)(address . 40834@debbugs.gnu.org)
87tuxnde2i.fsf@rohleder.de
this seems to fix it:
From 83e8f11687b284bbda73c482434fac0bc0f8f9bf Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Fri, 31 Jul 2020 15:06:11 +0200
Subject: [PATCH] gnu: system-config-printer: fix for 40834.

* gnu/packages/gnome.scm (system-config-printer): fix 40834.
---
gnu/packages/gnome.scm | 2 ++
1 file changed, 2 insertions(+)

Toggle diff (22 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8f0153f6bf..017fa3647c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -54,6 +54,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1988,6 +1989,7 @@ database is translated at Transifex.")
("gobject-introspection" ,gobject-introspection)
("python" ,python)
("cups" ,cups)
+ ("gtk+" ,gtk+) ; fix http://issues.guix.gnu.org/40834
("python-dbus" ,python-dbus)
("python-pygobject" ,python-pygobject)
("python-pycups" ,python-pycups)
--
2.28.0
T
T
Tobias Geerinckx-Rice wrote on 11 Aug 2020 05:25
(no subject)
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
878selyibc.fsf@nckx
merge 40834 41650
T
T
Tobias Geerinckx-Rice wrote on 11 Aug 2020 05:31
system-config-printer fails while starting
(address . 40834-done@debbugs.gnu.org)
875z9pyi1w.fsf@nckx
mroh,

I rewrote the commit message & pushed your patch as
92b9cdd569ce8dbec768ebf756d524f39ecd5421.

Thanks!

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXzIRGwAKCRANsP+IT1Vt
eSa9AP9UNFyC5sqkATdyOLKFkXgmEfHvKNuxPfd8FvHyqPllWQEAzWdymCDxbm0n
q7owc+OyccL6WUuICpjz1LShLgoqog4=
=Z0+Y
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 40834@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40834
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch