Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread john
Dennis,

You can examine the running processes in /Applications/Utilities/Actiivity 
Monitor and kill them from there, or you can just nuke the lot with 
  sudo killall cpan
if you're reasonably sure that there shouldn't be any left running.

Regards,
John Ralls

> On Feb 10, 2022, at 5:48 PM, smad...@hotmail.com wrote:
> 
> John, David   Partial Success
> 
> Ran the commands in John’s last response and the Price Database Get Quotes 
> button is now working.  Attempted to download quotes but got no quotes for 
> any stock.  Looked at a sampling of stocks in Security Editor to make sure 
> that Get Online Quotes had not been unchecked and that the type and source of 
> quotes was identified and they were all good.  When I previously ran David’s 
> commands to get the certificate collection I got an error similar to the one 
> I was getting with gnc-fq-update and was unable to get Mozilla::CA.  So 
> thinking I may still have a certificate problem, I ran “sudo cpan” again and 
> got the following: 
> 
> Last login: Thu Feb 10 17:53:28 on ttys000
> dwa1@dwa1 ~ % sudo cpan
> Password:
> Loading internal logger. Log::Log4perl recommended for better logging
> Terminal does not support AddHistory.
> 
> To fix enter>  install Term::ReadLine::Perl
> 
> 
> There seems to be running another CPAN process (pid 14690).  Contacting...
> Other job not responding. Shall I overwrite the lockfile 
> '/Users/dwa1/.cpan/.lock'? (Y/n) [y] 
> 
> Having gone through everything so far I’m not sure about overwriting files 
> etc since at least the button is working.  Any guidance on what to do here so 
> I can get to CPAN and run “install Mozilla::CA” to see if the certificate is 
> the issue now in not getting stock prices?
> 
> Thanks
> 
>> On Feb 10, 2022, at 17:26, John Ralls > > wrote:
>> 
>> Dennis,
>> 
>> Very good, almost there. The only problem is the failed test in B::Keywords, 
>> which you can work around with
>>  sudo cpan -f -i B::Keywords
>> and then re-run
>>  sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
>> 
>> Regards,
>> John Ralls
>> 
>>> On Feb 10, 2022, at 4:14 PM, dennis adams >> > wrote:
>>> 
>>> John, decided to give “Xcode-select —install” another try since seemed 
>>> problem was lack of CLTs.  It installed in an hour so don’t know what the 
>>> 215 hrs was about last night.  I then ran 
>>> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update” without 
>>> sudo and ended up with 330 pdf pages of terminal dump.  I then ran it again 
>>> with sudo and  have attached the terminal info from that command.  I then 
>>> ran the check and got the following:
>>> 
>>> dwa1@dwa1 ~ % /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
>>> 
>>> You need to install the following Perl modules:
>>>  Finance::Quote
>>> 
>>> Use your system's package manager to install them,
>>> or run 'gnc-fq-update' as root.
>>> missing-lib
>>> dwa1@dwa1 ~ % 
>>> 
>>> The terminal dump seems to indicate several prerequisites and dependencies 
>>> are not installed.  Says to install modules but not sure how to do that.
>>> Thanks
>>> 
>>> 
>>> 
 On Feb 10, 2022, at 15:50, John Ralls >>> > wrote:
 
 Dennis,
 
 Progress, I guess.
 
 Yes, $PATH is typed verbatim. You did that part right.
 
 You probably need to run gnc-fq-update and friends with the full path, e.g.
 /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
 gnc-fq-update usually requires sudo in front of it
 sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
 because it wants to write to your system perl directories.
 
 Regards,
 John Ralls
 
> On Feb 10, 2022, at 1:40 PM, smad...@hotmail.com 
>  wrote:
> 
> John, again thanks.  Yes, the obvious is not obvious to me as I am a user 
> and much beyond that I am lost, especially with doing terminal commands. 
> I love using GC and it works great until MAC or sometimes GC updates  and 
> there are problems which I try to find solutions to in the Archives.  But 
> when I don’t, I ask for help but again am not that coding or terminal 
> savvy.  I do try though and appreciate all the help and patience you all 
> provide.
> 
> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the 
> check which is below and seems to be correct.
> 
> Last login: Thu Feb 10 12:58:28 on ttys000
> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
> Password:
> dwa1@dwa1 ~ %  xcode-select -p
> /Applications/Xcode.app/Contents/Developer
> dwa1@dwa1 ~ % 
> 
> I then ran “export 
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which 
> resulted in the “dquote>” prompt.  Here again, I am not sure if I am 
> supposed to substitute something for $PATH or not or if that is the 

Re: [GNC] Settings in environment.local does not work

2022-02-10 Thread redfrog2...@outlook.com
Mr. Ralls,
Thank you for your advice. The display language changed to English when I 
added 
the heading [Variable] to the file environment.local.

Yours,
Bite Gao
Feb 11th, 2022


redfrog2...@outlook.com



 

--

From: John Ralls



Date: 2022-02-11 10:25

To: redfrog2...@outlook.com

CC: gnucash-user

Subject: Re: [GNC] Settings in environment.local does not work


Please remember to copy the list on all replies.



 Did you remember to lead off the environment.local file with the section 
heading
[Variables]?


Regards,
John Ralls

 
> On Feb 10, 2022, at 5:52 PM, redfrog2...@outlook.com wrote:

>

> Mr. Ralls,

>

> Hello! I would like to change GnuCash's display language to English. 
>However,

> it remains to be system's language (Chinese) after I change environment.local.

> It has only changed after I changed the main configuration file: environment.

> By the way, I am using Gnucash version: 4.9 (2021-12-18) on Windows 10 
>21H2

>
> Yours,
>

> Bite Gao

> Feb 11th, 2021

>

> ---

>

> From: john

> Date: 2022-02-11 01:34

> To: redfrog2000

> CC: gnucash-user

> Subject: Re: [GNC] Settings in environment.local does not work

>

>

>

>> On Feb 9, 2022, at 9:07 PM, redfrog2...@outlook.com wrote:

>>

>> Gnucash Developers & Maintainers:

>>

>>  Hello! I am a Chinese user of your product. Recently, I have changed

>> language settings, and placed them in my custom environment.local file.

>> However, I found that display language in gnucash are still not changed.

>> Could you please help me solving this problem?

>>

>> Yours,

>>

>>  Bite Gao

>> Jan 28th, 2022

>>
>> Attachment:
>> content in environment.local:
>> # Gnucash's language settings:
>> LANG=zh_CN
>> LANGUAGE=en_US
>
> Hi,
>
> With those settings I'd expect that GnuCash would display the UI in English. 
> Is that not what you're seeing? What operating system are you using and what 
> version of GnuCash is this?
> 
> Regards,
> John Ralls





 


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Settings in environment.local does not work

2022-02-10 Thread redfrog2...@outlook.com
Mr. Ralls,


   Hello! I would like to change GnuCash's display language to English. However,
it remains to be system's language (Chinese) after I change environment.local.

It has only changed after I changed the main configuration file: environment. 

By the way, I am using Gnucash version: 4.9 (2021-12-18) on Windows 10 21H2



Yours,



    Bite Gao

Feb 11th, 2021



---

From: john

Date: 2022-02-11 01:34

To: redfrog2000

CC: gnucash-user

Subject: Re: [GNC] Settings in environment.local does not work



> On Feb 9, 2022, at 9:07 PM, redfrog2...@outlook.com wrote:

>

> Gnucash Developers & Maintainers:

>

> Hello! I am a Chinese user of your product. Recently, I have changed

> language settings, and placed them in my custom environment.local file.

> However, I found that display language in gnucash are still not changed.

> Could you please help me solving this problem?

>

>    Yours,

>

> Bite Gao

> Jan 28th, 2022

>

> Attachment:

> content in environment.local:

> # Gnucash's language settings:

> LANG=zh_CN

> LANGUAGE=en_US









 









Hi,









With those settings I'd expect that GnuCash would display the UI in English. Is 
that not what you're seeing? What operating system are you using and what 
version of GnuCash is this?



 



Regards,









John Ralls









 









 






___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Settings in environment.local does not work

2022-02-10 Thread John Ralls
Please remember to copy the list on all replies.

Did you remember to lead off the environment.local file with the section 
heading 
[Variables]
?

Regards,
John Ralls


