Re: [GNC] gnucash: Not able to get Online Quotes to work

2018-11-05 Thread John Ralls

Those both show catastrophic failure of GnuCash to even start, so there’s 
something wrong with the way you’re trying to start GnuCash from the command 
line. There may be a clue there: You can run gnc-fq-dump but not GnuCash, so 
GnuCash when launched the usual way must be getting a different environment, 
one that doesn’t get the same perl includes that your command-line one does.

Regards,
John Ralls


> On Nov 6, 2018, at 6:18 AM, Joe Peters  wrote:
> 
> Hello,
> Doing some further digging, trying to figure this problem out; why online 
> quotes will not work for me.  I ran gnucash --debug.  This is the .trace file 
> contents.  Would anyone know if these warning may be causing the issue?
> 
> * 13:52:54  INFO  [main] System locale returned en_CA.UTF-8
> * 13:52:54  INFO  [main] Effective locale set to en_CA.UTF-8.
> * 13:52:54  INFO  [gnc_hook_lookup] no hook lists
> * 13:52:54  WARN  Could not locate module gnucash/app-utils 
> interface v.0
> * 13:52:54  WARN  Could not locate module gnucash/engine 
> interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/register/ledger-core interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/register/register-core interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/register/register-gnome interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/import-export/qif-import interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/import-export/ofx interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/import-export/csv-import interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/import-export/csv-export interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/import-export/log-replay interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/import-export/aqbanking interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/report-system interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/stylesheets interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/standard-reports interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/utility-reports interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/locale-specific/us interface v.0
> * 13:52:54  WARN  Could not locate module 
> gnucash/report/report-gnome interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/business-gnome interface v.0
> * 13:52:54 MESSG  Could not locate optional module gnucash/gtkmm 
> interface v.0
> * 13:52:54 MESSG  Could not locate optional module gnucash/python 
> interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/plugins/bi_import interface v.0
> * 13:52:54 MESSG  Could not locate optional module 
> gnucash/plugins/customer_import interface v.0
> * 13:52:54  WARN  GnuCash engine failed to initialize.  Exiting.
> 
> 
> 
> Also, when I run gnucash --debug --add-price-quotes HomeFinance.gnucash 
> In terminal these are the msg's I get (not sure I ran it correctly?).  I have 
> no idea what this means?
> 
> Backtrace:
> In ice-9/boot-9.scm:
> 160: 8 [catch #t # ...]
> In unknown file:
>   ?: 7 [apply-smob/1 #]
>   ?: 6 [call-with-input-string "(gnc:price-quotes-install-sources)" ...]
> In ice-9/boot-9.scm:
> 2404: 5 [save-module-excursion # ice-9/eval-string.scm:65:9 ()>]
> In ice-9/eval-string.scm:
>  44: 4 [read-and-eval # #:lang ...]
>  37: 3 [lp (gnc:price-quotes-install-sources)]
> In ice-9/eval.scm:
> 386: 2 [eval # ()]
> 393: 1 [eval # ()]
> In unknown file:
>   ?: 0 [memoize-variable-access! # #]
> 
> ERROR: In procedure memoize-variable-access!:
> ERROR: Unbound variable: gnc:price-quotes-install-sources
> 
> Any suggestions or help would be great.
> 
> Best regards,
> Joe
> 
> 
> From: gnucash-user 
>  on behalf of Joe 
> Peters 
> Sent: November 4, 2018 3:24 PM
> To: gnucash-user@gnucash.org
> Subject: [GNC] gnucash: Not able to get Online Quotes to work
> 
> When trying to edit a security, in the 'Edit Security' window, under 'Quote 
> Source Information', everything is grayed out and there is a warning: '> 
> Warning: Finance::Quote not installed properly. <.
> 
> 
> GnuCash Help|About
> Version: 3.2
> Build ID: 3.2+ (2018-06-24)
> Finance::Quote: -
> 
> 
>  *   I am running linux mint 19 cinnamon
> 
>  *   I have set ALPHAVANTAGE_API_KEY=*## in 
> /etc/gnucash/environment. Where ### is my actual key number.*
> 
>  *   I have the same key number entered in the preferences tab of gnucash.
>  *   I can run (in terminal window) (i exported the ALPHAVANTAGE_API_KEY in 
> the .bashrc file)
> 
> gnc-fq-dump alphavantage msft
> 
> Finance::Quote fields Gnucash uses:
> 
> symbol: msft <=== required
> 
> date: 11/01/2018 <=== recommended
> 
> currency: USD <=== required
> 
> last: 106.3700 <=\
> 
> nav: <=== one of these
> 
> price: 

Re: [GNC] gnucash: Not able to get Online Quotes to work

2018-11-05 Thread Joe Peters
Hello,
Doing some further digging, trying to figure this problem out; why online 
quotes will not work for me.  I ran gnucash --debug.  This is the .trace file 
contents.  Would anyone know if these warning may be causing the issue?

* 13:52:54  INFO  [main] System locale returned en_CA.UTF-8
* 13:52:54  INFO  [main] Effective locale set to en_CA.UTF-8.
* 13:52:54  INFO  [gnc_hook_lookup] no hook lists
* 13:52:54  WARN  Could not locate module gnucash/app-utils 
interface v.0
* 13:52:54  WARN  Could not locate module gnucash/engine interface 
v.0
* 13:52:54  WARN  Could not locate module 
gnucash/register/ledger-core interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/register/register-core interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/register/register-gnome interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/import-export/qif-import interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/import-export/ofx interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/import-export/csv-import interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/import-export/csv-export interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/import-export/log-replay interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/import-export/aqbanking interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/report-system interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/stylesheets interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/standard-reports interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/utility-reports interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/locale-specific/us interface v.0
* 13:52:54  WARN  Could not locate module 
gnucash/report/report-gnome interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/business-gnome interface v.0
* 13:52:54 MESSG  Could not locate optional module gnucash/gtkmm 
interface v.0
* 13:52:54 MESSG  Could not locate optional module gnucash/python 
interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/plugins/bi_import interface v.0
* 13:52:54 MESSG  Could not locate optional module 
gnucash/plugins/customer_import interface v.0
* 13:52:54  WARN  GnuCash engine failed to initialize.  Exiting.



Also, when I run gnucash --debug --add-price-quotes HomeFinance.gnucash In 
terminal these are the msg's I get (not sure I ran it correctly?).  I have no 
idea what this means?

Backtrace:
In ice-9/boot-9.scm:
 160: 8 [catch #t # ...]
In unknown file:
   ?: 7 [apply-smob/1 #]
   ?: 6 [call-with-input-string "(gnc:price-quotes-install-sources)" ...]
In ice-9/boot-9.scm:
2404: 5 [save-module-excursion #]
In ice-9/eval-string.scm:
  44: 4 [read-and-eval # #:lang ...]
  37: 3 [lp (gnc:price-quotes-install-sources)]
In ice-9/eval.scm:
 386: 2 [eval # ()]
 393: 1 [eval # ()]
In unknown file:
   ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: gnc:price-quotes-install-sources

Any suggestions or help would be great.

Best regards,
Joe


From: gnucash-user  
on behalf of Joe Peters 
Sent: November 4, 2018 3:24 PM
To: gnucash-user@gnucash.org
Subject: [GNC] gnucash: Not able to get Online Quotes to work

When trying to edit a security, in the 'Edit Security' window, under 'Quote 
Source Information', everything is grayed out and there is a warning: '> 
Warning: Finance::Quote not installed properly. <.


GnuCash Help|About
Version: 3.2
Build ID: 3.2+ (2018-06-24)
Finance::Quote: -


  *   I am running linux mint 19 cinnamon

  *   I have set ALPHAVANTAGE_API_KEY=*## in 
/etc/gnucash/environment. Where ### is my actual key number.*

  *   I have the same key number entered in the preferences tab of gnucash.
  *   I can run (in terminal window) (i exported the ALPHAVANTAGE_API_KEY in 
the .bashrc file)

gnc-fq-dump alphavantage msft

Finance::Quote fields Gnucash uses:

symbol: msft <=== required

date: 11/01/2018 <=== recommended

currency: USD <=== required

last: 106.3700 <=\

nav: <=== one of these

price: <=/

timezone: <=== optional


Any help would be greatly appreciated. I have run out of ideas to solve this 
problem.


Thanks,

Joe

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

[GNC] gnucash: Not able to get Online Quotes to work

2018-11-04 Thread Joe Peters
When trying to edit a security, in the 'Edit Security' window, under 'Quote 
Source Information', everything is grayed out and there is a warning: '> 
Warning: Finance::Quote not installed properly. <.


GnuCash Help|About
Version: 3.2
Build ID: 3.2+ (2018-06-24)
Finance::Quote: -


  *   I am running linux mint 19 cinnamon

  *   I have set ALPHAVANTAGE_API_KEY=*## in 
/etc/gnucash/environment. Where ### is my actual key number.*

  *   I have the same key number entered in the preferences tab of gnucash.
  *   I can run (in terminal window) (i exported the ALPHAVANTAGE_API_KEY in 
the .bashrc file)

gnc-fq-dump alphavantage msft

Finance::Quote fields Gnucash uses:

symbol: msft <=== required

date: 11/01/2018 <=== recommended

currency: USD <=== required

last: 106.3700 <=\

nav: <=== one of these

price: <=/

timezone: <=== optional


Any help would be greatly appreciated. I have run out of ideas to solve this 
problem.


Thanks,

Joe

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