unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: jgart <jgart@dismail.de>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
Subject: Re: gajim FAILS
Date: Thu, 14 Jul 2022 21:15:08 -0500	[thread overview]
Message-ID: <20220714211508.GG1464@gac> (raw)
In-Reply-To: <87zghcw37x.fsf@elephly.net>

On Thu, 14 Jul 2022 09:41:09 +0200 Ricardo Wurmus <rekado@elephly.net> wrote:
> 
> jgart <jgart@dismail.de> writes:
> 
> > On Wed, 13 Jul 2022 20:13:11 -0500 jgart <jgart@dismail.de> wrote:
> >
> > Here's some new error output from Gajim:
> >
> >  λ ps aux | grep gajim
> > jgart      990 11.3  0.9 636060 148352 ?       Sl   21:24   0:04 /gnu/store/1m48ama708vh9cjn79yw6cj8sgg7pa1b-python-wrapper-3.9.9/bin/python /gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/bin/.gajim-real
> > jgart     1043  0.0  0.0   6472  2296 pts/0    S+   21:25   0:00 grep gajim
> >  λ kill -9 990
> >  λ gajim
> > unsupported locale setting
> > No translations found for en_US
> 
> What is your locale?  Have you set GUIX_LOCPATH?

```
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
```

$ locale -a
C
POSIX
en_US.utf8

I tried the following but no luck:

export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

gajim

# Error

```
 λ gajim
unsupported locale setting
No translations found for en_US
Dirs searched: [PosixPath('/home/jgart/.local/share'), PosixPath('/gnu/store/h6qdfd4sjdg28jq16600hcjky0cfw9gx-shared-mime-info-1.15/share'), PosixPath('/gnu/store/7njbpmsgwmx59xn2r6q097iy2wwscb44-gtk+-3.24.30/share'), PosixPath('/gnu/store/5nqkzrcgwbbk9lnfz73g1nidfp57szlm-gsettings-desktop-schemas-41.0/share'), PosixPath('/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/share'), PosixPath('/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/share'), PosixPath('/home/jgart/.guix-profile/share'), PosixPath('/home/jgart/.guix-profile/share'), PosixPath('/home/jgart/.guix-profile/share'), PosixPath('/home/jgart/.guix-profile/share')]

(.gajim-real:3769): Gtk-WARNING **: 21:13:39.814: Locale not supported by C library.
	Using the fallback 'C' locale.

(.gajim-real:3769): dbind-WARNING **: 21:13:39.820: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(org.gajim.Gajim:3769): Gtk-WARNING **: 21:13:41.695: Could not find the icon 'org.gajim.Gajim-symbolic'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases
Traceback (most recent call last):
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/application.py", line 389, in _handle_local_options
    self._startup()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/application.py", line 278, in _startup
    MainWindow()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/main.py", line 85, in __init__
    self._main_stack = MainStack()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/main_stack.py", line 45, in __init__
    self._chat_page = ChatPage()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/chat_page.py", line 61, in __init__
    self._chat_stack = ChatStack()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/chat_stack.py", line 36, in __init__
    self._control_stack = ControlStack()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/control_stack.py", line 48, in __init__
    self.add_named(ChatPlaceholderBox(), 'empty')
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/control_stack.py", line 161, in __init__
    pixbuf = Gtk.IconTheme.load_icon_for_scale(
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'org.gajim.Gajim-symbolic' not present in theme Adwaita (0)
07/14/22 21:13:41 (W) gajim.gui.notification     Notifications D-Bus not available: g-file-error-quark: Cannot spawn a message bus without a machine-id: Unable to load /gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id”: No such file or directory (4)
Traceback (most recent call last):
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gui_interface.py", line 561, in autoconnect
    con.change_status(status, status_message)
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/client.py", line 392, in change_status
    self._prepare_for_connect()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/client.py", line 546, in _prepare_for_connect
    self.connect()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/client.py", line 560, in connect
    self.notify('state-changed', SimpleClientState.CONNECTING)
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/helpers.py", line 1268, in notify
    func(self, signal_name, *args, **kwargs)
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/status_icon.py", line 168, in _on_client_state_changed
    self.update_state()
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/status_icon.py", line 318, in update_state
    if not init and app.window.get_total_unread_count():
  File "/gnu/store/40m247zwdlb2pfasla7limgxs7zqawzq-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/main.py", line 703, in get_total_unread_count
    chat_list_stack = self._chat_page.get_chat_list_stack()
AttributeError: 'MainWindow' object has no attribute '_chat_page'

(org.gajim.Gajim:3769): libappindicator-WARNING **: 21:13:41.760: Unable to get the session bus: Cannot spawn a message bus without a machine-id: Unable to load /gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id or /etc/machine-id: Failed to open file ?/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id?: No such file or directory

(org.gajim.Gajim:3769): LIBDBUSMENU-GLIB-WARNING **: 21:13:41.760: Unable to get session bus: Cannot spawn a message bus without a machine-id: Unable to load /gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id or /etc/machine-id: Failed to open file ?/gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2/var/lib/dbus/machine-id?: No such file or directory
```

wdyt

My understanding of how locales interact on void linux with Guix is fuzzy.
I hope to understand it better someday.


  reply	other threads:[~2022-07-15  2:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14  1:13 gajim FAILS jgart
2022-07-14  2:26 ` jgart
2022-07-14  7:41   ` Ricardo Wurmus
2022-07-15  2:15     ` jgart [this message]
2022-07-15  6:25       ` jgart
2022-07-15  6:36         ` jgart
2022-07-14 18:58 ` David Lecompte via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220714211508.GG1464@gac \
    --to=jgart@dismail.de \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).