[GNC] Report charts are empty on fresh 4.8 install
Jason Spencer
j8spencer at gmail.com
Fri Jan 20 00:29:02 EST 2023
Thanks very much for the help! The trace file is about 3700 lines long.
Probably half of them are this message:
ERROR <GLib-GIO> g_settings_new_full: assertion 'schema != NULL' failed
There's also a variety of these:
WARN <gnc.app-utils.gsettings> [gnc_gsettings_get_settings_ptr()] Ignoring
attempt to access unknown gsettings schema org.gnucash.GnuCash.*general*
where what's in bold ranges over general.register, general.report,
dialogs.account, dialogs.preferences, dialogs.fincalc, find,
window.pages.account-tree.summary, ...
Some other interesting ones:
ERROR <gnc.app-utils> GVariant* gnc_gsettings_get_user_value(const gchar*,
const gchar*): assertion 'G_IS_SETTINGS (settings_ptr)' failed
ERROR <gnc.app-utils> gboolean gnc_gsettings_get_bool(const gchar*, const
gchar*): assertion 'G_IS_SETTINGS (settings_ptr)' failed
ERROR <gnc.app-utils> void gnc_gsettings_remove_cb_by_func(const gchar*,
const gchar*, gpointer, gpointer): assertion 'G_IS_SETTINGS (settings_ptr)'
failed
Those are the major themes. They seem to repeat in block, but may by
cycling over different modules. Other than that, everything seems fine :)
If I export the report to html, yes, it opens fine in a browser (firefox
108). I'll hold off on Gnome web for now, since the GLIB assertions seem
like strong lead. I reinstalled libgtk-3-common (version 3.24.33-1ubuntu2)
and removed my .~/config/dconf/user file, but got the same results in
gnucash.
Does any of this suggest a new debug route?
On Wed, Jan 18, 2023 at 5:40 PM john <jralls at ceridwen.us> wrote:
> 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> wrote:
>
>>
>>
>> > On Jan 16, 2023, at 2:41 PM, Jason Spencer <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