GNOME Bugzilla – Bug 735007
Saved color axis are not shown/loaded
Last modified: 2014-08-19 14:10:26 UTC
Created attachment 283806 [details] Existing Color Axis is not shown When I save a colormap or manually create one in ~/.goffice/colormaps/ it is not selectable in Gnumeric. The dropdown menu in the chart's coloraxis's Colors tab is not listing it. My test case is opening gnumeric, immediately clicking the graph button, choosing "Matrix", "Forward", "Color-Axis1", "Colors" and expanding the list where (for me) only the rainbow scale is shown. When I create a new color axis and hit save, "strace -e file" shows me: open("/home/me/.goffice/colormaps/e143baa7-0545-4782-b324-2ecddd939904.map", O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 ENOENT (No such file or directory) So I created that directory and tried again: open("/home/me/.goffice/colormaps/95ac3b7c-e5f4-442f-bc71-b303c743eee6.map", O_WRONLY|O_CREAT|O_EXCL, 0666) = 12 and the file is there. Relaunching gnumeric these are all mentions of "colormaps": openat(AT_FDCWD, "/usr/share/goffice/0.10.17/colormaps", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/me/.goffice/colormaps", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7 lstat("/home/me/.goffice/colormaps/95ac3b7c-e5f4-442f-bc71-b303c743eee6.map", {st_mode=S_IFREG|0644, st_size=263, ...}) = 0 But the color axis is not shown in the dropdown menu. I am using 1.12.17 on 64 Bit Archlinux. https://www.archlinux.org/packages/extra/x86_64/gnumeric/
no warning like "[GogAxisColorMap]: Could not open file:///home/me/.goffice/colormaps/dd80f8df-3976-4313-9400-63d1c29522fd.map"?
Nope. Here it is what we spoke about in IRC. $ ls -l ~/.goffice/colormaps/3a196296-c34b-4412-adf0-802e0104600c.map -rw-r--r-- 1 me users 225 Aug 19 13:30 /home/me/.goffice/colormaps/3a196296-c34b-4412-adf0-802e0104600c.map $ strace -o ~/gnumeric.strace gnumeric (gnumeric:28537): Gtk-WARNING **: Theme parsing error: gtk.css:101:18: Not using units is deprecated. Assuming 'px'. (gnumeric:28537): Gtk-WARNING **: Theme parsing error: gtk.css:101:20: Not using units is deprecated. Assuming 'px'. $ grep -i colormap ~/gnumeric.strace openat(AT_FDCWD, "/usr/share/goffice/0.10.17/colormaps", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/me/.goffice/colormaps", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7 lstat("/home/me/.goffice/colormaps/3a196296-c34b-4412-adf0-802e0104600c.map", {st_mode=S_IFREG|0644, st_size=225, ...}) = 0 $ xdg-mime query filetype 3a196296-c34b-4412-adf0-802e0104600c.map application/xml
Created attachment 283872 [details] Example .map file The .map file I currently have in the directory. It is not specific to that file though. I created it within Gnumeric for testing this problem.
Works for me, so no idea why it doesn't for you.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.