[GRASS5] [bug #4110] (grass) v.digit: Could not set Tcl system encoding to
Glynn Clements
glynn at gclements.plus.com
Wed Feb 22 08:08:20 EST 2006
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4110
> -------------------------------------------------------------------------
>
> Subject: v.digit: Could not set Tcl system encoding to
>
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 2006-02-20
>
> When editing attributes in v.digit plenty of "Could not set Tcl
> system encoding to" are printed to stdout (3 per 1 edit action). An
> error? Warning? Why doesn't it say what encoding it couldn't set to,
> actually?
>
> v.digit map=huba -n
> D0/0: Name = cat
> D0/0: Name = buba
> D0/0: Name = _grass_internal_database_encoding
> D0/0: Name = _grass_internal_database_encoding
> Could not set Tcl system encoding to
> D0/0: Name = _grass_internal_database_encoding
> Could not set Tcl system encoding to
> D0/0: Name = _grass_internal_database_encoding
> Could not set Tcl system encoding to
The two points in the code (lib/form/form.c) which generate this error
read:
if ( Tcl_SetSystemEncoding(interp, Cols[i].value) == TCL_ERROR ) {
fprintf(stderr,
"Could not set Tcl system encoding to %s\n", Cols[i].value);
}
and:
if ( Tcl_SetSystemEncoding(interp, encoding_val) == TCL_ERROR ) {
fprintf(stderr,
"Could not set Tcl system encoding to %s\n", encoding_val);
}
IOW, the encoding name is an empty string.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list