[Bug 628734] Get Quotes at Startup Option
John Ralls
jralls at ceridwen.us
Thu Sep 16 13:19:18 EDT 2010
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?
Do you have the latest dmg (2.3.15.2)? For some reason that doesn't quite make sense to me, this works on that build but not on the previous one, at least on my system. Incidentally, you need to wrap your directory in quotes so that the shell doesn't see the space as a break when it's passed to Gnucash. (Otherwise the backslash escaping the space gets stripped by the launcher script.)
Regards,
John Ralls
More information about the gnucash-devel
mailing list