emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56223: closed (h-client not running with a host distribution)


From: GNU bug Tracking System
Subject: bug#56223: closed (h-client not running with a host distribution)
Date: Tue, 28 Jun 2022 04:54:02 +0000

Your message dated Tue, 28 Jun 2022 00:53:20 -0400
with message-id <87fsjpxubj.fsf@gmail.com>
and subject line Re: bug#56223: h-client not running with a host distribution
has caused the debbugs.gnu.org bug report #56223,
regarding h-client not running with a host distribution
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
56223: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56223
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: h-client not running with a host distribution Date: Sat, 25 Jun 2022 23:15:47 +0200
Hi,

After having done a 'guix pull', I added h-client to a system image made
with guix system image, and when running that image I could launch
h-client with any of the following command lines:
$ h-client
$ sudo -E h-client

However with Parabola i686 (also after having done a 'guix pull',
h-client doesn't work anymore, and it gives the following error:
> Traceback (most recent call last):
>   File 
> "/gnu/store/vbw6w6527y2xmxnyb4v4s9hp5ydk7i1d-h-client-0.0a0-1.e6c78b1/bin/.h-client-real",
>  line 33, in <module>
>     sys.exit(load_entry_point('hclient==0.0a0.dev0', 'console_scripts', 
> 'h-client')())
>   File 
> "/gnu/store/vbw6w6527y2xmxnyb4v4s9hp5ydk7i1d-h-client-0.0a0-1.e6c78b1/bin/.h-client-real",
>  line 25, in importlib_load_entry_point
>     return next(matches).load()
>   File 
> "/gnu/store/x5qnvlqgcb73nksrzavpq8pg9xgrfwqv-python-3.9.9/lib/python3.9/importlib/metadata.py",
>  line 77, in load
>     module = import_module(match.group('module'))
>   File 
> "/gnu/store/x5qnvlqgcb73nksrzavpq8pg9xgrfwqv-python-3.9.9/lib/python3.9/importlib/__init__.py",
>  line 127, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
>   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
>   File 
> "/gnu/store/vbw6w6527y2xmxnyb4v4s9hp5ydk7i1d-h-client-0.0a0-1.e6c78b1/lib/python3.9/site-packages/hclient/gtkclient.py",
>  line 20, in <module>
>     gi.require_version('GdkPixbuf', '2.0')
>   File 
> "/gnu/store/8yca9x2l0k0m5726m2hs2mpdma14h5yr-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/__init__.py",
>  line 126, in require_version
>     raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace GdkPixbuf not available

I vaguely remember that I could launch it on top of Parabola before, so
it seems to be related to recent updates to the h-client packages
(through before sending data didn't always work due to a bug in the
server that is now fixed).

PS: I've added Maxim in To as pers is the last person who worked on
    improving the h-client package, so maybe pers has more knowledge
    than me on that.

Denis.

Attachment: pgpLzbHWpXsGP.pgp
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#56223: h-client not running with a host distribution Date: Tue, 28 Jun 2022 00:53:20 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Hello,

This should be fixed in 8d810c209f18ffb635a1db2488a939543c6f060f.

Josselin Poiret <dev@jpoiret.xyz> writes:

> Hello Denis, 
>
> Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> writes:
>>> ValueError: Namespace GdkPixbuf not available
>>
>> I vaguely remember that I could launch it on top of Parabola before, so
>> it seems to be related to recent updates to the h-client packages
>> (through before sending data didn't always work due to a bug in the
>> server that is now fixed).
>
> Seems to me that gdk-pixbuf will need to be propagated, which will also
> in turn propagate glib and set the search-path `GIO_EXTRA_MODULES` so
> that GdkPixbuf can be found.

It's odd, but the problem was caused by the lack of GI_TYPELIB_PATH.  I
wrapped that variable and also combined the phases from
glib-or-gtk-build-system and PATH (already wrapped scripts are skipped
instead of of composed) and now, the following works:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix shell --pure h-client adwaita-icon-theme glib
--8<---------------cut here---------------end--------------->8---

glib is only added above to set XDG_DATA_DIRS and find the icons.

Thanks for the report!

Closing.

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]