[GNC] Old-New user with an upgrade problem: GTK CSS issue
John Angelico
jatalldad at gmail.com
Thu Aug 27 01:35:17 EDT 2020
Thanks Frank and Geert.
It took a bit of searching using find but eventually I found gtk.css files
under my XFCE Themes at
../.themes/Prof-XFCE-2.1-Light-Panel/gtk-3.0/gtk.css
./.themes/Prof-XFCE-2.1-Light-Panel/xfce-notify-4.0/gtk.css
I placed the copy which Geert suggested here:
./.local/share/gtk-3.0/gtk.css as per the wiki page for GnuCash
configuration.
The errors still prevent GNC from starting so I remain puzzled. I am not
keen to tinker at the low level of css within my XFCE desktop theme. So I
played with selecting other themes, as per the clues I got from the bug
report. Using other themes (any but the Light-Panel), starting GNC in a
terminal now only gives me one error:
---
~$ gnucash
**
gnc.gui:ERROR:/build/gnucash-9jHHoN/gnucash-3.4/gnucash/gnome-utils/gnc-main-window.c:3676:gnc_main_window_setup_window:
assertion failed: (filename)
Aborted
~$
---
I guess that's an improvement of sorts! :-)
Now I will start searching for a solution to the real error...
Thanks for the help so far.
Regards,
John Angelico
On Thu, 27 Aug 2020 at 05:13, Frank H. Ellenberger <
frank.h.ellenberger at gmail.com> wrote:
> Hi,
>
> Am 26.08.20 um 19:19 schrieb Geert Janssens:
> > Hi John,
> >
> > That file is not created be default as it's not required for gnucash to
> run. You can create it
> > yourself in a text editor - it's just a plain text file - or copy the
> example file in place:
> > https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css[1]
>
> That was nat the question. As shown below, there is a corrupt gtk.css on
> his system.
>
> Besides the user specific files, there can also be systemwide files like
> /etc/gtk3/gtk.css
>
> I am not shure how far that below /usr/share/themes are relevant.
>
> > Regards,
> >
> > Geert
> >
> > Op woensdag 26 augustus 2020 04:06:00 CEST schreef John Angelico:
> >> On Wed, 26 Aug 2020 at 01:31, John Ralls <jralls at ceridwen.us> wrote:
> >>> By default gtk.css will be in $HOME/.config/gtk-3.0/
> >>
> >> Thanks, John (and Frank) but when I look there I find no gtk.css (nor in
> >> $HOME/.config/gtk-2.0 either)
> >>
> >> Should the gnucash install have created one?
> >>
> >> Searching online I found a gtk bug report about themes: Debian Bug
> report
> >> logs - #762936 but it is now closed as is it's follow on report xfce
> 11198
> >>
> >> Regards
> >> John Angelico
> >>
> >>>> On Aug 25, 2020, at 7:29 AM, John Angelico <jatalldad at gmail.com>
> wrote:
> >>>>
> >>>> Thanks for the clue, Frank.
> >>>>
> >>>> I am not sure if I have that set.
> >>>>
> >>>> However, where is gtk supposed to be in a Debian system? I can see
> >>>> etc/gtk-2.0 and etc/gtk-3.0 but
> >>>> whereis gtk.css only replies with
> >>>> gtk:
> >>>> Most puzzling.
> >>>>
> >>>>
> >>>>
> >>>> On Tue, 25 Aug 2020 at 18:43, Frank H. Ellenberger <
> >>>>
> >>>> frank.h.ellenberger at gmail.com> wrote:
> >>>>> John,
> >>>>>
> >>>>> Am 25.08.20 um 04:56 schrieb John Angelico:
>
> See here or the full list in the original posting:
>
> >>>>>> (gnucash:1345): Gtk-WARNING **: 12:51:42.048: Theme parsing error:
> >>>>>> gtk.css:5898:20: Junk at end of value for border-width
> >>>>>> **
> >>>
> >>>
> gnc.gui:ERROR:/build/gnucash-9jHHoN/gnucash-3.4/gnucash/gnome-utils/gnc-main-
> > window.c:3676:gnc_main_window_setup_window:
> >>>>>> assertion failed: (filename)
> >>>>>> Aborted
> >>>>>
> >>>>> While Gnucash asks GTK to draw the main window, GTK tries to read its
> >>>>> gtk.css file and fails.
> >>>>>
> >>>>> Did you install different versions of GTK or tried you to adjust the
> >>>
> >>> CSS?
> >>>
> >>>>> See
> >>>
> >>>
> https://wiki.gnucash.org/wiki/Configuration_Locations#In_GTK_CONFIG_HOME
> >>>
> >>>>> and
> >>>
> >>> https://wiki.gnucash.org/wiki/Configuration_Locations#GTK_CONFIG_HOME
> >>>
> >>>>> to find your gtk.css files.
> >>>>>
> >>>>> HTH
> >>>>> Frank
> >>>>
> >>>> --
> >>>> Best regards
> >>>> John A
> >>>> _______________________________________________
> >>>> 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.
> >
> >
> >
> > --------
> > [1] https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css
>
> Regards
> Frank
> _______________________________________________
> 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.
>
--
Best regards
John A
More information about the gnucash-user
mailing list