GNU bug report logs -
#24188
gnucash needs gtk+ in propagated-inputs
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24188 in the body.
You can then email your comments to 24188 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Mon, 08 Aug 2016 18:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 08 Aug 2016 18:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I installed gnucash with `guix package -i gnucash`. When I attempt to
run it, it fails with the following error message:
**
gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (pixbuf1 && pixbuf2)
fish: 'gnucash' terminated by signal SIGABRT (Abort)
However within an environment created by `guix environment --ad-hoc
gtk+`, gnucash runs fine. So, I'm guessing gtk+ needs to be in gnucash's
propagated-inputs.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Tue, 09 Aug 2016 10:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24188 <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> writes:
> I installed gnucash with `guix package -i gnucash`. When I attempt to
> run it, it fails with the following error message:
>
> **
> gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (pixbuf1 && pixbuf2)
> fish: 'gnucash' terminated by signal SIGABRT (Abort)
>
> However within an environment created by `guix environment --ad-hoc
> gtk+`, gnucash runs fine. So, I'm guessing gtk+ needs to be in gnucash's
> propagated-inputs.
I cannot reproduce this. I don’t have gtk+ installed in a profile and
Gnucash starts up just fine.
The following environment variables are set which may make a difference
here:
GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
GTK_DATA_PREFIX=/run/current-system/profile
~~ Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Wed, 10 Aug 2016 17:27:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 24188 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> The following environment variables are set which may make a difference
> here:
>
> GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
> GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
> GTK_DATA_PREFIX=/run/current-system/profile
After setting XDG_DATA_DIRS with
export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
gnucash runs successfully. I found out about this using `guix
environment --search-paths gnucash`.
How do I find out about these environment variables in general?
Shouldn't they be set in the gnucash wrapper script so that the user
does not have to set them manually?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Thu, 11 Aug 2016 13:24:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 24188 <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> writes:
>> The following environment variables are set which may make a difference
>> here:
>>
>> GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
>> GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
>> GTK_DATA_PREFIX=/run/current-system/profile
>
> After setting XDG_DATA_DIRS with
>
> export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
>
> gnucash runs successfully. I found out about this using `guix
> environment --search-paths gnucash`.
>
> How do I find out about these environment variables in general?
> Shouldn't they be set in the gnucash wrapper script so that the user
> does not have to set them manually?
--8<---------------cut here---------------start------------->8---
gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (pixbuf1 && pixbuf2)
fish: 'gnucash' terminated by signal SIGABRT (Abort)
--8<---------------cut here---------------end--------------->8---
I think this error is caused by gdk-pixbuf, which uses XDG mime-info
database to query file types. Install the 'shared-mime-info' package
to activate the 'xdg-mime-database' profile hook should make it works.
To actually fix this package (and some others) we can:
- Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it.
- Make sure 'xdg-mime-database' always run if glib applications are
there even without shared-mime-info referenced by profile.
IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Sat, 13 Aug 2016 09:19:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 24188 <at> debbugs.gnu.org (full text, mbox):
> To actually fix this package (and some others) we can:
>
> - Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it.
>
> - Make sure 'xdg-mime-database' always run if glib applications are
> there even without shared-mime-info referenced by profile.
> IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
Great, I'll wait a bit for the package to be fixed.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Fri, 09 Sep 2016 14:34:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 24188 <at> debbugs.gnu.org (full text, mbox):
iyzsong <at> member.fsf.org (宋文武) skribis:
> Arun Isaac <arunisaac <at> systemreboot.net> writes:
>
>>> The following environment variables are set which may make a difference
>>> here:
>>>
>>> GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
>>> GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
>>> GTK_DATA_PREFIX=/run/current-system/profile
>>
>> After setting XDG_DATA_DIRS with
>>
>> export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
>>
>> gnucash runs successfully. I found out about this using `guix
>> environment --search-paths gnucash`.
>>
>> How do I find out about these environment variables in general?
>> Shouldn't they be set in the gnucash wrapper script so that the user
>> does not have to set them manually?
>
> gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (pixbuf1 && pixbuf2)
> fish: 'gnucash' terminated by signal SIGABRT (Abort)
>
> I think this error is caused by gdk-pixbuf, which uses XDG mime-info
> database to query file types. Install the 'shared-mime-info' package
> to activate the 'xdg-mime-database' profile hook should make it works.
>
>
> To actually fix this package (and some others) we can:
>
> - Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it.
>
> - Make sure 'xdg-mime-database' always run if glib applications are
> there even without shared-mime-info referenced by profile.
> IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
Apparently the 2nd item is what commit
801d316b20b05a4d0687873ad8e438e6238e23ce does.
Are we done, or do we need to do item #1 too?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24188
; Package
guix
.
(Fri, 09 Sep 2016 15:41:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 24188 <at> debbugs.gnu.org (full text, mbox):
>> To actually fix this package (and some others) we can:
>>
>> - Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it.
>>
>> - Make sure 'xdg-mime-database' always run if glib applications are
>> there even without shared-mime-info referenced by profile.
>> IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
>
> Apparently the 2nd item is what commit
> 801d316b20b05a4d0687873ad8e438e6238e23ce does.
>
> Are we done, or do we need to do item #1 too?
We are done. No need to do item #1. The issue has been fixed.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Fri, 09 Sep 2016 22:40:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Fri, 09 Sep 2016 22:40:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 24188-done <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> skribis:
>>> To actually fix this package (and some others) we can:
>>>
>>> - Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it.
>>>
>>> - Make sure 'xdg-mime-database' always run if glib applications are
>>> there even without shared-mime-info referenced by profile.
>>> IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
>>
>> Apparently the 2nd item is what commit
>> 801d316b20b05a4d0687873ad8e438e6238e23ce does.
>>
>> Are we done, or do we need to do item #1 too?
>
> We are done. No need to do item #1. The issue has been fixed.
I like that. :-) Thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 Oct 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.