After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 341999 - could not export graph as jpeg and png image
could not export graph as jpeg and png image
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.7.x
Other Linux
: Normal normal
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-05-16 16:31 UTC by Pinky
Modified: 2006-05-19 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure log. (108.46 KB, text/plain)
2006-05-19 17:32 UTC, Pinky
Details
config log from goffice (133.21 KB, text/plain)
2006-05-19 19:19 UTC, Pinky
Details

Description Pinky 2006-05-16 16:31:15 UTC
This is result:
----------------------------
** (gnumeric:14055): WARNING **: No cairo AND no gtk ???

** (gnumeric:14055): CRITICAL **: gog_graph_export_image: assertion `renderer != NULL' failed

-------------
It is created 0 lenght file, instead of image with graph.
from Gentoo

cairo-1.0.4
gtk+-2.8.17

export to svg work well. in Gnumeric 1.6.3 work all this exports.
Comment 1 Morten Welinder 2006-05-16 18:37:52 UTC
Please attach configuration log.  Something is funny there.
Comment 2 Pinky 2006-05-19 17:32:42 UTC
Created attachment 65852 [details]
configure log.
Comment 3 Morten Welinder 2006-05-19 17:49:18 UTC
My apologies.  I meant to ask for the *goffice* configure log.

I do notice that you are using --without-gnome which is only barely
supported.
Comment 4 Pinky 2006-05-19 19:19:55 UTC
Created attachment 65857 [details]
config log from goffice
Comment 5 Pinky 2006-05-19 19:20:56 UTC
After this I try rebuld goffice/gnumeric with gnome support, but this does not help
Comment 6 Morten Welinder 2006-05-19 19:41:25 UTC
In file goffice/graph/gog-renderer.c, line 941, insert an "#else" line such
the fragment reads...

#ifdef GOFFICE_WITH_CAIRO
			type = GOG_RENDERER_CAIRO_TYPE;
#else
#ifdef GOFFICE_WITH_GTK
			type = GOG_RENDERER_PIXBUF_TYPE;
#else
			g_warning ("No cairo AND no gtk ???");
			return NULL;
#endif
#endif


(Fixed in cvs.)