[GNC] Printable invoice tab/screen does not display the invoice to be printed

R Losey rlosey at gmail.com
Tue Aug 20 10:44:08 EDT 2024


Thanks for replying to all.

Just wanted to make sure you were using the icon, and not something from
the command line. It is running it via flatpak (that's how I run it on
Ubuntu).

When you reinstalled 4.8, it probably re-created the icon to run the 4.8
version.

Regarding the way to see what shell you are running... you start a terminal
and then enter the command "echo $SHELL" - unless you've changed something,
it should reply "/bin/bash", which means your shell is bash, but I'm pretty
sure it is.

I'm glad you got everything working.

I don't work for nVidia (I'm just a long-time, satisfied user), but I
wanted to point out that this is not an nVidia problem; the problem is in
GTK that apparently is trying (incorrectly) to use some feature of nVidia.
By setting that environment variable, you are telling it not to do so.

Richard

On Mon, Aug 19, 2024 at 8:43 PM Indiana <gividen at protonmail.com> wrote:

> Hello Richard!
> I am re-re-replying because I forgot to CC gnucash-user at gnucash.org
>
> I am not sure what you mean by "normally run GnuCash?"  I do have the icon
> in my favorites bar on the left of my screen.  I click the icon to run the
> program.
>
> Screen shot.
> https://ibb.co/LPGb6xZ
>
> I did uninstall GnuCash 4.8 and as far as I can tell nothing broke.
>
> I ran flatpak list and it appears I did install it with flatpak. I'm not
> sure why it shortend the information with ... ...
>
> $ flatpak list
> Name Application ID  Version                          Branch
>  Installation
> Mesa …orm.GL.default 24.1.3                           23.08       system
> Mes… …orm.GL.default 24.1.3                           23.08-extra system
> nvi… …dia-535-183-01                                  1.4         system
> ope… …tform.openh264 2.4.1                            2.4.1       system
> GNO… …gnome.Platform                                  46          system
> Gnu… …nucash.GnuCash 5.8-unknown-commit (Flathub 5.8) stable      system
> Yar… …heme.Yaru-dark
>
> screen shot of the terminal
> https://ibb.co/CKWcQjV
>
> I ran
> bash - check with "echo$SHELL"
> and got
> bash: check: No such file or directory
>
> screen shot
> https://ibb.co/99D4SZM
>
> I keep re-reading this and am less confident I understand the directions.
> >>> > To add to Bruce's answer, if you use Linux, there can be an issue
> with
> >>> > webkitgtk that can result in blank reports. Starting Gnucash with
> >>> > compositing disabled for webkitgtk will usually fix the blank report
> >>> > problem. Use the following command in a terminal to start Gnucash and
> >>> > see if the problem is corrected:
> >>> >
> >>> > WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash
> >>> >
> >>> > (Or WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run
> org.gnucash.GnuCash if
> >>> > you use flatpak)
>
> Sooooooo. I closed GnuCash. Then ran it and stuff happened and now I can
> see reports!!! OMG. I am sorry I am stupid.
>
> Then I closed GnuCash and opened it again and the reports don't show up.
> So I think the instructions were saying to enter
> WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run org.gnucash.GnuCash
> with the program closed. And use that command to launch GnuCash each time
> I want to use it.  Which appears to work just fine.
>
> Screen shot of success
> https://ibb.co/bKQBF5y
>
> Thank you Richard and Bruce!
> I am very greatful!
> And next time I buy video cards I will buy AMD! ;)
>
> On Monday, August 19th, 2024 at 2:18 PM, R Losey <rlosey at gmail.com> wrote:
>
> How do you normally run GnuCash? Do you have an icon on Ubuntu?
>
> Most likely, you have installed the flatpack version, and the command is
> just off. I have GnuCash 5.8 on Ubuntu 22.04LTS and it is flatback (if I
> did the install, it would install 4.8). I would definitely uninstall the
> 4.8 version from Ubuntu. It may be worth re-installing the 5.8 GnuCash,
> which I think was done via flatpak.
>
> You can see what's installed via flatpak by issuing the command "flatpak
> list". I have org.gnucash.GnuCash listed.
>
> I almost hate to ask this, but the command Bruce gave assumes you are
> running the default shell (bash - check with "echo $SHELL"). I'm not sure
> why the run command didn't work properly.
>
> RL
>
> On Mon, Aug 19, 2024 at 12:28 PM Indiana via gnucash-user <
> gnucash-user at gnucash.org> wrote:
>
>> Hello Bruce!
>>
>> I do not recall how I was able to install GnuCash 5.8 onto Ubuntu. How
>> would I check?
>> When I enter
>> WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run org.gnucash.GnuCash
>>
>> I get
>>
>> Command 'run' not found, did you mean:
>> command 'rue' from snap darkdimension-rue (1.0.7)
>> command 'bun' from snap bun-js (1.1.24)
>> command 'runq' from deb exim4-daemon-heavy (4.95-4ubuntu2.6)
>> command 'runq' from deb exim4-daemon-light (4.95-4ubuntu2.6)
>> command 'runq' from deb sendmail-bin (8.15.2-22ubuntu3)
>> command 'runc' from deb runc (1.1.12-0ubuntu2~22.04.1)
>> command 'runc' from deb golang-github-opencontainers-runc-dev
>> (1.1.7-0ubuntu1~22.04.5)
>> command 'grun' from deb grun (0.9.3+git20200303-1)
>> command 'crun' from deb crun (0.17+dfsg-1.1ubuntu0.1)
>> command 'zun' from deb python3-zunclient (4.4.0-0ubuntu1)
>> command 'rn' from deb trn4 (4.0-test77-14)
>> command 'zrun' from deb moreutils (0.66-1)
>> command 'rup' from deb rstat-client (4.0.1-11)
>> command 'srun' from deb slurm-client (21.08.5-2ubuntu1)See 'snap info
>> <snapname>' for additional versions.
>>
>> It did not work, or I typed it wrong?
>>
>> Thank you for the reply.
>>
>> On Monday, August 19th, 2024 at 1:14 PM, Bruce Griffis <
>> bruce.griffis at gmail.com> wrote:
>>
>> > Did you install GnuCash from flat pack? If so, did you follow Charlie's
>> suggestion for running from flat pack?
>> >
>> > On Mon, Aug 19, 2024, 1:02 PM Indiana via gnucash-user <
>> gnucash-user at gnucash.org> wrote:
>> >
>> >> I was wrong. None of that worked. I had installed version 4.8 and it
>> worked with 4.8. After uninstalling version 4.8 version 5.8 is still not
>> displaying reports.
>> >> Running
>> >> WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash
>> >> results in
>> >> Command 'gnucash' not found, but can be installed with:
>> >> sudo apt install gnucash
>> >> and running
>> >> sudo apt install gnucash
>> >> results in a fresh installation of version 4.8
>> >>
>> >> Does anyone have any other suggestions?
>> >>
>> >> I have two Nvidia TitanX cards in my PC.
>> >>
>> >> Thank you
>> >>
>> >> Sent with Proton Mail secure email.
>> >>
>> >> On Monday, August 19th, 2024 at 12:48 PM, Indiana <
>> gividen at protonmail.com> wrote:
>> >>
>> >>> Hello Charlie.
>> >>>
>> >>> I ran
>> >>> WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash
>> >>> and the invoice became viewable!!! Thank you!
>> >>> I then ran
>> >>> WEBKIT_DISABLE_COMPOSITING_MODE=1
>> >>> and I got
>> >>> command not found
>> >>>
>> >>> Here is a video screen capture of what I did.
>> >>>
>> https://rumble.com/v5bkf91-gnucash-not-displaying-reports-solution.html
>> >>>
>> >>> Thank you for your help.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Sent with Proton Mail secure email.
>> >>>
>> >>>
>> >>> On Monday, August 19th, 2024 at 12:06 PM, Charlie Morrison
>> sail43 at bellsouth.net wrote:
>> >>>
>> >>> > To add to Bruce's answer, if you use Linux, there can be an issue
>> with
>> >>> > webkitgtk that can result in blank reports. Starting Gnucash with
>> >>> > compositing disabled for webkitgtk will usually fix the blank report
>> >>> > problem. Use the following command in a terminal to start Gnucash
>> and
>> >>> > see if the problem is corrected:
>> >>> >
>> >>> > WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash
>> >>> >
>> >>> > (Or WEBKIT_DISABLE_COMPOSITING_MODE=1 flatpak run
>> org.gnucash.GnuCash if
>> >>> > you use flatpak)
>> >>> >
>> >>> > If that allows you to see the reports, then setting the
>> environmental
>> >>> > variable "WEBKIT_DISABLE_COMPOSITING_MODE=1" will fix it.
>> >>> >
>> >>> > On 8/19/24 10:50 AM, Bruce Griffis wrote:
>> >>> >
>> >>> > > I run Ubuntu 24.04 on my desktop and have an NVidia card. I could
>> not
>> >>> > > display reports in GnuCash. Worked fine on my Win11 laptop. Folks
>> on
>> >>> > > this list gave me the following instructions:
>> >>> > >
>> >>> > > To start Gnucash in Ubuntu with an NVidia card, open Terminal
>> >>> > > application and enter:
>> >>> > >
>> >>> > > WEBKIT_DISABLE_COMPOSITING_MODE=1 gnucash
>> >>> > >
>> >>> > > Hope it works for you.
>> >>> > >
>> >>> > > Bruce
>> >>> > >
>> >>> > > On 8/19/24 11:33, Indiana via gnucash-user wrote:
>> >>> > >
>> >>> > > > Thank you for the reply. Invoice number field is selected... I
>> >>> > > > think. Other reports appear to show up blank as well.
>> >>> > > >
>> >>> > > >
>> https://rumble.com/v5bk3a3-gnucash-printable-invoice-and-other-reports-displaying-blank-screens.html
>> >>> > > >
>> >>> > > > Short video screen capture of me showing the problem.
>> >>> > > >
>> >>> > > > Where do you suggest I look for the display driver workaround?
>> What
>> >>> > > > search terms should I use?
>> >>> > > >
>> >>> > > > Thank you for your help Adrien.
>> >>> > > >
>> >>> > > > Sent with Proton Mail secure email.
>> >>> > > >
>> >>> > > > On Monday, August 19th, 2024 at 10:45 AM, Adrien Monteleone
>> >>> > > > adrien.monteleone at lusfiber.net wrote:
>> >>> > > >
>> >>> > > > > Hmm...I can't duplicate this. (on MacOS)
>> >>> > > > >
>> >>> > > > > With the blank report up, click the Options button on the
>> toolbar and
>> >>> > > > > then go to the General tab.
>> >>> > > > >
>> >>> > > > > In the Invoice Number field, is there one selected, or is it
>> blank?
>> >>> > > > >
>> >>> > > > > What happens if you click the Select button for that field
>> and choose
>> >>> > > > > that invoice? (or any invoice)
>> >>> > > > >
>> >>> > > > > Do other reports also show up blank? (There was, I think, a
>> bug on this
>> >>> > > > > problem on Linux, but it was a previous version of GnuCash.
>> I'm not
>> >>> > > > > sure
>> >>> > > > > if it was fixed. I think there was a display driver
>> workaround though.)
>> >>> > > > >
>> >>> > > > > Regards,
>> >>> > > > > Adrien
>> >>> > > > >
>> >>> > > > > On 8/19/24 8:23 AM, Indiana via gnucash-user wrote:
>> >>> > > > >
>> >>> > > > > > I created an invoice. Clicked "enter." Then I clicked "print
>> >>> > > > > > invoice." Then a new tab appeared that said "printable
>> invoice." My
>> >>> > > > > > problem is that the invoice is not showing up in the new
>> tab.--
>>
> _________________________________
> Richard Losey
> rlosey at gmail.com
> Micah 6:8
>
>
>

-- 
_________________________________
Richard Losey
rlosey at gmail.com
Micah 6:8


More information about the gnucash-user mailing list