[GNC] Report charts are empty on fresh 4.8 install

john jralls at ceridwen.us
Wed Jan 18 20:39:53 EST 2023


No, if that doesn't work then something else is interfering with the javascript execution. Look in the tracefile (see https://wiki.gnucash.org/wiki/Tracefile) for errors from WebKit.

Does the chart display if you export the report to a file and then open the file with your browser? Can you install Gnome Web (also based on WebKitGtk) and test if the exported report displays correctly with that?

Regards,
John Ralls


> On Jan 18, 2023, at 12:32 PM, Jason Spencer <j8spencer at gmail.com> wrote:
> 
> That doesn't seem to help, at least the way I'm doing it. I tried both of these commands in zsh and got the same result:
> ➜ WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash                                     ~
>                              ~
> ➜ export WEBKIT_DISABLE_COMPOSITING_MODE=1                                      ~
> ➜ gnucash
> 
> Is there a way from within gnucash I can check that? Or is there some package configuration I can check to see what libraries are doing the compositing/rendering?
> 
> On Mon, Jan 16, 2023 at 4:25 PM John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>> wrote:
>> 
>> 
>> > On Jan 16, 2023, at 2:41 PM, Jason Spencer <j8spencer at gmail.com <mailto:j8spencer at gmail.com>> wrote:
>> > 
>> > I have just upgraded to Linux Mint 21.1, and installed GnuCash 4.8
>> > (1:4.8-1build2) from the distro sources. I opened up a file I had in my
>> > prior install (2.6), and the file opened fine--all accounts and
>> > transactions seem to be there. But when I run a report with a chart (say,
>> > networth linechart or bar graph), the report is a blank screen. If I
>> > inspect the chart source, the body is a table with 4 empty cells.
>> > 
>> > If I run a text-based report (e.g. Balance Sheet), I see the report text
>> > and links fine, though it is scaled down to 6 or 8 pt font (though the
>> > style section says 10 and 15 pt fonts.)
>> > 
>> > Is there some diagnostic I can run to troubleshoot the source of the
>> > problem?
>> 
>> This is probably a distro problem with Webkit. Try setting WEBKIT_DISABLE_COMPOSITING_MODE=1 in the environment before running GnuCash.
>> 
>> Regards,
>> John Ralls
>> 



More information about the gnucash-user mailing list