From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 12 18:15:47 2022 Received: (at 56382) by debbugs.gnu.org; 12 Jul 2022 22:15:47 +0000 Received: from localhost ([127.0.0.1]:43825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBOAN-0000Nl-9n for submit@debbugs.gnu.org; Tue, 12 Jul 2022 18:15:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBOAL-0000NW-LF for 56382@debbugs.gnu.org; Tue, 12 Jul 2022 18:15:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBOAF-0002H9-Ba; Tue, 12 Jul 2022 18:15:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=OU9XlrtjxxVfVsQ/2p13QEXETBi9CUJ3+GTdGdvlQnY=; b=ZXqVJW8lUDoNbN3nfKSn 4ibF28r6JyQDx4OrcpixLOvOOkB9XfxGV9tXx+aECFHo9GJCBcIhm4jj6fzEAksu78GCA+fUsTnpP dbw5zsP6OVEbzZe1SwlSnvJ7xbxbdUToyykx4ekUUl4mjQZ2GKR+CgRt5IPfHpP3plLhZMuQF+UXS VsfvNtA0UjRpxjxEA+cX90PCiJFHcISWPzovaMj7arTX3eE7nX1USpFJCTa+LFUyeKJnt+uLWrfIt n+4+EGKqAg5uZEzRH234ePsqufD9MNHAM/5GtG1603BZCvkyAanlbH9LFGFu4bY7x0hpTeqmubAEr cNJMcy+AfgzGag==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58492 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBOAE-0006to-V3; Tue, 12 Jul 2022 18:15:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Morgan.J.Smith@outlook.com Subject: Re: bug#56382: [PATCH] gnu: gajim: Use hicolor-icon-theme to avoid crashing on startup References: Date: Wed, 13 Jul 2022 00:15:28 +0200 In-Reply-To: (Morgan J. Smith's message of "Mon, 4 Jul 2022 09:43:54 -0400") Message-ID: <87sfn6asfz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56382 Cc: Raghav Gururajan , 56382@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Morgan, (+Cc: Raghav.) Morgan.J.Smith@outlook.com skribis: > From: Morgan Smith > > * gnu/packages/messaging.scm (gajim)[inputs]: Add hicolor-icon-theme > --- > > So on my system gajim crashes saying something like "icon not present in = the > theme Adwaita". I have installed Adwaita system wide. Looking in the ga= jim > build dir at > '/gnu/store/...-gajim-1.4.5/lib/python3.9/site-packages/gajim/data/icons/' > shows that the icons are stored in a 'hicolor' directory. The proper sol= ution > is to either figure out how to install the icons in a theme independent w= ay or > to notify upstream I can reproduce the problem with: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 221 Jul 03 2022 23:52:07 (current) guix e069de4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e069de452a2c923868f5137421b4b6349c38d754 $ guix shell -CN -E DISPLAY gajim -- gajim [=E2=80=A6] (org.gajim.Gajim:1): Gtk-WARNING **: 22:04:37.615: 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/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/application.py", line 389, in _handle_local_opti= ons self._startup() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/application.py", line 278, in _startup MainWindow() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/main.py", line 85, in __init__ self._main_stack =3D MainStack() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/main_stack.py", line 45, in __init__ self._chat_page =3D ChatPage() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_page.py", line 60, in __init__ self._chat_stack =3D ChatStack() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_stack.py", line 48, in __init__ self.add_named(ChatPlaceholderBox(), 'empty') File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_stack.py", line 161, in __init__ pixbuf =3D Gtk.IconTheme.load_icon_for_scale( gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'org.gajim.Gaji= m-symbolic' not present in theme Adwaita (0) --8<---------------cut here---------------end--------------->8--- Does simply adding =E2=80=98hicolor-icon-theme=E2=80=99 to =E2=80=98inputs= =E2=80=99 fix the issue? Unfortunately, Gajim fails to build for me as described in . Raghav, what should we do about it? The issue above is closed, but are we missing the fix? Thanks, Ludo=E2=80=99.