Public bug reported:

When libglib2.0-dev-bin is not installed, launching gdm-settings from a
terminal, changing e.g. the background image, and selecting "Apply":

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/gdms/utils.py", line 158, in <lambda>
        finish_callback = lambda self, task, nothing: self.finish_callback()
                                                      ^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/gdms/gui/window.py", line 138, in 
on_apply_finished
        if self.apply_task.finish():
           ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/gdms/utils.py", line 183, in finish
        raise value
      File "/usr/lib/python3/dist-packages/gdms/utils.py", line 168, in 
_thread_cb
        retval = self.function()
                 ^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/gdms/settings.py", line 567, in apply
        _gresource_apply()
      File "/usr/lib/python3/dist-packages/gdms/settings.py", line 365, in 
_gresource_apply
        compiled_file = gresource.compile(shelldir,
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/gdms/gresource.py", line 190, in 
compile
        subprocess.run(['glib-compile-resources',
      File "/usr/lib/python3.12/subprocess.py", line 548, in run
        with Popen(*popenargs, **kwargs) as process:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 
'glib-compile-resources'

/usr/bin/glib-compile-resources is part of libglib2.0-dev-bin.
Installing the latter fixes the issue.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gdm-settings 4.3-1
ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-26-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.7
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 23 12:10:53 2025
InstallationDate: Installed on 2025-06-06 (17 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gdm-settings
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gdm-settings (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115191

Title:
  gdm-settings should depend on libglib2.0-dev-bin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm-settings/+bug/2115191/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to