[GRASS5] tcltkgrass - some bugs remain

Hi

Following bugs still remain in the tcltkgrass 5.3 CVS 2004_11_06. I only
checked those I had problems with in the past. Some of them were
already once reported. I wonder if there are more. In the 5.4 "release"
too?

v.out.shape
    Sorry, <output> is not a valid parameter
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option

Raster -> Generate surfaces -> Generate fractal surfaces still leads to
r.surf.area instead of r.surf.fractal which results in:
    Sorry, <out> is not a valid parameter
    Sorry, <d> is not a valid parameter
    ERROR: Required parameter <input> not set:
    (Raster file for surface.).

s.surf.rst:
    1 missing entries for output files: treefile, overfile, devi
    2 the default "Minimum number of points for interpolation: 200" - should
       be 300
    3 still interactive like this after which it stops:
        WARNING: old data format detected.
        Convert site file to new format?
        Answering yes will modify your site list file.(y/n) [y]

d.3d:
    after pressing the "xyz" button an information window pops up with a
    bunch of "%\b\b\b\b"

no entry for r.bilinear

r.out.hdf, v.ascii.spag:
    "no such file or directory" - are these entries necesssary?

v.in.dxf3d.sh
    Unrecognized option: lines=elevs
    Options: dxf=name line1=name line2=name

Config -> Set fonts -> Module font
    bad window path name ".s_proj"
    bad window path name ".s_proj"
    while executing
    "winfo children $path"
    (procedure "children" line 3)
    invoked from within
    "children $path"
    (procedure "setfont" line 3)
    invoked from within
    "setfont .$module $module_font"
    ("foreach" body line 1)
    invoked from within
    "foreach module $module_list {setfont .$module $module_font} "
    invoked from within
    ".main_menu.mb9.m.m2 invoke active"
    ("uplevel" body line 1)
    invoked from within
    "uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 47)
    invoked from within
    "tk::MenuInvoke .main_menu.mb9.m.m2 1"
    (command bound to event)

Maciek Sieczka wrote:

Following bugs still remain in the tcltkgrass 5.3 CVS 2004_11_06. I only
checked those I had problems with in the past. Some of them were
already once reported. I wonder if there are more. In the 5.4 "release"
too?

v.out.shape
    Sorry, <output> is not a valid parameter
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option
    Sorry <0> is not a valid option

Raster -> Generate surfaces -> Generate fractal surfaces still leads to
r.surf.area instead of r.surf.fractal which results in:
    Sorry, <out> is not a valid parameter
    Sorry, <d> is not a valid parameter
    ERROR: Required parameter <input> not set:
    (Raster file for surface.).

s.surf.rst:
    1 missing entries for output files: treefile, overfile, devi
    2 the default "Minimum number of points for interpolation: 200" - should
       be 300
    3 still interactive like this after which it stops:
        WARNING: old data format detected.
        Convert site file to new format?
        Answering yes will modify your site list file.(y/n) [y]

I've commited fixes for these three.

v.in.dxf3d.sh
    Unrecognized option: lines=elevs
    Options: dxf=name line1=name line2=name

The module file is correct for v.in.dxf3d; I'm not sure whether the
module should be running v.in.dxf3d instead of v.in.dxf3d.sh, or
whether the syntax should be changed to match v.in.dxf3d.sh.

--
Glynn Clements <glynn@gclements.plus.com>

On Sun, Nov 14, 2004 at 04:14:25PM +0000, Glynn Clements wrote:

> v.in.dxf3d.sh
> Unrecognized option: lines=elevs
> Options: dxf=name line1=name line2=name

The module file is correct for v.in.dxf3d; I'm not sure whether the
module should be running v.in.dxf3d instead of v.in.dxf3d.sh, or
whether the syntax should be changed to match v.in.dxf3d.sh.

Here a try for an overview:

- v.in.dxf: Converts files in DXF format to ASCII or binary GRASS vector file
    format.
- v.in.dxf3d: Converts the Z values of DXF files to attribute GRASS vector file
   format.
- v.in.dxf3d.sh: Imports 3D contour lines from DXF3D file using v.in.dxf and
   v.in.dxf3d
- v.cadlabel: Attaches labels to (binary) vector contour lines that have been
   imported to GRASS from DXF format.

Markus