> On Feb 10, 2022, at 5:52 PM, redfrog2...@outlook.com wrote:
> 
> Mr. Ralls,
> 
> Hello! I would like to change GnuCash's display language to English. 
> However,
> it remains to be system's language (Chinese) after I change environment.local.
> It has only changed after I changed the main configuration file: environment. 
> By the way, I am using Gnucash version: 4.9 (2021-12-18) on Windows 10 
> 21H2
> 
> Yours,
> 
> Bite Gao
> Feb 11th, 2021
> 
> ---
> 
> From: john
> Date: 2022-02-11 01:34
> To: redfrog2000
> CC: gnucash-user
> Subject: Re: [GNC] Settings in environment.local does not work
> 
> 
> 
>  > On Feb 9, 2022, at 9:07 PM, redfrog2...@outlook.com wrote:
>> 
>> Gnucash Developers & Maintainers:
>> 
>>  Hello! I am a Chinese user of your product. Recently, I have changed
>> language settings, and placed them in my custom environment.local file.
>> However, I found that display language in gnucash are still not changed.
>> Could you please help me solving this problem?
>> 
>> Yours,
>> 
>>  Bite Gao
>> Jan 28th, 2022
>> 
>> Attachment:
>> content in environment.local:
>> # Gnucash's language settings:
>> LANG=zh_CN
>> LANGUAGE=en_US
> 
> 
> 
>  
> 
> 
> 
> Hi,
> 
> 
> 
> With those settings I'd expect that GnuCash would display the UI in English. 
> Is that not what you're seeing? What operating system are you using and what 
> version of GnuCash is this?
>  
> Regards,
> 
> 
> 
> John Ralls
> 
> 
> 
>  
> 
> 
> 
>  
> 
> 

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread smada46
John, David   Partial Success

Ran the commands in John’s last response and the Price Database Get Quotes 
button is now working.  Attempted to download quotes but got no quotes for any 
stock.  Looked at a sampling of stocks in Security Editor to make sure that Get 
Online Quotes had not been unchecked and that the type and source of quotes was 
identified and they were all good.  When I previously ran David’s commands to 
get the certificate collection I got an error similar to the one I was getting 
with gnc-fq-update and was unable to get Mozilla::CA.  So thinking I may still 
have a certificate problem, I ran “sudo cpan” again and got the following: 

Last login: Thu Feb 10 17:53:28 on ttys000
dwa1@dwa1 ~ % sudo cpan
Password:
Loading internal logger. Log::Log4perl recommended for better logging
Terminal does not support AddHistory.

To fix enter>  install Term::ReadLine::Perl


There seems to be running another CPAN process (pid 14690).  Contacting...
Other job not responding. Shall I overwrite the lockfile 
'/Users/dwa1/.cpan/.lock'? (Y/n) [y] 

Having gone through everything so far I’m not sure about overwriting files etc 
since at least the button is working.  Any guidance on what to do here so I can 
get to CPAN and run “install Mozilla::CA” to see if the certificate is the 
issue now in not getting stock prices?

Thanks

> On Feb 10, 2022, at 17:26, John Ralls  wrote:
> 
> Dennis,
> 
> Very good, almost there. The only problem is the failed test in B::Keywords, 
> which you can work around with
>  sudo cpan -f -i B::Keywords
> and then re-run
>  sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
> 
> Regards,
> John Ralls
> 
>> On Feb 10, 2022, at 4:14 PM, dennis adams  wrote:
>> 
>> John, decided to give “Xcode-select —install” another try since seemed 
>> problem was lack of CLTs.  It installed in an hour so don’t know what the 
>> 215 hrs was about last night.  I then ran 
>> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update” without 
>> sudo and ended up with 330 pdf pages of terminal dump.  I then ran it again 
>> with sudo and  have attached the terminal info from that command.  I then 
>> ran the check and got the following:
>> 
>> dwa1@dwa1 ~ % /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
>> 
>> You need to install the following Perl modules:
>>  Finance::Quote
>> 
>> Use your system's package manager to install them,
>> or run 'gnc-fq-update' as root.
>> missing-lib
>> dwa1@dwa1 ~ % 
>> 
>> The terminal dump seems to indicate several prerequisites and dependencies 
>> are not installed.  Says to install modules but not sure how to do that.
>> Thanks
>> 
>> 
>> 
>>> On Feb 10, 2022, at 15:50, John Ralls  wrote:
>>> 
>>> Dennis,
>>> 
>>> Progress, I guess.
>>> 
>>> Yes, $PATH is typed verbatim. You did that part right.
>>> 
>>> You probably need to run gnc-fq-update and friends with the full path, e.g.
>>> /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
>>> gnc-fq-update usually requires sudo in front of it
>>> sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
>>> because it wants to write to your system perl directories.
>>> 
>>> Regards,
>>> John Ralls
>>> 
 On Feb 10, 2022, at 1:40 PM, smad...@hotmail.com wrote:
 
 John, again thanks.  Yes, the obvious is not obvious to me as I am a user 
 and much beyond that I am lost, especially with doing terminal commands. I 
 love using GC and it works great until MAC or sometimes GC updates  and 
 there are problems which I try to find solutions to in the Archives.  But 
 when I don’t, I ask for help but again am not that coding or terminal 
 savvy.  I do try though and appreciate all the help and patience you all 
 provide.
 
 I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the 
 check which is below and seems to be correct.
 
 Last login: Thu Feb 10 12:58:28 on ttys000
 dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
 Password:
 dwa1@dwa1 ~ %  xcode-select -p
 /Applications/Xcode.app/Contents/Developer
 dwa1@dwa1 ~ % 
 
 I then ran “export 
 PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which 
 resulted in the “dquote>” prompt.  Here again, I am not sure if I am 
 supposed to substitute something for $PATH or not or if that is the 
 command.  At the “dquote>” prompt, I typed in “gnc-fq-update” which just 
 went to the “dquote>” prompt again without updating FQ.  Is gnc-fq-update  
 the command or am I supposed to type something in front of gnc-fq-update?
 
 dwa1@dwa1 ~ % export 
 PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
 dquote> gnc-fq-update
 dquote>  
 
 In an earlier e-mail you stated:
 
 /usr/bin is right where you'd expect it, but you can't see it with Finder, 
 only from the terminal. For example you can type
 ls -l /usr/bin/make
 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread smada46
David, 
Thanks, using the “l” got the " -rwxr-xr-x” characters.

> On Feb 10, 2022, at 15:33, David H  wrote:
> 
> Dennis,
> 
> Looks like you typed a "1" (one) instead of an 'l' (ell) as the option to the 
> ls command which explains the difference in output - rerun with the ls -l and 
> you'll get the full response.
> 
> Cheers David H.
> 
> 
> On Fri, 11 Feb 2022 at 07:41,  > wrote:
> John, again thanks.  Yes, the obvious is not obvious to me as I am a user and 
> much beyond that I am lost, especially with doing terminal commands. I love 
> using GC and it works great until MAC or sometimes GC updates  and there are 
> problems which I try to find solutions to in the Archives.  But when I don’t, 
> I ask for help but again am not that coding or terminal savvy.  I do try 
> though and appreciate all the help and patience you all provide.
> 
> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the 
> check which is below and seems to be correct.
> 
> Last login: Thu Feb 10 12:58:28 on ttys000
> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
> Password:
> dwa1@dwa1 ~ %  xcode-select -p
> /Applications/Xcode.app/Contents/Developer
> dwa1@dwa1 ~ % 
> 
> I then ran “export 
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which 
> resulted in the “dquote>” prompt.  Here again, I am not sure if I am supposed 
> to substitute something for $PATH or not or if that is the command.  At the 
> “dquote>” prompt, I typed in “gnc-fq-update” which just went to the “dquote>” 
> prompt again without updating FQ.  Is gnc-fq-update  the command or am I 
> supposed to type something in front of gnc-fq-update?
> 
> dwa1@dwa1 ~ % export 
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> dquote> gnc-fq-update
> dquote>  
> 
> In an earlier e-mail you stated:
> 
>  /usr/bin is right where you'd expect it, but you can't see it with Finder, 
> only from the terminal. For example you can type
>   ls -l /usr/bin/make
> and if it's there get back something like
>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
> 
> When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back “root 
> wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 22 00:42 
> /usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but neither of 
> the responses had the “-rwxr-xr-x” before the “1 root—-“ as in your result.  
> Since I am missing  the “-rwxr-xr-x”, does that mean I don’t have “make” and 
> “xcrun” installed?
> 
> Again, I appreciate your help and patience and am sorry it is taking so long 
> to understand this.
> 
> 
> 
> 
> > On Feb 10, 2022, at 12:43, John Ralls  > > wrote:
> > 
> > Dennis,
> > 
> > I guess you missed the line "making the obvious substitution" right after 
> > the Xcode-select line, or the substitution isn't that obvious. Since you 
> > did install it as Xcode.app in /Applications, you'd say
> >  sudo xcode-select -s /Applications/Xcode.app
> > You can check that it worked with 
> >  xcode-select -p
> > which should print 
> >  /Applications/Xcode.app/Contents/Developer
> > 
> > No, /Library/Developer/CommandLineTools exists only if you've installed 
> > command line tools by running
> >  sudo xcode-select --install
> > which you bailed out of because of the long download time. 
> > 
> > I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun 
> > launcher, which if your Xcode-select path is pointed at the uninstalled 
> > command line tools folder would explain the error messages and of course 
> > it's finding /usr/bin/make first. I should have recognized that and told you
> > export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> > instead. Of course it wouldn't have mattered because of the /Path/to/ 
> > substitution misunderstanding.
> > 
> > Regards,
> > John Ralls
> > 
> > 
> >> On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com 
> >>  wrote:
> >> 
> >> John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and 
> >> got the following which I guess says I have both “make” and “xcrun”.
> >> 
> >> Last login: Thu Feb 10 07:21:15 on console 
> >> 
> >> dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 
> >> 
> >> ls -l /usr/bin/make
> >> root wheel 167072 Jan 22 00:42 /usr/bin/make 
> >> 
> >> ls -l /usr/bin/xcrun
> >> root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 
> >> 
> >> One of the errors at the end of a previous terminal output for 
> >> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 
> >> 
> >> xcrun: error: invalid active developer path 
> >> (/Library/Developer/CommandLineTools ), missing xcrun at: 
> >> /Library/Developer/CommandLineTools/usr/bin/xcrun 
> >> 
> >> In Finder, I went to /Library/Developer but there was no “Command Line 
> >> Tools folder.  I know you said I wouldn’t see /usr/bin with Finder, but 
> >> shouldn’t there at 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread John Ralls
Dennis,

