After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721841 - Crashes on startup in OS X Mavericks
Crashes on startup in OS X Mavericks
Status: RESOLVED DUPLICATE of bug 721259
Product: GnuCash
Classification: Other
Component: General
2.6.0
Other Mac OS
: Normal blocker
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-09 03:15 UTC by c1700-cash
Modified: 2018-06-29 23:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Tracefile and Stack trace in zip format (15.31 KB, application/zip)
2014-01-09 03:15 UTC, c1700-cash
Details

Description c1700-cash 2014-01-09 03:15:44 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.
Comment 1 John Ralls 2014-01-11 00:31:58 UTC
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.
Comment 2 c1700-cash 2014-01-13 03:27:27 UTC
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).
Comment 3 John Ralls 2014-01-13 03:58:16 UTC
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.
Comment 4 c1700-cash 2014-01-13 15:17:53 UTC
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.
Comment 5 c1700-cash 2014-01-13 15:21:33 UTC
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.
Comment 6 John Ralls 2014-01-13 17:45:44 UTC
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 ***
Comment 7 John Ralls 2018-06-29 23:24:22 UTC
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.