file gnome-font.c: line 194 (gnome_font_new): assertion `face != NULL' failed.

Christian Stimming stimming@tuhh.de
Sun, 2 Sep 2001 15:40:16 +0200


-----BEGIN PGP SIGNED MESSAGE-----

For anybody who runs into the same problem: 

After some gnome package updates on my SuSE 7.2 installation every attempt to 
run a graphical report in GnuCash resulted in a segfault with the following 
error message:

** CRITICAL **: file gnome-font.c: line 194 (gnome_font_new): assertion `face 
!= NULL' failed.
I can't find the default fonts needed by Guppi.
In 99% of all cases, this means that there is a problem with
your installed version of gnome-print.

I had all gnome-print-0.29 installed, so the problem couldn't be an outdated 
gnome-print... After a lot of searching, deletion and re-installation, I 
found out that SuSE expected me to run their config tool after an update to 
gnome-print. So I ran their SuSEconfig and, wonders and miracles, everything 
worked fine after that.

Turns out that their config script for gnome-print calls the program 
/opt/gnome/bin/gnome-font-install which writes some font search path 
specifications to the file /opt/gnome/share/fonts/fontmap2 (on a Suse 7.2 
system). So that was missing until I called that script.

Hope other people don't have to spend 3 days on that :-))

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBO5I2wGXAi+BfhivFAQFPLgP+I9flKYBIZzXDFTK9q66v4VQP+xOVRwPY
8VxLxe6O/0HjO0Ck9AWvdabmLKsUKiCzPUc+ZCc2qSM8HtboFzUlgQb5UAQoNwXw
9fEQXKbrETIqD4N1JwKh2jRyIKsVzQ2UKIm+/wrAo8ndf0kj3XYmgC7U6eRjAqHZ
IEOn8Jnqefw=
=U6lR
-----END PGP SIGNATURE-----