Public bug reported:

On noble, gnome-control-center hangs to open system menu.

How to reproduce:

* Install Ubuntu 24.04 Desktop without en locale (for example, select Japanese 
language).
* Open System settings app, and select "System"
* Click "Region & Language" menu.

or you can simplify following command.

$ gnome-control-center system

Expected result:

* Open "Region & Language" menu.

Actual result:

* Hang up gnome-control-center.

---

In this flow, gnome-control-center dumps following errors.

$ gnome-control-center system
16:56:12.1249      cc-system-panel[16533]: WARNING: Could not set system time: 
GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic time 
synchronization is enabled
16:56:12.1252      cc-system-panel[16533]: WARNING: Could not set system time: 
GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic time 
synchronization is enabled
16:56:12.6869                   **[16533]: WARNING: Couldn't get locale for 
language: en
16:56:12.6871         GnomeDesktop[16533]:CRITICAL: 
gnome_get_language_from_locale: assertion '*locale != '\0'' failed
16:56:12.7022                   **[16533]: WARNING: Couldn't get locale for 
language: en
16:56:12.7023         GnomeDesktop[16533]:CRITICAL: 
gnome_get_language_from_locale: assertion '*locale != '\0'' failed

My locale is following:
$ locale -a
C
C.utf8
POSIX
ja_JP.utf8

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-control-center 1:46~beta-1ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 20 16:56:59 2024
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2024-03-20 (0 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240319)
ProcEnviron:
 LANG=ja_JP.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/2058451

Title:
  CRITICAL: gnome_get_language_from_locale: assertion '*locale != '\0''
  failed

Status in gnome-control-center package in Ubuntu:
  New

Bug description:
  On noble, gnome-control-center hangs to open system menu.

  How to reproduce:

  * Install Ubuntu 24.04 Desktop without en locale (for example, select 
Japanese language).
  * Open System settings app, and select "System"
  * Click "Region & Language" menu.

  or you can simplify following command.

  $ gnome-control-center system

  Expected result:

  * Open "Region & Language" menu.

  Actual result:

  * Hang up gnome-control-center.

  ---

  In this flow, gnome-control-center dumps following errors.

  $ gnome-control-center system
  16:56:12.1249      cc-system-panel[16533]: WARNING: Could not set system 
time: GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic 
time synchronization is enabled
  16:56:12.1252      cc-system-panel[16533]: WARNING: Could not set system 
time: GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic 
time synchronization is enabled
  16:56:12.6869                   **[16533]: WARNING: Couldn't get locale for 
language: en
  16:56:12.6871         GnomeDesktop[16533]:CRITICAL: 
gnome_get_language_from_locale: assertion '*locale != '\0'' failed
  16:56:12.7022                   **[16533]: WARNING: Couldn't get locale for 
language: en
  16:56:12.7023         GnomeDesktop[16533]:CRITICAL: 
gnome_get_language_from_locale: assertion '*locale != '\0'' failed

  My locale is following:
  $ locale -a
  C
  C.utf8
  POSIX
  ja_JP.utf8

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-control-center 1:46~beta-1ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Mar 20 16:56:59 2024
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2024-03-20 (0 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240319)
  ProcEnviron:
   LANG=ja_JP.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2058451/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to