[GRASS5] [bug #4325] (grass) nviz: img dump doesn't take absolute path names

Request Tracker grass-bugs at intevation.de
Mon Apr 24 01:15:13 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4325
-------------------------------------------------------------------------

Subject: nviz: img dump doesn't take absolute path names

Hi,

in NVIZ if you do "Save Image As..-> PPM", and for a filename put an absolute
path name (eg /tmp/image.ppm) it fails to open the file. You see the problem
if you try and create a TIFF, it's stuck in pwd,

% TIFFOpen: /home/hamish/grassdata//tmp/image.tif: Cannot open.


in  visualization/nviz/scripts/nviz2.2_script

proc dump_ppm { } {
    # This routine should use: Nwrite_ppm $fname
    set fname [create_file_browser .file_browser 1]


...?
Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list