Opened 9 years ago

Closed 8 years ago

#50497 closed defect (fixed)

gnucash 2.6.11: Missing dependency prevents "Get Quotes" from working

Reported by: aetherknight@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnucash

Description

Gnucash appears to be missing a perl dependency for the Perl script it uses to interact with Finance::Quote: p5.22-datemanip

I ran into a problem while trying to update stock quotes in Gnucash. Whenever I navigated to "Tools" -> "Price Editor" -> "Get Quotes", Gnucash would pop up a dialog that said "There was an unknown error while retrieving the price quotes." There was no additional information on the STDOUT/STDERR or to the console. However, I was able to track the problem down to the gnc-fq-helper script used by Gnucash to interface with Perl Finance::Quote:

Can't locate Date/Manip.pm in @INC (you may need to install the Date::Manip module) (@INC contains: /opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22 /opt/local/lib/perl5/vendor_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.22 /opt/local/lib/perl5/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/5.22 .) at /opt/local/bin/gnc-fq-helper line 29.
BEGIN failed--compilation aborted at /opt/local/bin/gnc-fq-helper line 29.

The p5.22-datemanip port was not installed after I had just updated gnucash. After I installed p5.22-datemanip, the "Get Quotes" feature started working again.

Change History (2)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: gnucash perl removed
Owner: changed from macports-tickets@… to dports@…

comment:2 Changed 8 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

This was fixed a while back in svn r148778.

Note: See TracTickets for help on using tickets.