Trouble setting up Finance::Quote
Cory Helfrich
coryhelfrich at yahoo.ca
Mon Jan 22 12:57:45 EST 2007
Hello Roy,
I followed you suggestion and gnucash now sees Finance::Quote as
installed properly. Thanks to all for your help.
Best regards,
Cory
Cory Helfrich
coryhelfrich at yahoo.ca
On 22-Jan-07, at 1:26 AM, Roy Nicholl wrote:
> Cory,
>
> Either start your xterm as a login shell (-ls option) or put the
> variables / commands you want executed for every shell in your $
> {HOME}/.bashrc file.
>
>
> On 21-Jan-2007, at 15:07, Cory Helfrich wrote:
>
>> Hello David,
>>
>> I think you are correct. My xterm $SHELL is /bin/bash, just like
>> terminal. However, when I start xterm, the commands in my .profile
>> are not executed, while these commands are executed when I start
>> terminal (commands to modify the path and prompt, etc.). However, I
>> do not know where to put these commands so they will be executed when
>> X11 starts. Do you know?
>>
>> Thanks,
>> Cory
>> Cory Helfrich
>> coryhelfrich at yahoo.ca
>>
>>
>>
>> On 20-Jan-07, at 11:15 PM, David T. wrote:
>>
>>> 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/
>>
>> _______________________________________________
>> 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.
>
More information about the gnucash-user
mailing list