[GNC] Finance-Quote 1.51 released!

2021-07-04 Thread Bruce Schuck
New version 1.51 of Finance-Quote is available with the following changes:

* Fix bugs in t/fq-object-methods.t
* Add code to hide warning in t/currency_lookup.t

Authors:
  - Ben Hemming 
  - Bradley Dean 
  - Brent Neal 
  - Bruce P Schuck 
  - Caleb Begly 
  - CleanShed <72849657+cleans...@users.noreply.github.com>
  - David Hampton 
  - Diego Marcolungo 
  - Eelco Dolstra 
  - Emmanuel Di Pretoro 
  - Erik Colson 
  - Florian Schlichting 
  - Henrik Ahlgren 
  - Hiranya Samarasekera 
  - Jacinta Richardson 
  - Jalon Avens 
  - Jean-Marie Pacquet 
  - John Haiducek 
  - Lance Wicks 
  - Linas Vepstas 
  - Martin Kompf 
  - Mike Alexander 
  - Paul Fenwick 
  - Paul Howarth 
  - Pawel Konieczny 
  - Ross Peachey 
  - Sam Morris 
  - Sigve Indregard 
  - Stephan Ebelt 
  - Vinay S Shastry 
  - Vincent Lucarelli 
  - alex314159 
  - e-dorigatti 
  - goodvibes2 
  - gregor herrmann 
  - jvolkening 
  - linas 
  - x42x64 
___
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] Finance Quote Not working on MacBook Air M1 chip

2021-07-04 Thread John Ralls
Super. I guess you needed to install JSON::Parse and maybe other dependencies 
in the Rosetta instance. No doubt it's lost now but I wonder if during the 
Rosetta install cpan saw that it was already installed and couldn't tell that 
it was for the wrong architecture.

Regards,
John Ralls


> On Jul 3, 2021, at 11:35 PM, Deepti Randad  wrote:
> 
> Hey John - it worked after some trouble shooting - now Finance:Quote is 
> “recognised” by the GnuCash GUI - Again - Thanks for your help !!
> 
> Regards,
> Kamlesh
> 
>> On 04-Jul-2021, at 11:52 AM, Deepti Randad  wrote:
>> 
>> I was able to create a “terminal instance” to run under Rosetta2 and also 
>> then was able to install Finance::Quote using gnc-fq-update.
>> 
>> However, when I tried to run the command "echo '(yahoo_json "CSCO")' | 
>> ./gnc-fq-helper”, I get a bunch of errors - as follows: (I have not had 
>> chance to troubleshoot these yet, maybe next weekend)
>> 
>> Thanks John for your guidance so far.
>> 
>> 
>> Can't load 
>> '/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle' 
>> for module JSON::Parse: 
>> dlopen(/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle,
>>  1): no suitable image found.  Did find:
>>  
>> /Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
>> mach-o, but wrong architecture
>>  
>> /Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
>> mach-o, but wrong architecture at /System/Library/Perl/5.30/XSLoader.pm line 
>> 96.
>>  at /Library/Perl/5.30/darwin-thread-multi-2level/JSON/Parse.pm line 23.
>> Compilation failed in require at 
>> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
>> BEGIN failed--compilation aborted at 
>> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
>> Compilation failed in require at (eval 301) line 1.
>> BEGIN failed--compilation aborted at (eval 301) line 1.
>>  at ./gnc-fq-helper line 325.
>> Can't locate object method "methods" via package 
>> "Finance::Quote::MorningstarAU" at /Library/Perl/5.30/Finance/Quote.pm line 
>> 120.
>> 
>> 
>>> On 01-Jul-2021, at 10:09 PM, John Ralls  wrote:
>>> 
>>> OK. I suspect that it's because GnuCash is running under Rosetta2 and that 
>>> forces the Intel perl. Try following the instructions in 
>>> https://osxdaily.com/2020/11/18/how-run-homebrew-x86-terminal-apple-silicon-mac/
>>>  to create a Terminal instance that runs under Rosetta2 and use that to run 
>>> gnc-fq-update.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>>> 
>>> 
 On Jun 30, 2021, at 5:31 AM, Deepti Randad  wrote:
 
 Hallo John - Many Thanks for your response.
 
 I ran the GUI from the terminal command prompt as you have suggested - 
 however, the problem remains the same - the application does not “get” / 
 “find” Finance::Quote.
 
 Regards,
 Kamlesh
 
 Regards,
 Kamlesh
 
> On 29-Jun-2021, at 8:43 AM, John Ralls  wrote:
> 
> /Applications/Gnucash.app/Contents/MacOS/Gnucash 
 
>>> 
>> 
> 

___
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] Finance Quote Not working on MacBook Air M1 chip

2021-07-04 Thread Deepti Randad via gnucash-user
Hey John - it worked after some trouble shooting - now Finance:Quote is 
“recognised” by the GnuCash GUI - Again - Thanks for your help !!

Regards,
Kamlesh