Very good, almost there. The only problem is the failed test in B::Keywords, 
which you can work around with
  sudo cpan -f -i B::Keywords
and then re-run
  sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update

Regards,
John Ralls

> On Feb 10, 2022, at 4:14 PM, dennis adams  wrote:
> 
> John, decided to give “Xcode-select —install” another try since seemed 
> problem was lack of CLTs.  It installed in an hour so don’t know what the 215 
> hrs was about last night.  I then ran 
> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update” without sudo 
> and ended up with 330 pdf pages of terminal dump.  I then ran it again with 
> sudo and  have attached the terminal info from that command.  I then ran the 
> check and got the following:
> 
> dwa1@dwa1 ~ % /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
> 
> You need to install the following Perl modules:
>   Finance::Quote
> 
> Use your system's package manager to install them,
> or run 'gnc-fq-update' as root.
> missing-lib
> dwa1@dwa1 ~ % 
> 
> The terminal dump seems to indicate several prerequisites and dependencies 
> are not installed.  Says to install modules but not sure how to do that.
> Thanks
> 
> 
> 
>> On Feb 10, 2022, at 15:50, John Ralls  wrote:
>> 
>> Dennis,
>> 
>> Progress, I guess.
>> 
>> Yes, $PATH is typed verbatim. You did that part right.
>> 
>> You probably need to run gnc-fq-update and friends with the full path, e.g.
>>  /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
>> gnc-fq-update usually requires sudo in front of it
>>  sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
>> because it wants to write to your system perl directories.
>> 
>> Regards,
>> John Ralls
>> 
>>> On Feb 10, 2022, at 1:40 PM, smad...@hotmail.com wrote:
>>> 
>>> John, again thanks.  Yes, the obvious is not obvious to me as I am a user 
>>> and much beyond that I am lost, especially with doing terminal commands. I 
>>> love using GC and it works great until MAC or sometimes GC updates  and 
>>> there are problems which I try to find solutions to in the Archives.  But 
>>> when I don’t, I ask for help but again am not that coding or terminal 
>>> savvy.  I do try though and appreciate all the help and patience you all 
>>> provide.
>>> 
>>> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the 
>>> check which is below and seems to be correct.
>>> 
>>> Last login: Thu Feb 10 12:58:28 on ttys000
>>> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
>>> Password:
>>> dwa1@dwa1 ~ %  xcode-select -p
>>> /Applications/Xcode.app/Contents/Developer
>>> dwa1@dwa1 ~ % 
>>> 
>>> I then ran “export 
>>> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which 
>>> resulted in the “dquote>” prompt.  Here again, I am not sure if I am 
>>> supposed to substitute something for $PATH or not or if that is the 
>>> command.  At the “dquote>” prompt, I typed in “gnc-fq-update” which just 
>>> went to the “dquote>” prompt again without updating FQ.  Is gnc-fq-update  
>>> the command or am I supposed to type something in front of gnc-fq-update?
>>> 
>>> dwa1@dwa1 ~ % export 
>>> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
>>> dquote> gnc-fq-update
>>> dquote>  
>>> 
>>> In an earlier e-mail you stated:
>>> 
>>> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
>>> only from the terminal. For example you can type
>>>  ls -l /usr/bin/make
>>> and if it's there get back something like
>>>  -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
>>> 
>>> When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back 
>>> “root wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 
>>> 22 00:42 /usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but 
>>> neither of the responses had the “-rwxr-xr-x” before the “1 root—-“ as in 
>>> your result.  Since I am missing  the “-rwxr-xr-x”, does that mean I don’t 
>>> have “make” and “xcrun” installed?
>>> 
>>> Again, I appreciate your help and patience and am sorry it is taking so 
>>> long to understand this.
>>> 
>>> 
>>> 
>>> 
 On Feb 10, 2022, at 12:43, John Ralls  wrote:
 
 Dennis,
 
 I guess you missed the line "making the obvious substitution" right after 
 the Xcode-select line, or the substitution isn't that obvious. Since you 
 did install it as Xcode.app in /Applications, you'd say
 sudo xcode-select -s /Applications/Xcode.app
 You can check that it worked with 
 xcode-select -p
 which should print 
 /Applications/Xcode.app/Contents/Developer
 
 No, /Library/Developer/CommandLineTools exists only if you've installed 
 command line tools by running
 sudo xcode-select --install
 which you bailed out of because of the long download time. 
 
 I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun 
 launcher, which if your Xcode-select path 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread dennis adams
John, decided to give “Xcode-select —install” another try since seemed problem 
was lack of CLTs.  It installed in an hour so don’t know what the 215 hrs was 
about last night.  I then ran 
“/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update” without sudo 
and ended up with 330 pdf pages of terminal dump.  I then ran it again with 
sudo and  have attached the terminal info from that command.  I then ran the 
check and got the following:

dwa1@dwa1 ~ % /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check

You need to install the following Perl modules:
  Finance::Quote

Use your system's package manager to install them,
or run 'gnc-fq-update' as root.
missing-lib
dwa1@dwa1 ~ %

The terminal dump seems to indicate several prerequisites and dependencies are 
not installed.  Says to install modules but not sure how to do that.
Thanks



On Feb 10, 2022, at 15:50, John Ralls 
mailto:jra...@ceridwen.us>> wrote:

Dennis,

Progress, I guess.

Yes, $PATH is typed verbatim. You did that part right.

You probably need to run gnc-fq-update and friends with the full path, e.g.
 /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
gnc-fq-update usually requires sudo in front of it
 sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
because it wants to write to your system perl directories.

Regards,
John Ralls

On Feb 10, 2022, at 1:40 PM, smad...@hotmail.com 
wrote:

John, again thanks.  Yes, the obvious is not obvious to me as I am a user and 
much beyond that I am lost, especially with doing terminal commands. I love 
using GC and it works great until MAC or sometimes GC updates  and there are 
problems which I try to find solutions to in the Archives.  But when I don’t, I 
ask for help but again am not that coding or terminal savvy.  I do try though 
and appreciate all the help and patience you all provide.

I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the check 
which is below and seems to be correct.

Last login: Thu Feb 10 12:58:28 on ttys000
dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
Password:
dwa1@dwa1 ~ %  xcode-select -p
/Applications/Xcode.app/Contents/Developer
dwa1@dwa1 ~ %

I then ran “export 
PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which resulted 
in the “dquote>” prompt.  Here again, I am not sure if I am supposed to 
substitute something for $PATH or not or if that is the command.  At the 
“dquote>” prompt, I typed in “gnc-fq-update” which just went to the “dquote>” 
prompt again without updating FQ.  Is gnc-fq-update  the command or am I 
supposed to type something in front of gnc-fq-update?

