[GRASS-dev] GRASS 6.3.0 release preparation

Hi,

i do not know if this is usefool for the list,

using grass6.3.cvs, i tried to “annotate”
some really smooll issues that i had during my study :

using the grass-addons v.out.ascii.db i have this error log :

Multiple tables: using first one [bugsites]
sort: unrecognized option --' Try sort --help’ for more information.
sort: unrecognized option --' Try sort --help’ for more information.
v.out.ascii.db done.

i modify in the script from :

sort both by cat

sort -n --field-separator=‘|’ --key=$N “$COOR_TMP” > “$COOR_TMP”.s
sort -n --field-separator=‘|’ “$ATTR_TMP” > “$ATTR_TMP”.s

to :

sort both by cat

sort -n -t ‘|’ -k $N “$COOR_TMP” > “$COOR_TMP”.s
sort -n -t ‘|’ “$ATTR_TMP” > “$ATTR_TMP”.s

now seems that works fine.

when i start grass i have this message :

Rebuilding Addon HTML manual pages index…
cat: global_i.atcorr.html: No such file or directory

but the i.atcorr help page is regulary available

v.type.sh
works if it is called from the gui or from the TCL-shall,
but not works if it is called from the bash shall
coping the scripts v.type.sh
from “…/etc/gui/scripts/”
to “…/Resources/Scripts/”
solved the problem

from the gui menu :

vector → network analisys → shortest route visualization only (d.path)

i have :

can’t read “xmonlist”: no such variable
can’t read “xmonlist”: no such variable
while executing
“lindex $xmonlist 0”
(procedure “guarantee_xmon” line 16)
invoked from within
“guarantee_xmon”
invoked from within
“.#menubar.#menubar#menu3.#menubar#menu3#menu12 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .#menubar.#menubar#menu3.#menubar#menu3#menu12 1”
(command bound to event)

the same problem that affect “d.nviz” ?

starting the module v.build

whent the gui of this module is started, i have a “crazy moving” of the window contents.
resizing the window, moving the botton right corner of the tcl window fix the “crazy moving”

need to change :(GRASS_WIDTH= , GRASS_HEIGHT= ) ?

in v.digit :

after i add a new line to an existant vector file :

vec_up.png
i had this message :

Cannot update table:
DBMI-DBF driver error:
SQL parser error: syntax error, unexpected WHERE, expecting NAME processing ‘where’
in statement:
update str_11 set where cat = 2
Error in db_execute_immediate()

but checking in the vector, i see that the new object is added without issue.

using v.db.add.table i’ve :

dbmi: Protocol error

Error while executing: "CREATE TABLE str_11@kml (cat integer)
"
Cannot continue.

it do not accept the “@” character

Il giorno 11/ago/07, alle ore 23:05, Michael Barton <michael.barton@asu.edu> ha scritto:

I think that 6.3 stable is ready. With the exception of the the segfault
with r.proj (fixed or on its way to being fixed), I don’t know of any
serious issues on-going with 6.3. Most of the recent changes I’ve seen come
across the dev list have been improvements or enhancements.

Thanks for the information Massimo.

Michael

On 8/22/07 12:03 PM, “massimo di stefano” massimodisasha@yahoo.it wrote:

Hi,

i do not know if this is usefool for the list,

using grass6.3.cvs, i tried to “annotate”
some really smooll issues that i had during my study :

using the grass-addons v.out.ascii.db i have this error log :

Multiple tables: using first one [bugsites]
sort: unrecognized option --' Try sort --help’ for more information.
sort: unrecognized option --' Try sort --help’ for more information.
v.out.ascii.db done.

i modify in the script from :

sort both by cat

sort -n --field-separator=‘|’ --key=$N “$COOR_TMP” > “$COOR_TMP”.s
sort -n --field-separator=‘|’ “$ATTR_TMP” > “$ATTR_TMP”.s

to :

sort both by cat

sort -n -t ‘|’ -k $N “$COOR_TMP” > “$COOR_TMP”.s
sort -n -t ‘|’ “$ATTR_TMP” > “$ATTR_TMP”.s

now seems that works fine.

when i start grass i have this message :

Rebuilding Addon HTML manual pages index…
cat: global_i.atcorr.html: No such file or directory

but the i.atcorr help page is regulary available

v.type.sh
works if it is called from the gui or from the TCL-shall,
but not works if it is called from the bash shall
coping the scripts v.type.sh
from “…/etc/gui/scripts/”
to “…/Resources/Scripts/”
solved the problem

