d.out.file + cairo: errors writing the image
|Reported by:||hamish||Owned by:|
in 6.4/6.5svn d.out.file with -c for the Cairo driver is having problems writing to the file. ISTR this was discussed on the ML recently, with the explanation something like that
d.mon start= returns without waiting?
G65> d.out.file -c landsat Saving display from Monitor: [x0] to <landsat.png>. Image size [1115 x 988] 100% ERROR: Cairo_draw_bitmap: Failed to create source WARNING: Socket is already in use or not accepting connections. WARNING: Use d.mon to select a monitor ERROR: No graphics device selected WARNING: Error - Monitor 'cairo' was not running Screen export complete. (writing the file may take a small amount of time) Image crop [1115 x 987] Done.
the image is a large (7000x8000) raster with a d.grid and d.text decorations over the top of it. I tried pushing in a
sleep 1 before each d.* command from d.save, but no luck.
on a simple low-res image it does fine, as does running with the regular PNG driver. same behavior on multiple machines & different linux distros. (deb/ubu)
perhaps the solution is setting one of the display driver direct rendering enviro variables?