dwa1@dwa1 ~ % export 
PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
dquote> gnc-fq-update
dquote>

In an earlier e-mail you stated:

/usr/bin is right where you'd expect it, but you can't see it with Finder, only 
from the terminal. For example you can type
 ls -l /usr/bin/make
and if it's there get back something like
 -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*

When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back “root 
wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 22 00:42 
/usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but neither of 
the responses had the “-rwxr-xr-x” before the “1 root—-“ as in your result.  
Since I am missing  the “-rwxr-xr-x”, does that mean I don’t have “make” and 
“xcrun” installed?

Again, I appreciate your help and patience and am sorry it is taking so long to 
understand this.




On Feb 10, 2022, at 12:43, John Ralls 
mailto:jra...@ceridwen.us>> wrote:

Dennis,

I guess you missed the line "making the obvious substitution" right after the 
Xcode-select line, or the substitution isn't that obvious. Since you did 
install it as Xcode.app in /Applications, you'd say
sudo xcode-select -s /Applications/Xcode.app
You can check that it worked with
xcode-select -p
which should print
/Applications/Xcode.app/Contents/Developer

No, /Library/Developer/CommandLineTools exists only if you've installed command 
line tools by running
sudo xcode-select --install
which you bailed out of because of the long download time.

I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun launcher, 
which if your Xcode-select path is pointed at the uninstalled command line 
tools folder would explain the error messages and of course it's finding 
/usr/bin/make first. I should have recognized that and told you
export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
instead. Of course it wouldn't have mattered because of the /Path/to/ 
substitution misunderstanding.

Regards,
John Ralls


On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com 
wrote:

John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and got 
the following which I guess says I have both “make” and “xcrun”.

Last login: Thu Feb 10 07:21:15 on 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread John Ralls
Dennis,

Progress, I guess.

Yes, $PATH is typed verbatim. You did that part right.

You probably need to run gnc-fq-update and friends with the full path, e.g.
  /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check
gnc-fq-update usually requires sudo in front of it
  sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
because it wants to write to your system perl directories.

Regards,
John Ralls

> On Feb 10, 2022, at 1:40 PM, smad...@hotmail.com wrote:
> 
> John, again thanks.  Yes, the obvious is not obvious to me as I am a user and 
> much beyond that I am lost, especially with doing terminal commands. I love 
> using GC and it works great until MAC or sometimes GC updates  and there are 
> problems which I try to find solutions to in the Archives.  But when I don’t, 
> I ask for help but again am not that coding or terminal savvy.  I do try 
> though and appreciate all the help and patience you all provide.
> 
> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the 
> check which is below and seems to be correct.
> 
> Last login: Thu Feb 10 12:58:28 on ttys000
> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
> Password:
> dwa1@dwa1 ~ %  xcode-select -p
> /Applications/Xcode.app/Contents/Developer
> dwa1@dwa1 ~ % 
> 
> I then ran “export 
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which 
> resulted in the “dquote>” prompt.  Here again, I am not sure if I am supposed 
> to substitute something for $PATH or not or if that is the command.  At the 
> “dquote>” prompt, I typed in “gnc-fq-update” which just went to the “dquote>” 
> prompt again without updating FQ.  Is gnc-fq-update  the command or am I 
> supposed to type something in front of gnc-fq-update?
> 
> dwa1@dwa1 ~ % export 
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> dquote> gnc-fq-update
> dquote>  
> 
> In an earlier e-mail you stated:
> 
>  /usr/bin is right where you'd expect it, but you can't see it with Finder, 
> only from the terminal. For example you can type
>   ls -l /usr/bin/make
> and if it's there get back something like
>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
> 
> When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back “root 
> wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 22 00:42 
> /usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but neither of 
> the responses had the “-rwxr-xr-x” before the “1 root—-“ as in your result.  
> Since I am missing  the “-rwxr-xr-x”, does that mean I don’t have “make” and 
> “xcrun” installed?
> 
> Again, I appreciate your help and patience and am sorry it is taking so long 
> to understand this.
> 
> 
> 
> 
>> On Feb 10, 2022, at 12:43, John Ralls  wrote:
>> 
>> Dennis,
>> 
>> I guess you missed the line "making the obvious substitution" right after 
>> the Xcode-select line, or the substitution isn't that obvious. Since you did 
>> install it as Xcode.app in /Applications, you'd say
>>  sudo xcode-select -s /Applications/Xcode.app
>> You can check that it worked with 
>>  xcode-select -p
>> which should print 
>>  /Applications/Xcode.app/Contents/Developer
>> 
>> No, /Library/Developer/CommandLineTools exists only if you've installed 
>> command line tools by running
>>  sudo xcode-select --install
>> which you bailed out of because of the long download time. 
>> 
>> I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun 
>> launcher, which if your Xcode-select path is pointed at the uninstalled 
>> command line tools folder would explain the error messages and of course 
>> it's finding /usr/bin/make first. I should have recognized that and told you
>> export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
>> instead. Of course it wouldn't have mattered because of the /Path/to/ 
>> substitution misunderstanding.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>>> On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com wrote:
>>> 
>>> John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and 
>>> got the following which I guess says I have both “make” and “xcrun”.
>>> 
>>> Last login: Thu Feb 10 07:21:15 on console 
>>> 
>>> dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 
>>> 
>>> ls -l /usr/bin/make
>>> root wheel 167072 Jan 22 00:42 /usr/bin/make 
>>> 
>>> ls -l /usr/bin/xcrun
>>> root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 
>>> 
>>> One of the errors at the end of a previous terminal output for 
>>> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 
>>> 
>>> xcrun: error: invalid active developer path 
>>> (/Library/Developer/CommandLineTools ), missing xcrun at: 
>>> /Library/Developer/CommandLineTools/usr/bin/xcrun 
>>> 
>>> In Finder, I went to /Library/Developer but there was no “Command Line 
>>> Tools folder.  I know you said I wouldn’t see /usr/bin with Finder, but 
>>> shouldn’t there at least be a Command Line Tools folder under 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread davidcousens49
Dennis

The “-rwxr-xr-x” are the file permissions. 
There are normally 10 characters in the string. The first is usually "d" or "-"
with d indicating that the entry is a file directory rather than a file. 

The other nine are arranged in three groups of three each group of three being
the permissions for the user who owns the files, the second the permissions for
other members of a group of users the user may belong to, and the third group
are permissions for all other users on the system.
  