> On 04-Jul-2021, at 11:52 AM, Deepti Randad  wrote:
> 
> I was able to create a “terminal instance” to run under Rosetta2 and also 
> then was able to install Finance::Quote using gnc-fq-update.
> 
> However, when I tried to run the command "echo '(yahoo_json "CSCO")' | 
> ./gnc-fq-helper”, I get a bunch of errors - as follows: (I have not had 
> chance to troubleshoot these yet, maybe next weekend)
> 
> Thanks John for your guidance so far.
> 
> 
> Can't load 
> '/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle' 
> for module JSON::Parse: 
> dlopen(/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle,
>  1): no suitable image found.  Did find:
>   
> /Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
> mach-o, but wrong architecture
>   
> /Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
> mach-o, but wrong architecture at /System/Library/Perl/5.30/XSLoader.pm line 
> 96.
>  at /Library/Perl/5.30/darwin-thread-multi-2level/JSON/Parse.pm line 23.
> Compilation failed in require at 
> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
> BEGIN failed--compilation aborted at 
> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
> Compilation failed in require at (eval 301) line 1.
> BEGIN failed--compilation aborted at (eval 301) line 1.
>  at ./gnc-fq-helper line 325.
> Can't locate object method "methods" via package 
> "Finance::Quote::MorningstarAU" at /Library/Perl/5.30/Finance/Quote.pm line 
> 120.
> 
> 
>> On 01-Jul-2021, at 10:09 PM, John Ralls > > wrote:
>> 
>> OK. I suspect that it's because GnuCash is running under Rosetta2 and that 
>> forces the Intel perl. Try following the instructions in 
>> https://osxdaily.com/2020/11/18/how-run-homebrew-x86-terminal-apple-silicon-mac/
>>  
>> 
>>  to create a Terminal instance that runs under Rosetta2 and use that to run 
>> gnc-fq-update.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>> 
>>> On Jun 30, 2021, at 5:31 AM, Deepti Randad >> > wrote:
>>> 
>>> Hallo John - Many Thanks for your response.
>>> 
>>> I ran the GUI from the terminal command prompt as you have suggested - 
>>> however, the problem remains the same - the application does not “get” / 
>>> “find” Finance::Quote.
>>> 
>>> Regards,
>>> Kamlesh
>>> 
>>> Regards,
>>> Kamlesh
>>> 
 On 29-Jun-2021, at 8:43 AM, John Ralls >>> > wrote:
 
 /Applications/Gnucash.app/Contents/MacOS/Gnucash 
>>> 
>> 
> 

___
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] Finance Quote Not working on MacBook Air M1 chip

2021-07-04 Thread Deepti Randad via gnucash-user
I was able to create a “terminal instance” to run under Rosetta2 and also then 
was able to install Finance::Quote using gnc-fq-update.

However, when I tried to run the command "echo '(yahoo_json "CSCO")' | 
./gnc-fq-helper”, I get a bunch of errors - as follows: (I have not had chance 
to troubleshoot these yet, maybe next weekend)

Thanks John for your guidance so far.


Can't load 
'/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle' 
for module JSON::Parse: 
dlopen(/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle,
 1): no suitable image found.  Did find:

/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
mach-o, but wrong architecture

/Library/Perl/5.30/darwin-thread-multi-2level/auto/JSON/Parse/Parse.bundle: 
mach-o, but wrong architecture at /System/Library/Perl/5.30/XSLoader.pm line 96.
 at /Library/Perl/5.30/darwin-thread-multi-2level/JSON/Parse.pm line 23.
Compilation failed in require at 
/Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
BEGIN failed--compilation aborted at 
/Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27.
Compilation failed in require at (eval 301) line 1.
BEGIN failed--compilation aborted at (eval 301) line 1.
 at ./gnc-fq-helper line 325.
Can't locate object method "methods" via package 
"Finance::Quote::MorningstarAU" at /Library/Perl/5.30/Finance/Quote.pm line 120.


> On 01-Jul-2021, at 10:09 PM, John Ralls  wrote:
> 
> OK. I suspect that it's because GnuCash is running under Rosetta2 and that 
> forces the Intel perl. Try following the instructions in 
> https://osxdaily.com/2020/11/18/how-run-homebrew-x86-terminal-apple-silicon-mac/
>  to create a Terminal instance that runs under Rosetta2 and use that to run 
> gnc-fq-update.
> 
> Regards,
> John Ralls
> 
> 
> 
>> On Jun 30, 2021, at 5:31 AM, Deepti Randad  wrote:
>> 
>> Hallo John - Many Thanks for your response.
>> 
>> I ran the GUI from the terminal command prompt as you have suggested - 
>> however, the problem remains the same - the application does not “get” / 
>> “find” Finance::Quote.
>> 
>> Regards,
>> Kamlesh
>> 
>> Regards,
>> Kamlesh
>> 
>>> On 29-Jun-2021, at 8:43 AM, John Ralls  wrote:
>>> 
>>> /Applications/Gnucash.app/Contents/MacOS/Gnucash 
>> 
> 

___
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.