Alex, I wonder did you run ninja-build install or are you running gnucash from the build directory ?
I didn't consider the latter when making my changes. Perhaps I should. Geert On maandag 10 juli 2017 22:42:56 CEST Alex Aycinena wrote: > > ---------- Forwarded message ---------- > > From: Geert Janssens <geert.gnuc...@kobaltwit.be> > > To: Alex Aycinena <alex.aycin...@gmail.com> > > Cc: gnucash-devel <gnucash-devel@gnucash.org>, John Ralls < > > jra...@ceridwen.us> > > Bcc: > > Date: Mon, 10 Jul 2017 12:28:09 +0200 > > Subject: Re: build after last update > > > > On zondag 9 juli 2017 22:33:34 CEST Alex Aycinena wrote: > > > Spoke too soon. When I tried to start gnucash with 'bin/gnucash --debug > > > --log gnc.scm=debug --nofile', got: > > > > > > gnc.gui:ERROR:/home/gnucash-dev/gitcheckouts/gnucash- > > > > clean-new/src/gnome-uti > > > > > ls/gnc-icons.c:103:gnc_load_app_icons: assertion failed: > > > (gtk_icon_theme_has_icon (icon_theme, file->icon_name)) Aborted (core > > > dumped) > > > > Alex, > > > > I have rewritten this function to avoid the assert. It wasn't really > > required. > > That doesn't explain though why you hit it and I don't. > > > > So I have added some debug output (to be enabled by setting gnc.gui=info). > > This will print out all paths where gtk will search for our icons. > > > > Can you check whether the icons the new function will complain about are > > available in any subdirectory of these directories ? > > > > Geert > > Geert, > > Gnucash.trace shows (with answer to your question): > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] The icon theme search path > has 16 elements. > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 0: > /home/gnucash-dev/.local/share/icons > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 1: > /home/gnucash-dev/.icons > > This directory is empty > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 2: > /home/gnucash-dev/gitcheckouts/gnucash-clean-new-build/share/icons > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 3: > /opt/gnucash-git/gnucash-clean/share/icons > > This directory has 1 subdirectory, called hicolor, which in turn has 9 > subdirectories (16x16, 22x22, etc.), one callled scalable and a file > callled icon-theme.cache > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 4: > /usr/local/share/icons > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 5: /usr/share/icons > > 14 subdirectories, each with many subdirectories > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 6: > /usr/local/share/icons > > Same as path 4 > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 7: /usr/share/icons > > Same as path 5 > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 8: > /home/gnucash-dev/gitcheckouts/gnucash-clean-new-build/share/pixmaps > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 9: > /opt/gnucash-git/gnucash-clean/share/pixmaps > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 10: > /usr/local/share/pixmaps > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 11: /usr/share/pixmaps > > Many subdirectories > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 12: > /usr/local/share/pixmaps > > Same as path 10 > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 13: /usr/share/pixmaps > > Same as path 11 > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 14: > /home/gnucash-dev/gitcheckouts/gnucash-clean-new-build/share/gnucash/icons > > This directory doesn't exist > > * 11:57:55 INFO <gnc.gui> [gnc_load_app_icons] Path 15: > /home/gnucash-dev/gitcheckouts/gnucash-clean-new-build/share/icons > > This directory doesn't exist > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account' found. Some gui elements may be missing their icons > > found in 4 general locations > > "/usr/share/gnucash/pixmaps" - from the fedora package installed on the > system? > > "/opt/installation-location/share/gnucash/pixmaps" - there are several of > these where I have installed several different earlier builds with make > install but I have not yet installed for this checkout so this location > does not exist for this checkout (i've only run gnucash from the build > directory for this checkout) > > "/home/checkout-location/src/pixmaps" - there are several of these where I > have earlier checked-out gnucash source; the icons seem to have been pushed > down the directory tree for this checkout (see next comment) > > "/home/this-checkout-location/src/pixmaps/hicolor/16x16/actions" - this is > in the source tree, not the build tree; only "16x16/actions" and > "24x24/actions" have the 'gnc-account' icons > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account-report' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account-delete' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account-edit' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account-new' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-account-open' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-transfer' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-sx-new' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-split-trans' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-jumpto' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-pay' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-post' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-unpost' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-new' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-edit' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-invoice-duplicate' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.gui> [gnc_load_app_icons()] No icon named > 'gnc-gnome-pdf' found. Some gui elements may be missing their icons > > same as for gnc-account > > * 11:57:55 WARN <gnc.core-utils> Could not locate file gnucash_splash.png > > found in 3 locations: > > "/usr/share/gnucash/pixmaps"- from the fedora package installed on the > system? > > "/home/this-checkout-location/src/pixmaps" - this is in the checkout > location, not the build directory > > "opt/installation-location/share/gnucash/pixmaps" - this is from earlier > installs; I have not yet installed this checkout so this directory doesn't > exist for this checkout > > * 11:57:55 WARN <gnc.gui> can't find splash pixmap > > Regards, > > Alex _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel