[GNC-dev] No graphical reports on openSUSE 15.2

Herbert Thoma herbert.thoma at iis.fraunhofer.de
Sat Sep 5 12:47:00 EDT 2020


Am 05.09.20 um 17:28 schrieb Christopher Lam:
> What happens with combined reports eg net worth line chart with display/table enabled?

I see the table, no chart.

> Try right click the blank page and open the WebKit inspector, and report the console messages. Maybe chartjs is not being found.

I get 2 errors:

SystaxError: Unexpected token '<'
  (anonymous function) --- file:///:1

This one I think is a bit strange, because it points to the first line in the report html code.


ReferenceError: Can't find variable: Chart
  Global Code --- gnc-report-7J8DQ0.html:185

here the line in the code is:
Chart.defaults.global.defaultFontFamily = "'Trebuchet MS', Arial, Helvetica, sans-serif";


  Herbert.

> On Sat, 5 Sep 2020, 10:41 pm Herbert Thoma, <herbert.thoma at iis.fraunhofer.de <mailto:herbert.thoma at iis.fraunhofer.de>> wrote:
> 
>     Hi!
> 
>     I built GnuCash on openSUSE 15.2. from git. Everything works as expected,
>     with one exception: graphical reports are not displayed. Text reports work.
> 
>     I exported a report as html and tested in firefox. This displays an empty
>     page, too.
> 
>     openSUSE 15.2 comes with a packaged GnuCash 3.9, there the graphical
>     reports work.
> 
>     Any ideas why the reports don't work?
>     Any hints how I could debug this?
> 
>        Herbert.
> 
>     _______________________________________________
>     gnucash-devel mailing list
>     gnucash-devel at gnucash.org <mailto:gnucash-devel at gnucash.org>
>     https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 


More information about the gnucash-devel mailing list