The suggestion works for running from the build directory. However, version 4.8a is not installing correctly. I'm seeing no charts and negative values for equity / liability accounts after installing with make. I'm not sure how to debug this issue. It runs correctly from the build directory after creating the symlink.
I'm running on ubuntu 20.04. Antonios Hadjigeorgalis LinkedIn.com <http://www.linkedin.com/in/AntoniosHadji> @AntoniosHadji <https://www.twitter.com/AntoniosHadji> On Sat, Nov 27, 2021 at 5:56 PM D. <sunfis...@yahoo.com> wrote: > Someone reported similar troubles a while back. Take a look at > https://lists.gnucash.org/pipermail/gnucash-user/2021-July/097219.html > > I believe there was a simple fix. > ------------------------------ > *From:* Antonios Hadjigeorgalis > *Sent:* Sat Nov 27 15:54:50 EST 2021 > *To:* gnucash-devel@gnucash.org > *Subject:* [GNC-dev] Chartsjs javascript not loaded in html reports since > 4.6 > > When I build 4.7, or 4.8a the html reports with javascript chartjs do not > show the charts. > When I export the report to html, I see the chartjs library is missing. > > <script language="javascript" type="text/javascript" > src="file:///"></script> > > Where in 4.6 I see > > <script language="javascript" type="text/javascript" > src="file:////usr/local/share/gnucash/chartjs/Chart.bundle.min.js"></script> > > the javascript location appears to be sourced from guile function > gnc-path-find-localized-html-file in file > share/guile/site/2.2/gnucash/report/html-chart.scm > > I can find this function defined in both 4.6 and the later builds in file > bindings/guile/swig-core-utils-guile.c. > > Based on my current understanding of the code base, that's as far as I got > in looking for what is causing this error. Are there any particular parts > of the documentation that would help me understand how this is happening? > I'd love to fix it if it could. Any help would be appreciated. > > > Antonios Hadjigeorgalis > LinkedIn.com <http://www.linkedin.com/in/AntoniosHadji> > @AntoniosHadji > <https://www.twitter.com/AntoniosHadji> > ------------------------------ > > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel