GNOME Bugzilla – Bug 721841
Crashes on startup in OS X Mavericks
Last modified: 2018-06-29 23:24:22 UTC
Created attachment 265811 [details] Tracefile and Stack trace in zip format Application does not even open, quits without error message when ran from Mission Control or using launcher such as Alfred.
You can't launch applications from Mission Control. Do you mean Finder or Launchpad? Your trace file suggests that you're somehow bypassing the launcher script built into Gnucash.app, as neither $XDG_DATA nor $GDK_PIXBUF_MODULE_FILE seem to be set.
Both: neither from Finder (by double-clicking .app bundle from the Applications folder) nor from Launchpad (clicking icon). Not even from Alfred (searching for app and then clicking icon).
OK. Open Applications>Utilities>Terminal and try running it like this: /path/to/Gnucash.app/Contents/MacOS/Gnucash (Not Gnucash-bin!) Paste in the output to a comment here.
This is the output: ares:~ julio$ /Applications/Gnucash.app/Contents/MacOS/Gnucash Application Path /Applications/Gnucash.app/Contents/MacOS/Gnucash-bin (process:2583): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Backtrace: In /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm: 76: 0* [setlocale 0 ""] /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm:76:1: In procedure setlocale in expression (setlocale LC_ALL ""): /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm:76:1: Invalid argument ares:~ julio$ I edited line 76 in /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm, replacing '(setlocale LC_ALL "")' with '(setlocale LC_ALL "en_US")' and the application started. Nevertheless, two issues: 1- Clunky, sloppy, very slow; 2- Currency symbols for my local currency (PYG) are replaced by a small square with the digits "2 0" in the first line and "B 0" in the second.
I'm sorry, forgot to add: after editing main.scm, I ran the app from the Terminal and from Finder and Alfred, it started just fine. I've also tested setting locale to "es_PY" in main.scm and the app did not start again.
Aha! Bug 721259! No surprise that english_Paraguay isn't a locale supported by the C library. The currency symbol for PYG is Unicode U+20B2. You need to find a font that supports that and set it as the default using ~/.gtkrc-2.0. There are instructions here: http://awesome.naquadah.org/wiki/Customizing_GTK_Apps#Fonts Clunky, sloppy, very slow are not actionable, sorry. *** This bug has been marked as a duplicate of bug 721259 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=721841. Please update any external references or bookmarks.