[GNC] piecharts/linecharts turned blank in reports after upgrade

Dong Lin c54e-gnucash at yahoo.com
Mon Jul 12 16:02:09 EDT 2021


Running gnc in Ubuntu 20.04 LTS.  Default gnc is 3.8.  I built the gnc trees based off of master at various commits for the bisect.
; lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal


; grep WEBKIT ./common/config.h 
/* Definitions for what WEBKIT version we're compiling against: */
#define WEBKIT2_4 1
/* #undef WEBKIT2_3 */
/* #undef WEBKIT1 */


I compared the preprocessor output for html/gnc-html-webkit2.c,  the affected code block between  the working and non-working versions are identical.  But some line numbers for other .h files are different. So I have assumed that it's not 8024f44bc,  but other 100+ commits that came with the tree merge.

the VNC server runs on Ubuntu (the same machine that the binary is built on). The VNC viewer is MacOS (TigherVNC). Tried another viewer running on Linux, same outcome.

There are many commits affecting barcharts in that range. The most relevant one seems to be this:
6b74f80bc Wed Dec 18 21:55:51 2019 +0800  [html-pie/scatter/bar/linechart] defer to html-chart renderer

But reverting it resulted in too many conflicts that I dont know how to resolve.
Will try again later using the maint branch.

Thanks!

> 
> 
>> On Jul 11, 2021, at 10:36 PM, Dong Lin via gnucash-user
>> <gnucash-user at gnucash.org> wrote:
>>
>>
>> I am trying to upgrade from 3.8 to 4.6. But found that piecharts and
>> linecharts in reports have turned blank. The associated tables are
>> present
>> though.
>>
>> Attempted to perform a binary search in master, and found the latest
>> working commit is 63232f388.
>>
>>
>> 8024f44bc Sat Apr 25 15:40:07 2020 -0700                 Remove leftover
>> webkit2 conditional.
>> 63232f388 Sat Apr 25 14:40:57 2020 -0700                 Merge Jean
>> Laroche's 'Fix-3-SX-Problems' into maint
>>
>>
>> Unfortunately 8024f44bc came from the maint branch and was merged with
>> over a hundred other commits.  I am not sure how to narrow it down.
>> Reverting one of them resulted in lots of conflicts that I dont know how
>> to resolve.
>>
>> I figured the problem has to be related to my environment as no one else
>> has brought up the issue. My virtual desktop is
>> driven by a VNC server (Ubuntu 20.04 LTS).  It's not directly associated
>> with a hardware graphics card with a physical cable to the monitor.
> 
> We release off of the maint branch so you should do your bisect there.
> 
> This isn't likely to have anything to do with your VNC server, nor with
> whatever you're connecting to it. In what environment are you actually
> running GnuCash and what version of WebKit is it using?
> 
> Regards,
> John Ralls
> 




More information about the gnucash-user mailing list