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 735008 - Saving Color Axis fails silently if ~/.goffice/colormaps does not exist
Saving Color Axis fails silently if ~/.goffice/colormaps does not exist
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2014-08-18 18:00 UTC by fxTW7H5rJ1gh
Modified: 2014-08-18 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description fxTW7H5rJ1gh 2014-08-18 18:00:15 UTC
I had no ~/.goffice directory and saving Color Axis' failed silently until I manually created it (and its colormaps/ subdirectory). I am using 1.12.17 on 64 Bit Archlinux. https://www.archlinux.org/packages/extra/x86_64/gnumeric/

Test case is open Gnumeric, click the graph button,
"Matrix", "Forward", "Color-Axis1", "Colors", "New", "+", "Define", "Save"

"strace -e file" and stdout then shows:
open("/home/me/.goffice/colormaps/5c6a5c98-3533-4302-a5cd-89ba39b5206b.map", O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 ENOENT (No such file or directory)

** (gnumeric:27388): CRITICAL **: gsf_xml_out_new: assertion 'GSF_IS_OUTPUT (output)' failed

** (gnumeric:27388): CRITICAL **: gsf_xml_out_start_element: assertion 'xout != NULL' failed

** (gnumeric:27388): CRITICAL **: gog_axis_color_map_write: assertion 'map->uri == NULL' failed

** (gnumeric:27388): CRITICAL **: gsf_xml_out_end_element: assertion 'xout != NULL' failed

(gnumeric:27388): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gnumeric:27388): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Comment 1 Jean Bréfort 2014-08-18 19:35:45 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.