Trouble setting up Finance::Quote
David T.
sunfish62 at yahoo.com
Sat Jan 20 15:15:27 EST 2007
Oh man, I think I'm starting to understand where some of my own problems on
this front are coming from (I am running GC2.0.4 on an IntelMac)--and I think I
might have an idea on how Cory's problem might be solved.
I believe the problem has to do with the fact that the Mac ends up with two
separate environments--one for the base Terminal.app, and the second for X11.
Fink runs under Terminal. Issuing the command gnc-fq-check at the Terminal
command line yields the proper results; issuing the same command in X11 yields
a File not found error.
When I examine the PATH variables in each, I see:
1) Terminal:
PATH=/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
2) X11: PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/X11R6/bin
When I add the opt and sw directories in X11, gnc-fq-check begins to work, and
F::Q works within GC once I restart GC. I tried editing my .profile to add the
sw directories, but that did not take under X11 (I believe I need to change
something else than .profile). Under these circumstances, however, when I run
gnucash, now receive a slew of errors at the command line that all begin:
(gnucash:791): GLib-CRITICAL **: Invalid key name: {varname}
Gnucash seems to run, but what are these? Never saw 'em before...
And, what needs to change so that X11 gets the right PATH entries to enable
this?
Cheers,
David
--- David Hampton <hampton-gnucash at rainbolthampton.net> wrote:
> On Fri, 2007-01-19 at 21:32 +0300, Cory Helfrich wrote:
>
> > To me, this looks like F::Q is installed correctly.
>
> Agreed. Based on the output of gnc-fq-check gnucash should say that
> F::Q is installed properly. In fact, the output indicates that gnucash
> is seeing F::Q because it prints the installed version.
>
> > However, when I
> > opened gnucash after this, the Security Editor still indicated that
> > Finance::Quote was not installed properly. Do you have any other
> > suggestions?
>
> Maybe check your paths? Is something installed in /usr that should be
> installed in /sw, or vice versa. I don't run gnucash on a mac so I'm at
> the limit of what I can do to help. I don't see any requirement in
> gnucash for indicating that F::Q is installed that isn't satisfied by
> the same code that prints the F::Q version to the console.
>
> David
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
More information about the gnucash-user
mailing list