[GNC] Reports and documentstion are blank on Linux

Dr. David Kirkby drkirkby at kirkbymicrowave.co.uk
Sat Dec 17 13:35:34 EST 2022


On Sat, 17 Dec 2022 at 10:01, David H <hellvee at gmail.com> wrote:

> Dave,
>
> Check this out, there was an issue on Ubuntu 20.04 with Flatpak 8-9 months
> ago  -
> https://askubuntu.com/questions/1398945/why-have-my-gnucash-reports-stopped-working
> - there's a couple of bug reports linked there that provide a lot of
> detail.  Basically the answer was to run Flatpak Update 1 or more times to
> update all dependencies and if that doesn't fix the issue try the other
> work around -
>
> Try running GnuCash from terminal like this:
>
>   WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run org.gnucash.GnuCash
>
> That will disable OpenGL rendering in Webkit.
>
> Cheers David H.
>
> Thank you. That's helpful.

*WEBKIT_DISABLE_COMPOSITING_**MODE=1 flatpak run org.gnucash.GnuCash*

did get it working, although there are numerous errors about

*Failed to load module "canberra-gtk-module"*

and tons of source files being newer than the compiled version.

Then after running

drkirkby at canary:~/accounts$ flatpak update
Looking for updates…


        ID
Branch             Op             Remote             Download
 1. [✓] org.freedesktop.Platform.GL.nvidia-470-141-03             1.4
              u              flathub            273.0 MB / 273.8 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-470-161-03             1.4
              i              flathub            272.9 MB / 273.2 MB
 3. [✓] org.gnome.Platform.Locale                                 42
              u              flathub             16.8 kB / 336.5 MB
 4. [✓] org.gnome.Platform                                        42
              u              flathub             29.8 MB / 280.2 MB

Changes complete.

It now runs without the hack. I noticed the other thread mentioned
updates to Nvidia drivers. I am using an Nvidia P620 GPU, which is a
pretty low-end one.

That does solve it, but there are quite a few error messages - see below.

drkirkby at canary:~/accounts$ WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run
org.gnucash.GnuCash
Gtk-Message: 17:48:33.245: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:48:33.247: Failed to load module "canberra-gtk-module"
;;; note: source file /app/share/guile/2.2/ice-9/boot-9.scm
;;;       newer than compiled /app/lib/guile/2.2/ccache/ice-9/boot-9.go
;;; note: source file /app/share/guile/2.2/ice-9/psyntax-pp.scm
;;;       newer than compiled /app/lib/guile/2.2/ccache/ice-9/psyntax-pp.go
;;; note: source file /app/share/guile/2.2/ice-9/posix.scm
;;;       newer than compiled /app/lib/guile/2.2/ccache/ice-9/posix.go
;;; note: source file /app/share/guile/2.2/ice-9/networking.scm
;;;       newer than compiled /app/lib/guile/2.2/ccache/ice-9/networking.go
;;; note: source file /app/share/guile/2.2/ice-9/match.scm
;;;       newer than compiled /app/lib/guile/2.2/ccache/ice-9/match.go
+ hundreds more similar lines.


More information about the gnucash-user mailing list