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

Dong Lin c54e-gnucash at yahoo.com
Sat Jul 17 10:46:40 EDT 2021


Did more searches.  the issue exists in 4.6, running gnc on Ubuntu 20.04.1
LTS with standard gnome.

I've gone through the following commits in maint:

4.6  2021 228954c40 bad
0425-2020 8024f44bc bad
0425-2020 63232f388 good
3.10 2020 7d39ccc9d good
3.6  2019 d42695e75 good
0615-2019 410ae9575 good
0601-2019 170651602 good
0601-2019 3a91eedb4 good
0531-2019 69ea174cd bad
0415-2019 0251d044b bad
3.5  2019 b7479e8fb bad

I couldn't go any older because ancient code cannot be compiled by my
environment.

The merges really obscured the search. the order of the merged commits are
not chronological. timestamps are time of commit, not time of merge.

It looks as if the bug was fixed at one point, but it was lost in a merge.



> 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
>>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>




More information about the gnucash-user mailing list