[Bug 628734] Get Quotes at Startup Option
David T.
sunfish62 at yahoo.com
Thu Sep 16 16:36:38 EDT 2010
--- On Thu, 9/16/10, John Ralls <jralls at ceridwen.fremont.ca.us> wrote:
> From: John Ralls <jralls at ceridwen.fremont.ca.us>
> Subject: Re: [Bug 628734] Get Quotes at Startup Option
> To: "David T." <sunfish62 at yahoo.com>
> Cc: "devel gnucash" <gnucash-devel at gnucash.org>
> Date: Thursday, September 16, 2010, 10:10 AM
>
> 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.)
I am running 2.2.9-4. I am not the adventurous type, except once in a while. The note about the launcher script stripping out the escaped space explains the "too many arguents" error--but not the Abort trap.
David
>
> Regards,
> John Ralls
>
>
>
More information about the gnucash-devel
mailing list