In each group of three, the first character ("r" or "-") indicates whether the
file or directory can be read from, the second("w" or "-") whether a user in
that category can write to the file and the third ("x" ot '-") indicates whether
the file can be executed by a user in that category. ("-" in all cases means
permission is not granted.

The permissions returned in John's example mean that the system root owns the
files and users in the group "wheel" or all other uses have permission to read
and execute the file but not write to it. 

The lack of these in the return is just an indication that the MAC's modified
version of the file listing utility does not comply with the normal Linux
definition of these switches on the command. "-al" normally means to list all
files and directories (including hidden) in the current directory ("a") in the
standard list format ("l") which would normally include listing the file
permissions first. The MAC OSX ls commands help is given at 
https://ss64.com/osx/ls.html and the "l" option does not list the file
permissions. For some reason Apple has decided a user doesn't need to know what
these are and they will only appear if the file has extended attributes or
security information.

David Cousens


On Thu, 2022-02-10 at 14:40 -0700, smad...@hotmail.com wrote:
> John, again thanks.  Yes, the obvious is not obvious to me as I am a user and
> much beyond that I am lost, especially with doing terminal commands. I love
> using GC and it works great until MAC or sometimes GC updates  and there are
> problems which I try to find solutions to in the Archives.  But when I don’t,
> I ask for help but again am not that coding or terminal savvy.  I do try
> though and appreciate all the help and patience you all provide.
> 
> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the check
> which is below and seems to be correct.
> 
> Last login: Thu Feb 10 12:58:28 on ttys000
> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
> Password:
> dwa1@dwa1 ~ %  xcode-select -p
> /Applications/Xcode.app/Contents/Developer
> dwa1@dwa1 ~ % 
> 
> I then ran “export
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which resulted
> in the “dquote>” prompt.  Here again, I am not sure if I am supposed to
> substitute something for $PATH or not or if that is the command.  At the
> “dquote>” prompt, I typed in “gnc-fq-update” which just went to the “dquote>”
> prompt again without updating FQ.  Is gnc-fq-update  the command or am I
> supposed to type something in front of gnc-fq-update?
> 
> dwa1@dwa1 ~ % export
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> dquote> gnc-fq-update
> dquote>  
> 
> In an earlier e-mail you stated:
> 
>  /usr/bin is right where you'd expect it, but you can't see it with Finder,
> only from the terminal. For example you can type
>   ls -l /usr/bin/make
> and if it's there get back something like
>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
> 
> When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back “root
> wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 22 00:42
> /usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but neither of
> the responses had the “-rwxr-xr-x” before the “1 root—-“ as in your
> result.  Since I am missing  the “-rwxr-xr-x”, does that mean I don’t have
> “make” and “xcrun” installed?
> 
> Again, I appreciate your help and patience and am sorry it is taking so long
> to understand this.
> 
> 
> 
> 
> > On Feb 10, 2022, at 12:43, John Ralls  wrote:
> > 
> > Dennis,
> > 
> > I guess you missed the line "making the obvious substitution" right after
> > the Xcode-select line, or the substitution isn't that obvious. Since you did
> > install it as Xcode.app in /Applications, you'd say
> >  sudo xcode-select -s /Applications/Xcode.app
> > You can check that it worked with 
> >  xcode-select -p
> > which should print 
> >  /Applications/Xcode.app/Contents/Developer
> > 
> > No, /Library/Developer/CommandLineTools exists only if you've installed
> > command line tools by running
> >  sudo xcode-select --install
> > which you bailed out of because of the long download time. 
> > 
> > I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun
> > launcher, which if your Xcode-select path is pointed at the uninstalled
> > command line tools folder would explain the error messages and of course
> > it's finding /usr/bin/make first. I 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread David H
Dennis,

Looks like you typed a "1" (one) instead of an 'l' (ell) as the option to
the ls command which explains the difference in output - rerun with the ls
-l and you'll get the full response.

Cheers David H.


On Fri, 11 Feb 2022 at 07:41,  wrote:

> John, again thanks.  Yes, the obvious is not obvious to me as I am a user
> and much beyond that I am lost, especially with doing terminal commands. I
> love using GC and it works great until MAC or sometimes GC updates  and
> there are problems which I try to find solutions to in the Archives.  But
> when I don’t, I ask for help but again am not that coding or terminal
> savvy.  I do try though and appreciate all the help and patience you all
> provide.
>
> I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the
> check which is below and seems to be correct.
>
> Last login: Thu Feb 10 12:58:28 on ttys000
> dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
> Password:
> dwa1@dwa1 ~ %  xcode-select -p
> /Applications/Xcode.app/Contents/Developer
> dwa1@dwa1 ~ %
>
> I then ran “export
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which
> resulted in the “dquote>” prompt.  Here again, I am not sure if I am
> supposed to substitute something for $PATH or not or if that is the
> command.  At the “dquote>” prompt, I typed in “gnc-fq-update” which just
> went to the “dquote>” prompt again without updating FQ.  Is gnc-fq-update
> the command or am I supposed to type something in front of gnc-fq-update?
>
> dwa1@dwa1 ~ % export
> PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> dquote> gnc-fq-update
> dquote>
>
> In an earlier e-mail you stated:
>
>  /usr/bin is right where you'd expect it, but you can't see it with
> Finder, only from the terminal. For example you can type
>   ls -l /usr/bin/make
> and if it's there get back something like
>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
>
> When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back
> “root wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan
> 22 00:42 /usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but
> neither of the responses had the “-rwxr-xr-x” before the “1 root—-“ as in
> your result.  Since I am missing  the “-rwxr-xr-x”, does that mean I don’t
> have “make” and “xcrun” installed?
>
> Again, I appreciate your help and patience and am sorry it is taking so
> long to understand this.
>
>
>
>
> > On Feb 10, 2022, at 12:43, John Ralls  wrote:
> >
> > Dennis,
> >
> > I guess you missed the line "making the obvious substitution" right
> after the Xcode-select line, or the substitution isn't that obvious. Since
> you did install it as Xcode.app in /Applications, you'd say
> >  sudo xcode-select -s /Applications/Xcode.app
> > You can check that it worked with
> >  xcode-select -p
> > which should print
> >  /Applications/Xcode.app/Contents/Developer
> >
> > No, /Library/Developer/CommandLineTools exists only if you've installed
> command line tools by running
> >  sudo xcode-select --install
> > which you bailed out of because of the long download time.
> >
> > I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun
> launcher, which if your Xcode-select path is pointed at the uninstalled
> command line tools folder would explain the error messages and of course
> it's finding /usr/bin/make first. I should have recognized that and told you
> > export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> > instead. Of course it wouldn't have mattered because of the /Path/to/
> substitution misunderstanding.
> >
> > Regards,
> > John Ralls
> >
> >
> >> On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com wrote:
> >>
> >> John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun”
> and got the following which I guess says I have both “make” and “xcrun”.
> >>
> >> Last login: Thu Feb 10 07:21:15 on console
> >>
> >> dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ %
> >>
> >> ls -l /usr/bin/make
> >> root wheel 167072 Jan 22 00:42 /usr/bin/make
> >>
> >> ls -l /usr/bin/xcrun
> >> root wheel 166544 Jan 22 00:42 /usr/bin/xcrun
> >>
> >> One of the errors at the end of a previous terminal output for
> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was:
> >>
> >> xcrun: error: invalid active developer path
> (/Library/Developer/CommandLineTools ), missing xcrun at:
> /Library/Developer/CommandLineTools/usr/bin/xcrun
> >>
> >> In Finder, I went to /Library/Developer but there was no “Command Line
> Tools folder.  I know you said I wouldn’t see /usr/bin with Finder, but
> shouldn’t there at least be a Command Line Tools folder under Developer?
> >>
> >> Regarding installation.  When I installed Xcode, I let it install where
> it wanted to (Applications) without changing the name.  I did what you
> suggested and ran “sudo xcode-select -s /Path/to Xcode.app” anyway with the
> following results:
> >>
> >> dwa1@dwa1 ~ % 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread smada46
John, again thanks.  Yes, the obvious is not obvious to me as I am a user and 
much beyond that I am lost, especially with doing terminal commands. I love 
using GC and it works great until MAC or sometimes GC updates  and there are 
problems which I try to find solutions to in the Archives.  But when I don’t, I 
ask for help but again am not that coding or terminal savvy.  I do try though 
and appreciate all the help and patience you all provide.

I ran the “sudo xcode-select -s /Applications/Xcode.app” command and the check 
which is below and seems to be correct.

Last login: Thu Feb 10 12:58:28 on ttys000
dwa1@dwa1 ~ % sudo xcode-select -s /Applications/Xcode.app
Password:
dwa1@dwa1 ~ %  xcode-select -p
/Applications/Xcode.app/Contents/Developer
dwa1@dwa1 ~ % 

I then ran “export 
PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH” which resulted 
in the “dquote>” prompt.  Here again, I am not sure if I am supposed to 
substitute something for $PATH or not or if that is the command.  At the 
“dquote>” prompt, I typed in “gnc-fq-update” which just went to the “dquote>” 
prompt again without updating FQ.  Is gnc-fq-update  the command or am I 
supposed to type something in front of gnc-fq-update?

dwa1@dwa1 ~ % export 
PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
dquote> gnc-fq-update
dquote>  

In an earlier e-mail you stated:

 /usr/bin is right where you'd expect it, but you can't see it with Finder, 
only from the terminal. For example you can type
  ls -l /usr/bin/make
and if it's there get back something like
  -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*

When I ran”ls -1 /user/bin/make” and “ls -1 /user/bin/xcrun” I got back “root 
wheel 167072 Jan 22 00:42 /usr/bin/make” and “root wheel 166544 Jan 22 00:42 
/usr/bin/xcrun”  From that I thought I had “make” and “xcrun” but neither of 
the responses had the “-rwxr-xr-x” before the “1 root—-“ as in your result.  
Since I am missing  the “-rwxr-xr-x”, does that mean I don’t have “make” and 
“xcrun” installed?

Again, I appreciate your help and patience and am sorry it is taking so long to 
understand this.




> On Feb 10, 2022, at 12:43, John Ralls  wrote:
> 
> Dennis,
> 
> I guess you missed the line "making the obvious substitution" right after the 
> Xcode-select line, or the substitution isn't that obvious. Since you did 
> install it as Xcode.app in /Applications, you'd say
>  sudo xcode-select -s /Applications/Xcode.app
> You can check that it worked with 
>  xcode-select -p
> which should print 
>  /Applications/Xcode.app/Contents/Developer
> 
> No, /Library/Developer/CommandLineTools exists only if you've installed 
> command line tools by running
>  sudo xcode-select --install
> which you bailed out of because of the long download time. 
> 
> I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun 
> launcher, which if your Xcode-select path is pointed at the uninstalled 
> command line tools folder would explain the error messages and of course it's 
> finding /usr/bin/make first. I should have recognized that and told you
> export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
> instead. Of course it wouldn't have mattered because of the /Path/to/ 
> substitution misunderstanding.
> 
> Regards,
> John Ralls
> 
> 
>> On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com wrote:
>> 
>> John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and 
>> got the following which I guess says I have both “make” and “xcrun”.
>> 
>> Last login: Thu Feb 10 07:21:15 on console 
>> 
>> dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 
>> 
>> ls -l /usr/bin/make
>> root wheel 167072 Jan 22 00:42 /usr/bin/make 
>> 
>> ls -l /usr/bin/xcrun
>> root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 
>> 
>> One of the errors at the end of a previous terminal output for 
>> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 
>> 
>> xcrun: error: invalid active developer path 
>> (/Library/Developer/CommandLineTools ), missing xcrun at: 
>> /Library/Developer/CommandLineTools/usr/bin/xcrun 
>> 
>> In Finder, I went to /Library/Developer but there was no “Command Line Tools 
>> folder.  I know you said I wouldn’t see /usr/bin with Finder, but shouldn’t 
>> there at least be a Command Line Tools folder under Developer?
>> 
>> Regarding installation.  When I installed Xcode, I let it install where it 
>> wanted to (Applications) without changing the name.  I did what you 
>> suggested and ran “sudo xcode-select -s /Path/to Xcode.app” anyway with the 
>> following results:
>> 
>> dwa1@dwa1 ~ % sudo xcode-select -s /Path/to Xcode.app Password:
>> xcode-select: error: invalid argument 'Xcode.app'
>> Usage: xcode-select [options] 
>> 
>> Print or change the path to the active developer directory. This directory 
>> controls which tools are used for the Xcode command line tools (for example, 
>> xcodebuild) as well as the BSD development commands (such 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread dennis adams
David,
Thanks for the info.  I ran the commands and the terminal dump is attached.  
Basically, said it failed during command: ABH/Mozilla-CA-20211001.tar.gz.  One 
thing I did note is that at the very end is the exact same error statement as I 
get when I run gnc-fq-update.  So I seem to have some sort of path error.





On Feb 10, 2022, at 12:08, David Reiser 
mailto:dbrei...@icloud.com>> wrote:
The entities mentioned in this thread are all Perl modules, so they are 
installed via CPAN.

I usually launch CPAN with ’sudo cpan’ so I can get help when I botch a command.

Once in cpan, ‘install Mozilla::CA’ should work.
--
Dave Reiser
dbrei...@icloud.com





On Feb 10, 2022, at 1:51 PM, smad...@hotmail.com 
wrote:

Hi David,


 Per your suggestion, I tried  to install the certificate collection by typing 
“sudo install Mozilla::CA” and got the following:

dwa1@dwa1 ~ % sudo install Mozilla::CA
Password:
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
dwa1@dwa1 ~ %

Obviously I need more or different information to get and install Mozilla::CA.  
I’m really out of my element here so if you can provide the actual command I 
need to use I would appreciate it.



On Feb 9, 2022, at 22:39, David Reiser 
mailto:dbrei...@icloud.com>> wrote:

Matthias Fasching noted last summer that he needed to install Mozilla::CA to 
get quotes working for him in Big Sur.

That missing certificate collection was what had been keeping my office mac 
from being able retrieve quotes for at least a couple Gnucash versions.
That change was after dealing with the B::Keywords test failures and needing to 
upgrade the Test2 module.


--
Dave Reiser
dbrei...@icloud.com





On Feb 9, 2022, at 11:51 PM, john 
mailto:jra...@ceridwen.us>> wrote:

Your dump looks pretty much llke a rerun of the same problem except that now 
you also have an SSL certificate problem.

/usr/bin is right where you'd expect it, but you can't see it with Finder, only 
from the terminal. For example you can type
  ls -l /usr/bin/make
and if it's there get back something like
  -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*

Did you install Xcode in /Applications without messing with the name? If not 
you might try
 sudo xcode-select -s /Path/to Xcode.app
making the obvious substitution.
Or, since something seems confused, maybe run that even if you *did* install it 
in /Applications.

Since make is in the Xcode bundle you might be able to work around the problem 
for Finance::Quote with
 export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
and then running gnc-fq-update again.

Regards,
John Ralls


On Feb 9, 2022, at 8:05 PM, dennis adams 
mailto:smad...@hotmail.com>> wrote:

John, thanks for the response.  I believe I have the full XCode (32GB worth) 
but don’t know for sure since I don’t use it.  I only have it because of GC.  I 
hadn’t opened it but did after your response and told it to install the 
“additional components”.  After that, I ran the “gnc-fq-update” command again 
and got the “You need to install the following Perl modules: Finance::Quote” 
result when I ran a check, like before.  Terminal info is attached.  (Note: I 
changed the GC app name from Gnucash 4.8.app to just Gnucash.app so you will 
see that change in the sudo command line).

You stated that on your mac, “xcrun” and “make”are in the /usr/bin.  Not sure 
where that is but I right clicked the xCode app and then clicked show contents. 
 With this following path: xCode.app/Contents/Developer/usr/bin   I did find 
“make” but did not find “xcrun”.  Is that the correct location where they 
should be?  There are a lot of other xc—— commands but no “xcrun”

You stated I could install command-line tools by running  “xcode-select 
—install”.  Even though I think I have the full xCode with 32.12 GB, I went 
ahead and ran the command.  Since I am on slow DSL (2.87Mbps) it showed 215 
hours remaining to download so I stopped it.

Any other thoughts or ways to get “xcrun”?







On Feb 9, 2022, at 18:54, john mailto:jra...@ceridwen.us> 
> wrote:



On Feb 9, 2022, at 1:36 PM, dennis adams 
mailto:smad...@hotmail.com> > 
wrote:

Upgraded to Monterey (V12.2) and got black screen for GC.  Read mailing list 
and saw  where I needed to get GC 4.8 which I did.  Installed 4.8 and GC came 
up and displayed correctly but am now unable to get stock quotes.  The Price 
Database Get Quotes button is greyed out.

Went to Applications, GC 4.8, Contents, Resources, bin and clicked on 
gnc-fq-check which said:

“Last login: Wed Feb 9 13:18:07 on ttys000
/Applications/Gnucash\ 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread John Ralls
Dennis,

I guess you missed the line "making the obvious substitution" right after the 
Xcode-select line, or the substitution isn't that obvious. Since you did 
install it as Xcode.app in /Applications, you'd say
  sudo xcode-select -s /Applications/Xcode.app
You can check that it worked with 
  xcode-select -p
which should print 
  /Applications/Xcode.app/Contents/Developer

No, /Library/Developer/CommandLineTools exists only if you've installed command 
line tools by running
  sudo xcode-select --install
which you bailed out of because of the long download time. 

I dug into /usr/bin/make a bit. It's not make, so it must be an xcrun launcher, 
which if your Xcode-select path is pointed at the uninstalled command line 
tools folder would explain the error messages and of course it's finding 
/usr/bin/make first. I should have recognized that and told you
 export PATH=“/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"
instead. Of course it wouldn't have mattered because of the /Path/to/ 
substitution misunderstanding.

Regards,
John Ralls


> On Feb 10, 2022, at 10:51 AM, smad...@hotmail.com wrote:
> 
> John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and got 
> the following which I guess says I have both “make” and “xcrun”.
> 
> Last login: Thu Feb 10 07:21:15 on console 
> 
> dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 
> 
> ls -l /usr/bin/make
> root wheel 167072 Jan 22 00:42 /usr/bin/make 
> 
> ls -l /usr/bin/xcrun
> root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 
> 
> One of the errors at the end of a previous terminal output for 
> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 
> 
> xcrun: error: invalid active developer path 
> (/Library/Developer/CommandLineTools ), missing xcrun at: 
> /Library/Developer/CommandLineTools/usr/bin/xcrun 
> 
> In Finder, I went to /Library/Developer but there was no “Command Line Tools 
> folder.  I know you said I wouldn’t see /usr/bin with Finder, but shouldn’t 
> there at least be a Command Line Tools folder under Developer?
> 
> Regarding installation.  When I installed Xcode, I let it install where it 
> wanted to (Applications) without changing the name.  I did what you suggested 
> and ran “sudo xcode-select -s /Path/to Xcode.app” anyway with the following 
> results:
> 
> dwa1@dwa1 ~ % sudo xcode-select -s /Path/to Xcode.app Password:
> xcode-select: error: invalid argument 'Xcode.app'
> Usage: xcode-select [options] 
> 
> Print or change the path to the active developer directory. This directory 
> controls which tools are used for the Xcode command line tools (for example, 
> xcodebuild) as well as the BSD development commands (such as cc and make). 
> 
> Options:
> -h, --help
> -p, --print-path
> -s , --switch  --install 
> 
> developer tools -v, --version -r, --reset 
> 
> dwa1@dwa1 ~ % 
> 
> print this help message and exit
> print the path of the active developer directory set the path for the active 
> developer directory open a dialog for installation of the command line 
> 
> print the xcode-select version
> reset to the default command line tools path 
> 
> I then tried to run “sudo xcode-select -p —print-path Xcode.app” and got the 
> same “error: invalid argument ‘Xcode.app’
> 
> I then ran “export PATH=“$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin" 
> and got a “dquote>” prompt.  I then typed in “gnc-fq-update”, “sudo 
> gnc-fq-update’, “run gnc-fq-update” and the full path 
> “/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” sequentially, 
> all with the same result, it just reverted to the “dquote>” prompt.  So 
> apparently, I am not doing this correctly.  
> 
> 
> 
> 
> 
>> On Feb 9, 2022, at 21:51, john  wrote:
>> 
>> Your dump looks pretty much llke a rerun of the same problem except that now 
>> you also have an SSL certificate problem.
>> 
>> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
>> only from the terminal. For example you can type
>>ls -l /usr/bin/make
>> and if it's there get back something like
>>-rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
>> 
>> Did you install Xcode in /Applications without messing with the name? If not 
>> you might try
>>   sudo xcode-select -s /Path/to Xcode.app
>> making the obvious substitution. 
>> Or, since something seems confused, maybe run that even if you *did* install 
>> it in /Applications.
>> 
>> Since make is in the Xcode bundle you might be able to work around the 
>> problem for Finance::Quote with 
>>   export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
>> and then running gnc-fq-update again.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>>> On Feb 9, 2022, at 8:05 PM, dennis adams  wrote:
>>> 
>>> John, thanks for the response.  I believe I have the full XCode (32GB 
>>> worth) but don’t know for sure since I don’t use it.  I only have it 
>>> because of GC.  I hadn’t opened it but did after your response and told it 
>>> to 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread David Reiser via gnucash-user
The entities mentioned in this thread are all Perl modules, so they are 
installed via CPAN.

I usually launch CPAN with ’sudo cpan’ so I can get help when I botch a command.

Once in cpan, ‘install Mozilla::CA’ should work.
--
Dave Reiser
dbrei...@icloud.com





> On Feb 10, 2022, at 1:51 PM, smad...@hotmail.com wrote:
> 
> Hi David,
> 
>  Per your suggestion, I tried  to install the certificate collection by 
> typing “sudo install Mozilla::CA” and got the following:
> 
> dwa1@dwa1 ~ % sudo install Mozilla::CA
> Password:
> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>[-o owner] file1 file2
>install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>[-o owner] file1 ... fileN directory
>install -d [-v] [-g group] [-m mode] [-o owner] directory ...
> dwa1@dwa1 ~ % 
> 
> Obviously I need more or different information to get and install 
> Mozilla::CA.  I’m really out of my element here so if you can provide the 
> actual command I need to use I would appreciate it.  
> 
> 
> 
>> On Feb 9, 2022, at 22:39, David Reiser > > wrote:
>> 
>> Matthias Fasching noted last summer that he needed to install Mozilla::CA to 
>> get quotes working for him in Big Sur.
>> 
>> That missing certificate collection was what had been keeping my office mac 
>> from being able retrieve quotes for at least a couple Gnucash versions. 
>> That change was after dealing with the B::Keywords test failures and needing 
>> to upgrade the Test2 module.
>> 
>> 
>> --
>> Dave Reiser
>> dbrei...@icloud.com 
>> 
>> 
>> 
>> 
>> 
>>> On Feb 9, 2022, at 11:51 PM, john >> > wrote: 
>>> 
>>> Your dump looks pretty much llke a rerun of the same problem except that 
>>> now you also have an SSL certificate problem.
>>> 
>>> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
>>> only from the terminal. For example you can type
>>>   ls -l /usr/bin/make
>>> and if it's there get back something like
>>>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
>>> 
>>> Did you install Xcode in /Applications without messing with the name? If 
>>> not you might try
>>>  sudo xcode-select -s /Path/to Xcode.app
>>> making the obvious substitution. 
>>> Or, since something seems confused, maybe run that even if you *did* 
>>> install it in /Applications.
>>> 
>>> Since make is in the Xcode bundle you might be able to work around the 
>>> problem for Finance::Quote with 
>>>  export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
>>> and then running gnc-fq-update again.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>> 
 On Feb 9, 2022, at 8:05 PM, dennis adams >>> > wrote:
 
 John, thanks for the response.  I believe I have the full XCode (32GB 
 worth) but don’t know for sure since I don’t use it.  I only have it 
 because of GC.  I hadn’t opened it but did after your response and told it 
 to install the “additional components”.  After that, I ran the 
 “gnc-fq-update” command again and got the “You need to install the 
 following Perl modules: Finance::Quote” result when I ran a check, like 
 before.  Terminal info is attached.  (Note: I changed the GC app name from 
 Gnucash 4.8.app to just Gnucash.app so you will see that change in the 
 sudo command line). 
 
 You stated that on your mac, “xcrun” and “make”are in the /usr/bin.  Not 
 sure where that is but I right clicked the xCode app and then clicked show 
 contents.  With this following path: xCode.app/Contents/Developer/usr/bin  
  I did find “make” but did not find “xcrun”.  Is that the correct location 
 where they should be?  There are a lot of other xc—— commands but no 
 “xcrun”
 
 You stated I could install command-line tools by running  “xcode-select 
 —install”.  Even though I think I have the full xCode with 32.12 GB, I 
 went ahead and ran the command.  Since I am on slow DSL (2.87Mbps) it 
 showed 215 hours remaining to download so I stopped it.  
 
 Any other thoughts or ways to get “xcrun”?
 
 
 
 
 
 
 
> On Feb 9, 2022, at 18:54, john    >> wrote:
> 
> 
> 
>> On Feb 9, 2022, at 1:36 PM, dennis adams >  > >> wrote:
>> 
>> Upgraded to Monterey (V12.2) and got black screen for GC.  Read mailing 
>> list and saw  where I needed to get GC 4.8 which I did.  Installed 4.8 
>> and GC came up and displayed correctly but am now unable to get stock 
>> quotes.  The Price Database Get Quotes button is greyed out.
>> 
>> Went to Applications, GC 4.8, Contents, Resources, bin and clicked on 
>> gnc-fq-check which 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread smada46
Hi David,

 Per your suggestion, I tried  to install the certificate collection by typing 
“sudo install Mozilla::CA” and got the following:

dwa1@dwa1 ~ % sudo install Mozilla::CA
Password:
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
dwa1@dwa1 ~ % 

Obviously I need more or different information to get and install Mozilla::CA.  
I’m really out of my element here so if you can provide the actual command I 
need to use I would appreciate it.  



> On Feb 9, 2022, at 22:39, David Reiser  wrote:
> 
> Matthias Fasching noted last summer that he needed to install Mozilla::CA to 
> get quotes working for him in Big Sur.
> 
> That missing certificate collection was what had been keeping my office mac 
> from being able retrieve quotes for at least a couple Gnucash versions. 
> That change was after dealing with the B::Keywords test failures and needing 
> to upgrade the Test2 module.
> 
> 
> --
> Dave Reiser
> dbrei...@icloud.com 
> 
> 
> 
> 
> 
>> On Feb 9, 2022, at 11:51 PM, john > > wrote: 
>> 
>> Your dump looks pretty much llke a rerun of the same problem except that now 
>> you also have an SSL certificate problem.
>> 
>> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
>> only from the terminal. For example you can type
>>   ls -l /usr/bin/make
>> and if it's there get back something like
>>   -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
>> 
>> Did you install Xcode in /Applications without messing with the name? If not 
>> you might try
>>  sudo xcode-select -s /Path/to Xcode.app
>> making the obvious substitution. 
>> Or, since something seems confused, maybe run that even if you *did* install 
>> it in /Applications.
>> 
>> Since make is in the Xcode bundle you might be able to work around the 
>> problem for Finance::Quote with 
>>  export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
>> and then running gnc-fq-update again.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>>> On Feb 9, 2022, at 8:05 PM, dennis adams >> > wrote:
>>> 
>>> John, thanks for the response.  I believe I have the full XCode (32GB 
>>> worth) but don’t know for sure since I don’t use it.  I only have it 
>>> because of GC.  I hadn’t opened it but did after your response and told it 
>>> to install the “additional components”.  After that, I ran the 
>>> “gnc-fq-update” command again and got the “You need to install the 
>>> following Perl modules: Finance::Quote” result when I ran a check, like 
>>> before.  Terminal info is attached.  (Note: I changed the GC app name from 
>>> Gnucash 4.8.app to just Gnucash.app so you will see that change in the sudo 
>>> command line). 
>>> 
>>> You stated that on your mac, “xcrun” and “make”are in the /usr/bin.  Not 
>>> sure where that is but I right clicked the xCode app and then clicked show 
>>> contents.  With this following path: xCode.app/Contents/Developer/usr/bin   
>>> I did find “make” but did not find “xcrun”.  Is that the correct location 
>>> where they should be?  There are a lot of other xc—— commands but no “xcrun”
>>> 
>>> You stated I could install command-line tools by running  “xcode-select 
>>> —install”.  Even though I think I have the full xCode with 32.12 GB, I went 
>>> ahead and ran the command.  Since I am on slow DSL (2.87Mbps) it showed 215 
>>> hours remaining to download so I stopped it.  
>>> 
>>> Any other thoughts or ways to get “xcrun”?
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
 On Feb 9, 2022, at 18:54, john >>>  >> wrote:
 
 
 
> On Feb 9, 2022, at 1:36 PM, dennis adams    >> wrote:
> 
> Upgraded to Monterey (V12.2) and got black screen for GC.  Read mailing 
> list and saw  where I needed to get GC 4.8 which I did.  Installed 4.8 
> and GC came up and displayed correctly but am now unable to get stock 
> quotes.  The Price Database Get Quotes button is greyed out.
> 
> Went to Applications, GC 4.8, Contents, Resources, bin and clicked on 
> gnc-fq-check which said:
> 
> “Last login: Wed Feb 9 13:18:07 on ttys000
> /Applications/Gnucash\ 4.8.app/Contents/Resources/bin/gnc-fq-check ; 
> exit; dwa1@dwa1 ~ % /Applications/Gnucash\ 
> 4.8.app/Contents/Resources/bin/gnc-fq-check
> ; exit;
> You need to install the following Perl modules: Finance::Quote
> Use your system's package manager to install them, or run 'gnc-fq-update' 
> as root.
> missing-lib
> Saving session...
> ...copying shared history...
> 

Re: [GNC] No Stock Quotes - OS Monterey, Gnucash 4.8(Build ID: 4.8a+(2021-09-28))

2022-02-10 Thread smada46
John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and got 
the following which I guess says I have both “make” and “xcrun”.

Last login: Thu Feb 10 07:21:15 on console 

dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 

ls -l /usr/bin/make
root wheel 167072 Jan 22 00:42 /usr/bin/make 

ls -l /usr/bin/xcrun
root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 

One of the errors at the end of a previous terminal output for 
“/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 

xcrun: error: invalid active developer path 
(/Library/Developer/CommandLineTools ), missing xcrun at: 
/Library/Developer/CommandLineTools/usr/bin/xcrun 

In Finder, I went to /Library/Developer but there was no “Command Line Tools 
folder.  I know you said I wouldn’t see /usr/bin with Finder, but shouldn’t 
there at least be a Command Line Tools folder under Developer?

Regarding installation.  When I installed Xcode, I let it install where it 
wanted to (Applications) without changing the name.  I did what you suggested 
and ran “sudo xcode-select -s /Path/to Xcode.app” anyway with the following 
results:

dwa1@dwa1 ~ % sudo xcode-select -s /Path/to Xcode.app Password:
xcode-select: error: invalid argument 'Xcode.app'
Usage: xcode-select [options] 

Print or change the path to the active developer directory. This directory 
controls which tools are used for the Xcode command line tools (for example, 
xcodebuild) as well as the BSD development commands (such as cc and make). 

Options:
-h, --help
-p, --print-path
-s , --switch  --install 

developer tools -v, --version -r, --reset 

dwa1@dwa1 ~ % 

print this help message and exit
print the path of the active developer directory set the path for the active 
developer directory open a dialog for installation of the command line 

print the xcode-select version
reset to the default command line tools path 

I then tried to run “sudo xcode-select -p —print-path Xcode.app” and got the 
same “error: invalid argument ‘Xcode.app’

I then ran “export PATH=“$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin" 
and got a “dquote>” prompt.  I then typed in “gnc-fq-update”, “sudo 
gnc-fq-update’, “run gnc-fq-update” and the full path 
“/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” sequentially, 
all with the same result, it just reverted to the “dquote>” prompt.  So 
apparently, I am not doing this correctly.  





> On Feb 9, 2022, at 21:51, john  wrote:
> 
> Your dump looks pretty much llke a rerun of the same problem except that now 
> you also have an SSL certificate problem.
> 
> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
> only from the terminal. For example you can type
>ls -l /usr/bin/make
> and if it's there get back something like
>-rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
> 
> Did you install Xcode in /Applications without messing with the name? If not 
> you might try
>   sudo xcode-select -s /Path/to Xcode.app
> making the obvious substitution. 
> Or, since something seems confused, maybe run that even if you *did* install 
> it in /Applications.
> 
> Since make is in the Xcode bundle you might be able to work around the 
> problem for Finance::Quote with 
>   export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
> and then running gnc-fq-update again.
> 
> Regards,
> John Ralls
> 
> 
>> On Feb 9, 2022, at 8:05 PM, dennis adams > > wrote:
>> 
>> John, thanks for the response.  I believe I have the full XCode (32GB worth) 
>> but don’t know for sure since I don’t use it.  I only have it because of GC. 
>>  I hadn’t opened it but did after your response and told it to install the 
>> “additional components”.  After that, I ran the “gnc-fq-update” command 
>> again and got the “You need to install the following Perl modules: 
>> Finance::Quote” result when I ran a check, like before.  Terminal info is 
>> attached.  (Note: I changed the GC app name from Gnucash 4.8.app to just 
>> Gnucash.app so you will see that change in the sudo command line). 
>>  
>> You stated that on your mac, “xcrun” and “make”are in the /usr/bin.  Not 
>> sure where that is but I right clicked the xCode app and then clicked show 
>> contents.  With this following path: xCode.app/Contents/Developer/usr/bin   
>> I did find “make” but did not find “xcrun”.  Is that the correct location 
>> where they should be?  There are a lot of other xc—— commands but no “xcrun”
>> 
>> You stated I could install command-line tools by running  “xcode-select 
>> —install”.  Even though I think I have the full xCode with 32.12 GB, I went 
>> ahead and ran the command.  Since I am on slow DSL (2.87Mbps) it showed 215 
>> hours remaining to download so I stopped it.  
>> 
>> Any other thoughts or ways to get “xcrun”?
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Feb 9, 2022, at 18:54, john >> > wrote:
>>> 
>>> 
>>> 
 On Feb 9, 2022, at 1:36 

Re: [GNC] Settings in environment.local does not work

2022-02-10 Thread john



> On Feb 9, 2022, at 9:07 PM, redfrog2...@outlook.com wrote:
> 
> Gnucash Developers & Maintainers:
> 
> 
> 
> Hello! I am a Chinese user of your product. Recently, I have changed 
> 
> language settings, and placed them in my custom environment.local file.
> 
> However, I found that display language in gnucash are still not changed.
> 
> Could you please help me solving this problem?
> 
> 
> 
>Yours,
> 
> 
> 
> Bite Gao
> 
> Jan 28th, 2022
> 
> Attachment:
> content in environment.local:
> # Gnucash's language settings:
> LANG=zh_CN
> LANGUAGE=en_US

Hi,

With those settings I'd expect that GnuCash would display the UI in English. Is 
that not what you're seeing? What operating system are you using and what 
version of GnuCash is this?

Regards,
John Ralls


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Discount cards question

2022-02-10 Thread Mike via gnucash-user

OK. I didn't think of that.

On 2/8/22 18:41, Adrien Monteleone wrote:

I record them as Current Assets and decrease them as I spend them.

I record the receipt of them as Gifts Received. (which in some 
jurisdictions is exempt from greedy hands up to a reasonably high limit)


Regards,
Adrien

On 2/8/22 6:02 PM, Mike via gnucash-user wrote:
What is the correct account type for gift cards or coupons? Do you 
code them as a form of income?


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.

-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.