[GNC] Gnucash.exe bootstrap error, image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
John Ralls
jralls at ceridwen.us
Fri Aug 16 11:58:11 EDT 2024
Failing to load an icon is unlikely to cause GnuCash to quit or crash and IIRC there’s one that was removed from awaita but still referenced by Gtk, hence that error message. Try starting under gdb and setting a breakpoint on exit() to get a backtrace of where it’s really quitting or crashing.
Regards,
John Ralls
> On Aug 15, 2024, at 22:06, Hai Liang Wang <hailiang.hl.wang at gmail.com> wrote:
>
> What I tried just now, but not work.
> As mentioned in https://bbs.archlinux.org/viewtopic.php?id=261143
>
> *update-mime-database /mingw32/share/mime*
>
> *chmod -R 755 /mingw32/share/mime*
> *gdk-pixbuf-query-loaders --update-cache*
>
> And start gnucash.exe again, I get the same error as above.
>
> Cheers.
> Hai Liang W.
>
>
> On Fri, Aug 16, 2024 at 12:53 PM Hai Liang Wang <hailiang.hl.wang at gmail.com>
> wrote:
>
>> hi, folks
>>
>> After getting a build on my dev machine, I get *gnucash.exe* under
>> *C:\gcdev64\gnucash\stable\inst\bin*.
>> *But I cannot start by double click, nothing happens with double click.*
>> So, I start it with mingw32 terminal, as below.
>>
>> *Administrator at ZIHUATANEJO MINGW32 /c/gcdev64/gnucash/stable/inst/bin*
>> *# ./gnucash.exe*
>> *This is a development version. It may or may not work.*
>> *Report bugs and other problems to gnucash-devel at gnucash.org
>> <gnucash-devel at gnucash.org>*
>> *You can also lookup and file bug reports at https://bugs.gnucash.org
>> <https://bugs.gnucash.org>*
>> *To find the last stable version, please refer to https://www.gnucash.org/
>> <https://www.gnucash.org/>*
>> *3:2024/08/16
>> 12-45-24:gwen(25272):C:/gcdev64/gnucash/stable/src/gwenhywfar-5.11.2beta/src/base/i18n.c:
>> 122: No translation found for WIN32 locale [English_United States.1252]*
>>
>> *(gnucash.exe:25272): Gtk-WARNING **: 12:45:24.655: Could not load a
>> pixbuf from icon theme.*
>> *This may indicate that pixbuf loaders or the mime database could not be
>> found.*
>> ****
>> *Gtk:ERROR:../gtk+-3.24.43/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon:
>> assertion failed (error == NULL): Failed to load
>> C:\gcdev64\msys2\mingw32\share\icons\AdwaitaLegacy\32x32/status\image-missing.png:
>> Unrecognized image file format (gdk-pixbuf-error-quark, 3)*
>> *Bail out!
>> Gtk:ERROR:../gtk+-3.24.43/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon:
>> assertion failed (error == NULL): Failed to load
>> C:\gcdev64\msys2\mingw32\share\icons\AdwaitaLegacy\32x32/status\image-missing.png:
>> Unrecognized image file format (gdk-pixbuf-error-quark, 3)*
>>
>> As you can see, something with gtk breaks the start.
>> I checked
>> *C:\gcdev64\msys2\mingw32\share\icons\AdwaitaLegacy\32x32/status\image-missing.png*,
>> which exist. I can open this png file on Windows Explorer.
>>
>> Need some help, thanks.
>>
>> Cheers.
>> Hai Liang W.
>>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list