[GRASS-dev] [[winGRASS] Logging errors in GRASS WIN]

Forwarding this to grass-dev as it is not specific to wingrass:

-------- Original Message --------
Subject: [winGRASS] Logging errors in GRASS WIN
Date: Fri, 9 Nov 2007 09:24:46 -0500
From: Sampson, David <dsampson@nrcan.gc.ca>
To: <wingrass@grass.itc.it>

Is there a way to keep a logfile of errors running for the dialogues
that pop up?

I would realy like to copy/paste text from the dialogues instead of
retyping… is this a limitation of TCL?

Cheers

(attachments)

file:///tmp/nsmail-1.asc (139 Bytes)

David Sampson wrote:

Is there a way to keep a logfile of errors running for the dialogues
that pop up?

the typical way to collect WARNING: and ERROR:s from running modules and
libraries is to create a file called GIS_ERROR_LOG in your user's home
directory. Messages get logged to that. I would expect that Tcl specific errors
do not get logged there. This is generally used for GRASS scripts where you may
not be monitoring the scrolls of output in real time.

nb, this may be a good tool to see which/if a module/library error triggered
the Tcl error though.

I would realy like to copy/paste text from the dialogues instead of
retyping… is this a limitation of TCL?

Not a limitation of Tcl, in Linux you can cut and paste that text just fine.
(ISTR on Debian the tcl module gui command line compose string wouldn't copy
before we changed a switch in the tcl code)
I've no idea what happens on MS Windows though.

Hamish

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com