[GNC] Gnucash.exe bootstrap error, image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Hai Liang Wang
hailiang.hl.wang at gmail.com
Fri Aug 16 18:57:04 EDT 2024
hi, John
Some files are missing in C:\gcdev64\gnucash\stable\inst\share on my
machine, e.g. C:\gcdev64\gnucash\stable\inst\share\icons\Adwaita folder
does not exist.
Now I found a workaround, I copied C:\apps\gnucash\share to
C:\gcdev64\gnucash\stable\inst\share.
C:\apps\gnucash\share is where I install GnuCash with the official
installer.
So far the gnucash.exe can be started and display the splash screen, I
would investigate the codes to find the real cause and solutions after
getting familiar with GTK.
I am going to read the GTK Development guide next, to learn more about how
GnuCash is written :-)
GnuCash is a great work!
Cheers.
Hai Liang W.
On Fri, Aug 16, 2024 at 1:06 PM 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.
>>
>
More information about the gnucash-user
mailing list