On Sep 14, 2010, at 1:37 PM, David T. wrote:

> I guess this question is directed mostly to John Ralls:
> 
> If I wanted to adopt Frank's suggestion of a shell script for this, how might 
> I do it in the Mac OS X realm that you have packaged? 
> 
> In a terminal window, I tried:
> dhtmbp:~ david$ /Applications/Gnucash.app/Contents/MacOS/Gnucash 
> --add-price-quotes
> Found Finance::Quote version 1.15
> Abort trap
> 
> OS X also gave me an application crash.
> 
> Then I tried:
> dhtmbp:~ david$ /Applications/Gnucash.app/Contents/MacOS/Gnucash 
> --add-price-quotes=/Volumes/Records/Financials/My\ Accounts
> /Applications/Gnucash.app/Contents/MacOS/Gnucash: line 130: [: too many 
> arguments
> Found Finance::Quote version 1.15
> Abort trap
> 
> With another system crash.
> 
> Suggestions?

No, not really. I tried it out and found that it works fine in the original 
build destination directory, and crashes when done with the bundle.

In src/bin/gnucash-bin.c, in inner_main_get_price_quotes, is the snippet:
  /* Don't load the modules since the stylesheet module crashes if the 
     GUI is not initialized */
#ifdef PRICE_QUOTES_NEED_MODULES 
  load_gnucash_modules();
#endif

And indeed, that's where it's crashing. Why is matter for a debugging session, 
which I don't really have time to do just now. I've opened 
https://bugzilla.gnome.org/show_bug.cgi?id=629712 to keep track of it.

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to