unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40834: system-config-printer fails while starting
@ 2020-04-24 22:12 Jonathan Brielmaier
  2020-07-31 13:11 ` Michael Rohleder
  2020-08-11  3:31 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Brielmaier @ 2020-04-24 22:12 UTC (permalink / raw)
  To: 40834

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40834: system-config-printer fails while starting
  2020-04-24 22:12 bug#40834: system-config-printer fails while starting Jonathan Brielmaier
@ 2020-07-31 13:11 ` Michael Rohleder
  2020-08-11  3:31 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Rohleder @ 2020-07-31 13:11 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 40834

[-- Attachment #1: Type: text/plain, Size: 23 bytes --]

this seems to fix it:


[-- Attachment #2: [PATCH] fix for 40834 --]
[-- Type: text/x-patch, Size: 1220 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#40834: system-config-printer fails while starting
  2020-04-24 22:12 bug#40834: system-config-printer fails while starting Jonathan Brielmaier
  2020-07-31 13:11 ` Michael Rohleder
@ 2020-08-11  3:31 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-08-11  3:31 UTC (permalink / raw)
  To: 40834-done

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

mroh,

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

Thanks!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-11  3:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-24 22:12 bug#40834: system-config-printer fails while starting Jonathan Brielmaier
2020-07-31 13:11 ` Michael Rohleder
2020-08-11  3:31 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).