gnome-disks can't restore from image

  • Open
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Maxime Devos
  • raingloom
Owner
unassigned
Submitted by
raingloom
Severity
normal
R
R
raingloom wrote on 24 Apr 2022 04:21
(name . Guix Bugs)(address . bug-guix@gnu.org)
20220424042141.7ef52fdc@riseup.net
guix commit: 59b91fdbcd7e1a88d1d54d392ce5d5fddd9d96d1

guix shell gnome-disk-utility -- gnome-disks

click on the three dots and choose restore, bam, error

(gnome-disks:2461): GLib-GIO-ERROR **: 04:17:28.300: Settings schema
'org.gnome.Disks' is not installed
J
J
Josselin Poiret wrote on 26 Apr 2022 10:00
87a6c86zqa.fsf@jpoiret.xyz
Hello,

raingloom <raingloom@riseup.net> writes:

Toggle quote (9 lines)
> guix commit: 59b91fdbcd7e1a88d1d54d392ce5d5fddd9d96d1
>
> guix shell gnome-disk-utility -- gnome-disks
>
> click on the three dots and choose restore, bam, error
>
> (gnome-disks:2461): GLib-GIO-ERROR **: 04:17:28.300: Settings schema
> 'org.gnome.Disks' is not installed

I bet this has to do with XDG_DATA_DIRS not being set by the `guix
shell` invocation. Can you try `guix shell glib gnome-disk-utility`
instead?

Best,
--
Josselin Poiret
R
R
raingloom wrote on 27 Apr 2022 01:32
(name . Josselin Poiret)(address . dev@jpoiret.xyz)(address . 55116@debbugs.gnu.org)
20220427013253.39463bfd@riseup.net
On Tue, 26 Apr 2022 10:00:29 +0200
Josselin Poiret <dev@jpoiret.xyz> wrote:

Toggle quote (19 lines)
> Hello,
>
> raingloom <raingloom@riseup.net> writes:
>
> > guix commit: 59b91fdbcd7e1a88d1d54d392ce5d5fddd9d96d1
> >
> > guix shell gnome-disk-utility -- gnome-disks
> >
> > click on the three dots and choose restore, bam, error
> >
> > (gnome-disks:2461): GLib-GIO-ERROR **: 04:17:28.300: Settings schema
> > 'org.gnome.Disks' is not installed
>
> I bet this has to do with XDG_DATA_DIRS not being set by the `guix
> shell` invocation. Can you try `guix shell glib gnome-disk-utility`
> instead?
>
> Best,

That does work. Not great UX. Can we either make it obvious that glib
needs to be in the environment, or just remove the need to explicitly
include it?
M
M
Maxime Devos wrote on 27 Apr 2022 14:02
(address . 55116@debbugs.gnu.org)
f166cda4c2aabd27d0bbad302e8af67cf4bc59a7.camel@telenet.be
raingloom schreef op wo 27-04-2022 om 01:32 [+0200]:
Toggle quote (11 lines)
>  you try `guix shell glib gnome-disk-utility`
> > instead?
> >
> > Best,
>
> That does work. Not great UX. Can we either make it obvious that glib
> needs to be in the environment, or just remove the need to explicitly
> include it?
>
>

Some packages use 'wrap-program' to set GSETTINGS_SCHEMA_DIR. See,
e.g. the 'darktable' package.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYmkwzBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gHWAQD8yrym+y76JQfpSCXcfZcg3D2H
jPzwFVo8J+e4pm5XkwD/RJiPV9IuASN5dNJjlkitTO/EoRMMLrt7PpS/mw1cHQE=
=zD6+
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 55116
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