from the gui menu :

vector → network analisys → shortest route visualization only (d.path)

i have :

can’t read “xmonlist”: no such variable
can’t read “xmonlist”: no such variable
while executing
“lindex $xmonlist 0”
(procedure “guarantee_xmon” line 16)
invoked from within
“guarantee_xmon”
invoked from within
“.#menubar.#menubar#menu3.#menubar#menu3#menu12 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .#menubar.#menubar#menu3.#menubar#menu3#menu12 1”
(command bound to event)

the same problem that affect “d.nviz” ?

starting the module v.build

whent the gui of this module is started, i have a “crazy moving” of the window contents.
resizing the window, moving the botton right corner of the tcl window fix the “crazy moving”

need to change :(GRASS_WIDTH= , GRASS_HEIGHT= ) ?

in v.digit :

after i add a new line to an existant vector file :

vec_up.png
i had this message :

Cannot update table:
DBMI-DBF driver error:
SQL parser error: syntax error, unexpected WHERE, expecting NAME processing ‘where’
in statement:
update str_11 set where cat = 2
Error in db_execute_immediate()

but checking in the vector, i see that the new object is added without issue.

using v.db.add.table i’ve :

dbmi: Protocol error

Error while executing: "CREATE TABLE str_11@kml (cat integer)
"
Cannot continue.

it do not accept the “@” character

Il giorno 11/ago/07, alle ore 23:05, Michael Barton michael.barton@asu.edu ha scritto:

I think that 6.3 stable is ready. With the exception of the the segfault
with r.proj (fixed or on its way to being fixed), I don’t know of any
serious issues on-going with 6.3. Most of the recent changes I’ve seen come
across the dev list have been improvements or enhancements.


Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Massimo,

I checked into these 2 GUI issues.

#4) Works for me. It opens an xmon and a terminal with a prompt to pick a vector network map. Your description of the menu entry suggests that you are using an old version. I changed this menu entry several months ago when I shortened all menus and changed menu nesting to more more than 2 subentries deep. Now it should be vector->network analysis->display shortest route. Try updating to a current version and see if it fixes it. If not, we need to find out why the TclTk procedure guarantee_xmon is not producing a valid list of xmons using d.mon -L. Try this command and see what happens.

#5) I have the same problem. It stems from the TclTk window being opened to exactly the pixel height that bisects the last checkbox control. I don’t know why it is not opening a bit further by default. This is part of the autogenerated TclTk dialogs for GRASS commands. I only very generally know how this works. So I’m not sure how to fix it. I’ll see if I can figure out what is setting the window height.

Michael

On 8/22/07 12:03 PM, “massimo di stefano” massimodisasha@yahoo.it wrote:

from the gui menu :

vector → network analisys → shortest route visualization only (d.path)

i have :

can’t read “xmonlist”: no such variable
can’t read “xmonlist”: no such variable
while executing
“lindex $xmonlist 0”
(procedure “guarantee_xmon” line 16)
invoked from within
“guarantee_xmon”
invoked from within
“.#menubar.#menubar#menu3.#menubar#menu3#menu12 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .#menubar.#menubar#menu3.#menubar#menu3#menu12 1”
(command bound to event)

the same problem that affect “d.nviz” ?

starting the module v.build

whent the gui of this module is started, i have a “crazy moving” of the window contents.
resizing the window, moving the botton right corner of the tcl window fix the “crazy moving”

need to change :(GRASS_WIDTH= , GRASS_HEIGHT= ) ?


Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

I fixed this ‘jittering’ in v.build (and hope I didn’t introduce it in another command).

I also added some additional error trapping. 37 of the 72 exec statements without catch error traps are for running g.tempfile. This is probably not critical, but wouldn’t hurt to wrap in error traps. I worked on many of the remaining 35.

I found that v.what won’t launch from the GUI. I think it is because it kicks out…

PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file:
/Users/Shared/grassdata/spearfish60_test/PERMANENT/.tmp/cmb-MBP/3421.0.ppm,
GRASS_WIDTH=642, GRASS_HEIGHT=473

…in its interface description string, even if --q is added. Is there some way to stop this?

Michael

On 8/22/07 12:03 PM, “massimo di stefano” massimodisasha@yahoo.it wrote:

starting the module v.build

whent the gui of this module is started, i have a “crazy moving” of the window contents.
resizing the window, moving the botton right corner of the tcl window fix the “crazy moving”

need to change :(GRASS_WIDTH= , GRASS_HEIGHT= ) ?


Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton