When retrieving quotes (Tools → Price Database → Get Quotes) GnuCash crashes with the following error: Backtrace: 2 (apply-smob/1 #<catch-closure 11a244740>) In price-quotes.scm: 452:18 1 (gnc:book-add-quotes #<swig-pointer GtkWindow * 7f928e…> …) In unknown file: 0 (_ "There was a system error while retrieving the price…") ERROR: Wrong type to apply: #<syntax-transformer N_> I'm on macOS 10.15.4 (Catalina), Perl 5.18.4, Finance::Quote 1.49
Chris Lam, this seems to be related to using syntax-rules in libgnucash/app-utils/gettext.scm and a documented Guile "incompatibility" detailed in the 6th bullet at https://www.gnu.org/software/guile/manual/html_node/R6RS-Incompatibilities.html.
Maybe, but why would it affect price-quotes.scm now? What guile version is in use?
Assuming the reporter is using the GnuCash Mac bundle it's Guile-2.2. Why now? Maybe because it's the first time someone's gotten an error and bothered to report it? You shuffled price-quotes.scm a bit last August.
(In reply to John Ralls from comment #3) > Assuming the reporter is using the GnuCash Mac bundle it's Guile-2.2. Yep, using the GnuCash Mac app-bundle. > Why now? Maybe because it's the first time someone's gotten an error and > bothered to report it? You shuffled price-quotes.scm a bit last August. I did note that someone also reported this exact same backtrace in a comment to issue (https://bugs.gnucash.org/show_bug.cgi?id=797583). So the error is happening in more cases. Reason why I created a new issue for this is that although 797583 seems related, I didn't think it was a duplicate since the reporter of that issue saw a different backtrace.
The issue was simply a missing (gettext) module import. Fixed for 3.9.
(In reply to Christopher Lam from comment #5) > The issue was simply a missing (gettext) module import. Fixed for 3.9. Thanks for the quick response! When is 3.9 to be released?
It's planned for this weekend.