[GRASSLIST:10581] Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi,

i’ve been trying to install GRASS, on my Ubunty Hoary distribution, the GRASS distribution Generic GNU/Linux (ia32) (generated weekly):
I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006
but am having problems as soon as i ‘enter GRASS’. I’ve tried updating the scripts you mention in the last email from your website but still get the same error
On the command window i get:

Could not execute monitor: No such file or directory
No socket to connect to for monitor .
Problem selecting x3. Will try once more

and the error log in the GIS Manager is:
child process exited abnormally
while executing
“exec – d.mon start=x3 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
“run “d.mon start=$mon””
invoked from within
“if ![catch {open “|d.mon -L” r} input] {
while {[gets $input line] >= 0} {
if {[regexp -nocase “$mon.*not running” $line]} {
r…”
(procedure “Dm::displmon” line 3)
invoked from within
“Dm::displmon x3”
invoked from within
“.mainframe.frame.pw1.f0.frame.rb3 invoke”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w $cmd]”
(procedure “tk::CheckRadioInvoke” line 3)
invoked from within
“tk::CheckRadioInvoke .mainframe.frame.pw1.f0.frame.rb3”
(command bound to event)

PLease help!
vishal

On 2/26/06, Michael Barton <michael.Sbarton@asu.edu> wrote:

The new GIS Manager (gis.m) is in beta testing and I’ve been fixing bugs
regularly.

Please update to the most current version (24 February 2006). You can get
this by updating from the cvs and recompiling or by getting the package off
my website <http://www.public.asu.edu/~cmbarton/files/grass_gismgr>
…and replacing the files in $GISBASE/etc/gm with those in the package you
download.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: “Ing.Peter Misovic” < peter.misovic@gmail.com>
Date: Sun, 26 Feb 2006 01:34:57 +0100
To: GRASSLIST <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:10572] GRASS 6.1cvs gis.m error

Dear all

I’d like to ask you for help with gis.m Grass manager. Manager is not
starting properly 'cause it is crashing with following error :

GRASS 6.1.cvs (spearfish):confused: > gis.m
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
GRASS_WIDTH=640, GRASS_HEIGHT=482
Graphics driver [gism] started
ERROR: PNG: couldn’t open output file dispmon_1.ppm
ERROR eof from graphics driver.

And if I press Enter in error window, gis.m starts, but no work is
possible at all. My Grass version is
grass-6.1.cvs_src_snapshot_2006_02_20 .

Thank you for your help,
Peter Misovic

Scrive Vishal Mehta <vishalm1975@gmail.com>:

Hi,

i've been trying to install GRASS, on my Ubunty Hoary distribution, the
GRASS distribution Generic GNU/Linux
(ia32)<http://grass.itc.it/grass61/binary/linux/snapshot/&gt;\(generated
weekly):
I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006

I compiled from CVS (checked out yesterday) on Ubuntu *Breezy* and eveything
went fine.

Here's my ./configure line:

CFLAGS="-O2 -march=athlon -Wall" LDFLAGS="-s" ./configure
--with-tcltk-includes=/usr/include/tcl8.3
--with-postgres-includes=/usr/include/postgresql --with-cxx --with-readline

You might find useful the instructions here:
http://casoilresource.lawr.ucdavis.edu/drupal/node/123
That help you compiling step-by-step.

HTH. By the way, good job Michael, gis.m is quickly becoming user-friendly!

--
Stefano Costa
http://www.iosa.it * Software Libero per l'Archeologia
Jabber: steko@jabber.linux.it

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Vishal,

This is a different issue from what Peter reported. It sounds like there is a problem with your installation. I’d start by looking at the .grassrc6 file in your home directory. If there is a line that specifies a monitor to start, delete it. Next I’d look at the monitorcap file that should be in $GISBASE/etc/.

See if you have one. If you do, look at it with a text editor. It should have one line for each potential display monitor it can open. There should not be any duplicates. I’ve had duplicates show up in a Mac build recently.

In a strange, unrelated problem (but then again, maybe not), that has affected a student in my lab who updated to the newest Cygwin binary. Whenever he starts GRASS, it opens a saved workspace file even though he doesn’t explicitly instruct it to do so.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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


From: Vishal Mehta vishalm1975@gmail.com
Date: Sun, 26 Feb 2006 15:07:43 +0530
To: Michael Barton michael.barton@asu.edu
Cc: “Ing.Peter Misovic” peter.misovic@gmail.com, Multiple recipients of list GRASSLIST@baylor.edu
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi,

i’ve been trying to install GRASS, on my Ubunty Hoary distribution, the GRASS distribution Generic GNU/Linux (ia32) http://grass.itc.it/grass61/binary/linux/snapshot/ (generated weekly):
I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006
but am having problems as soon as i ‘enter GRASS’. I’ve tried updating the scripts you mention in the last email from your website but still get the same error
On the command window i get:

Could not execute monitor: No such file or directory
No socket to connect to for monitor .
Problem selecting x3. Will try once more

and the error log in the GIS Manager is:
child process exited abnormally
while executing
“exec – d.mon start=x3 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
“run “d.mon start=$mon””
invoked from within
“if ![catch {open “|d.mon -L” r} input] {
while {[gets $input line] >= 0} {
if {[regexp -nocase “$mon.*not running” $line]} {
r…”
(procedure “Dm::displmon” line 3)
invoked from within
“Dm::displmon x3”
invoked from within
“.mainframe.frame.pw1.f0.frame.rb3 invoke”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w $cmd]”
(procedure “tk::CheckRadioInvoke” line 3)
invoked from within
“tk::CheckRadioInvoke .mainframe.frame.pw1.f0.frame.rb3”
(command bound to event)

PLease help!
vishal

On 2/26/06, Michael Barton michael.Sbarton@asu.edu wrote:

The new GIS Manager (gis.m) is in beta testing and I’ve been fixing bugs
regularly.

Please update to the most current version (24 February 2006). You can get
this by updating from the cvs and recompiling or by getting the package off
my website http://www.public.asu.edu/~cmbarton/files/grass_gismgr
…and replacing the files in $GISBASE/etc/gm with those in the package you
download.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: “Ing.Peter Misovic” < peter.misovic@gmail.com mailto:peter.misovic@gmail.com >
Date: Sun, 26 Feb 2006 01:34:57 +0100
To: GRASSLIST GRASSLIST@baylor.edu
Subject: [GRASSLIST:10572] GRASS 6.1cvs gis.m error

Dear all

I’d like to ask you for help with gis.m Grass manager. Manager is not
starting properly 'cause it is crashing with following error :

GRASS 6.1.cvs (spearfish):confused: > gis.m
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
GRASS_WIDTH=640, GRASS_HEIGHT=482
Graphics driver [gism] started
ERROR: PNG: couldn’t open output file dispmon_1.ppm
ERROR eof from graphics driver.

And if I press Enter in error window, gis.m starts, but no work is
possible at all. My Grass version is
grass-6.1.cvs_src_snapshot_2006_02_20 .

Thank you for your help,
Peter Misovic

Thanks Stefano. Glad it's an improvement.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: Stefano Costa <steko@iosa.it>
Date: Sun, 26 Feb 2006 11:20:15 +0100
To: Vishal Mehta <vishalm1975@gmail.com>
Cc: Michael Barton <michael.barton@asu.edu>, "Ing.Peter Misovic"
<peter.misovic@gmail.com>, Multiple recipients of list <GRASSLIST@baylor.edu>
Subject: Re: [GRASSLIST:10581] Re: problems with GIS managerRe: GRASS 6.1cvs
gis.m error

Scrive Vishal Mehta <vishalm1975@gmail.com>:

Hi,

i've been trying to install GRASS, on my Ubunty Hoary distribution, the
GRASS distribution Generic GNU/Linux
(ia32)<http://grass.itc.it/grass61/binary/linux/snapshot/&gt;\(generated
weekly):
I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006

I compiled from CVS (checked out yesterday) on Ubuntu *Breezy* and eveything
went fine.

Here's my ./configure line:

CFLAGS="-O2 -march=athlon -Wall" LDFLAGS="-s" ./configure
--with-tcltk-includes=/usr/include/tcl8.3
--with-postgres-includes=/usr/include/postgresql --with-cxx --with-readline

You might find useful the instructions here:
http://casoilresource.lawr.ucdavis.edu/drupal/node/123
That help you compiling step-by-step.

HTH. By the way, good job Michael, gis.m is quickly becoming user-friendly!

--
Stefano Costa
http://www.iosa.it * Software Libero per l'Archeologia
Jabber: steko@jabber.linux.it

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Hi Mike,
After entering grass, i saw that The grassrc6 file did have “MONITOR: X1” - which i deleted. I also checked the monitorcap file, which did not have duplicates.

I’m still getting the same errors. copied below is the monitorcap file:

any other suggestions? thanks much for your reply…- vishal

Monitorcap file: describes the monitors available to your

users. Fields:

driver name :

actual program name :

short description presented to users :

the names of two fifo files for interprocess communication :

full pathname of tty from which device must be started (if any) :

message user gets if driver is started from wrong tty

x0:driver/XDRIVER:X-windows graphics display:
dev/fifo.1a dev/fifo.1b
::any terminal
x1:driver/XDRIVER:X-windows graphics display:
dev/fifo.2a dev/fifo.2b
::any terminal
x2:driver/XDRIVER:X-windows graphics display:
dev/fifo.3a dev/fifo.3b
::any terminal
x3:driver/XDRIVER:X-windows graphics display:
dev/fifo.4a dev/fifo.4b
::any terminal
x4:driver/XDRIVER:X-windows graphics display:
dev/fifo.5a dev/fifo.5b
::any terminal
x5:driver/XDRIVER:X-windows graphics display:
dev/fifo.6a dev/fifo.6b
::any terminal
x6:driver/XDRIVER:X-windows graphics display:
dev/fifo.7a dev/fifo.7b
::any terminal
CELL:driver/CELL:Create GRASS Raster File:
dev/fifo.8a dev/fifo.8b
::any terminal
#sunview:driver/SUNVIEW:Sun graphics display: \

dev/fifo.9a dev/fifo.9b \

::any terminal

#4105:driver/4105:Tektronix 4105: \

dev/fifo.10a dev/fifo.10b \

::any terminal

#iris:driver/IRIS:Silicon Graphics IRIS Workstation: \

dev/fifo.11a dev/fifo.11b \

::any terminal

#sun:driver/SUNCORE:Sun Core graphis display: \

dev/fifo.12a dev/fifo.12b \

::any terminal

#IGRAPH:driver/IGRAPH:Intergraph graphics display: \

dev/fifo.13a dev/fifo.13b \

::any terminal

#mass:driver/MASS:Masscomp graphics display: \

dev/fifo.14a dev/fifo.14b \

::any terminal

PNG:driver/PNG:Create PNG Map:
dev/fifo.16a dev/fifo.16b
::any terminal

On 2/26/06, Michael Barton <michael.barton@asu.edu> wrote:

Vishal,

This is a different issue from what Peter reported. It sounds like there is a problem with your installation. I’d start by looking at the .grassrc6 file in your home directory. If there is a line that specifies a monitor to start, delete it. Next I’d look at the monitorcap file that should be in $GISBASE/etc/.

See if you have one. If you do, look at it with a text editor. It should have one line for each potential display monitor it can open. There should not be any duplicates. I’ve had duplicates show up in a Mac build recently.

In a strange, unrelated problem (but then again, maybe not), that has affected a student in my lab who updated to the newest Cygwin binary. Whenever he starts GRASS, it opens a saved workspace file even though he doesn’t explicitly instruct it to do so.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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


From: Vishal Mehta <vishalm1975@gmail.com>
Date: Sun, 26 Feb 2006 15:07:43 +0530
To: Michael Barton <michael.barton@asu.edu>
Cc: “Ing.Peter Misovic” <peter.misovic@gmail.com>, Multiple recipients of list < GRASSLIST@baylor.edu>
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi,

i’ve been trying to install GRASS, on my Ubunty Hoary distribution, the GRASS distribution Generic GNU/Linux (ia32) http://grass.itc.it/grass61/binary/linux/snapshot/ (generated weekly):

I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006
but am having problems as soon as i ‘enter GRASS’. I’ve tried updating the scripts you mention in the last email from your website but still get the same error
On the command window i get:

Could not execute monitor: No such file or directory
No socket to connect to for monitor .
Problem selecting x3. Will try once more

and the error log in the GIS Manager is:
child process exited abnormally
while executing
“exec – d.mon start=x3 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
“run “d.mon start=$mon””
invoked from within
“if ![catch {open “|d.mon -L” r} input] {
while {[gets $input line] >= 0} {
if {[regexp -nocase “$mon.*not running” $line]} {
r…”
(procedure “Dm::displmon” line 3)
invoked from within
“Dm::displmon x3”
invoked from within
“.mainframe.frame.pw1.f0.frame.rb3 invoke”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w $cmd]”
(procedure “tk::CheckRadioInvoke” line 3)
invoked from within
“tk::CheckRadioInvoke .mainframe.frame.pw1.f0.frame.rb3”
(command bound to event)

PLease help!
vishal

On 2/26/06, Michael Barton <michael.Sbarton@asu.edu> wrote:

The new GIS Manager (gis.m) is in beta testing and I’ve been fixing bugs
regularly.

Please update to the most current version (24 February 2006). You can get
this by updating from the cvs and recompiling or by getting the package off
my website http://www.public.asu.edu/~cmbarton/files/grass_gismgr
…and replacing the files in $GISBASE/etc/gm with those in the package you
download.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: “Ing.Peter Misovic” < peter.misovic@gmail.com mailto:peter.misovic@gmail.com >
Date: Sun, 26 Feb 2006 01:34:57 +0100
To: GRASSLIST <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:10572] GRASS 6.1cvs gis.m error

Dear all

I’d like to ask you for help with gis.m Grass manager. Manager is not
starting properly 'cause it is crashing with following error :

GRASS 6.1.cvs (spearfish):confused: > gis.m
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
GRASS_WIDTH=640, GRASS_HEIGHT=482
Graphics driver [gism] started
ERROR: PNG: couldn’t open output file dispmon_1.ppm
ERROR eof from graphics driver.

And if I press Enter in error window, gis.m starts, but no work is
possible at all. My Grass version is
grass-6.1.cvs_src_snapshot_2006_02_20 .

Thank you for your help,
Peter Misovic

This monitorcap file does not belong with the version of GRASS you say you downloaded ( grass6.1.cvs-i686-pc-linux-gnu-25_02_2006). It should look different.

This makes me think that there is some kind of problem with your source download or another issue with mixed versions and files.

I suggest you do a completely clean download of GRASS and a make clean before you compile.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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


From: Vishal Mehta vishalm1975@gmail.com
Date: Mon, 27 Feb 2006 11:02:16 +0530
To: Michael Barton michael.barton@asu.edu
Cc: “Ing.Peter Misovic” peter.misovic@gmail.com, Multiple recipients of list GRASSLIST@baylor.edu
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi Mike,
After entering grass, i saw that The grassrc6 file did have “MONITOR: X1” - which i deleted. I also checked the monitorcap file, which did not have duplicates.

I’m still getting the same errors. copied below is the monitorcap file:

any other suggestions? thanks much for your reply…- vishal

Monitorcap file: describes the monitors available to your

users. Fields:

driver name :

actual program name :

short description presented to users :

the names of two fifo files for interprocess communication :

full pathname of tty from which device must be started (if any) :

message user gets if driver is started from wrong tty

x0:driver/XDRIVER:X-windows graphics display:
dev/fifo.1a dev/fifo.1b
::any terminal
x1:driver/XDRIVER:X-windows graphics display:
dev/fifo.2a dev/fifo.2b
::any terminal
x2:driver/XDRIVER:X-windows graphics display:
dev/fifo.3a dev/fifo.3b
::any terminal
x3:driver/XDRIVER:X-windows graphics display:
dev/fifo.4a dev/fifo.4b
::any terminal
x4:driver/XDRIVER:X-windows graphics display:
dev/fifo.5a dev/fifo.5b
::any terminal
x5:driver/XDRIVER:X-windows graphics display:
dev/fifo.6a dev/fifo.6b
::any terminal
x6:driver/XDRIVER:X-windows graphics display:
dev/fifo.7a dev/fifo.7b
::any terminal
CELL:driver/CELL:Create GRASS Raster File:
dev/fifo.8a dev/fifo.8b
::any terminal
#sunview:driver/SUNVIEW:Sun graphics display: \

dev/fifo.9a dev/fifo.9b \

::any terminal

#4105:driver/4105:Tektronix 4105: \

dev/fifo.10a dev/fifo.10b \

::any terminal

#iris:driver/IRIS:Silicon Graphics IRIS Workstation: \

dev/fifo.11a dev/fifo.11b \

::any terminal

#sun:driver/SUNCORE:Sun Core graphis display: \

dev/fifo.12a dev/fifo.12b \

::any terminal

#IGRAPH:driver/IGRAPH:Intergraph graphics display: \

dev/fifo.13a dev/fifo.13b \

::any terminal

#mass:driver/MASS:Masscomp graphics display: \

dev/fifo.14a dev/fifo.14b \

::any terminal

PNG:driver/PNG:Create PNG Map:
dev/fifo.16a dev/fifo.16b
::any terminal

On 2/26/06, Michael Barton michael.barton@asu.edu wrote:

Vishal,

This is a different issue from what Peter reported. It sounds like there is a problem with your installation. I’d start by looking at the .grassrc6 file in your home directory. If there is a line that specifies a monitor to start, delete it. Next I’d look at the monitorcap file that should be in $GISBASE/etc/.

See if you have one. If you do, look at it with a text editor. It should have one line for each potential display monitor it can open. There should not be any duplicates. I’ve had duplicates show up in a Mac build recently.

In a strange, unrelated problem (but then again, maybe not), that has affected a student in my lab who updated to the newest Cygwin binary. Whenever he starts GRASS, it opens a saved workspace file even though he doesn’t explicitly instruct it to do so.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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


From: Vishal Mehta vishalm1975@gmail.com
Date: Sun, 26 Feb 2006 15:07:43 +0530
To: Michael Barton michael.barton@asu.edu
Cc: “Ing.Peter Misovic” peter.misovic@gmail.com, Multiple recipients of list < GRASSLIST@baylor.edu>
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi,

i’ve been trying to install GRASS, on my Ubunty Hoary distribution, the GRASS distribution Generic GNU/Linux (ia32) http://grass.itc.it/grass61/binary/linux/snapshot/ (generated weekly):

I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006
but am having problems as soon as i ‘enter GRASS’. I’ve tried updating the scripts you mention in the last email from your website but still get the same error
On the command window i get:

Could not execute monitor: No such file or directory
No socket to connect to for monitor .
Problem selecting x3. Will try once more

and the error log in the GIS Manager is:
child process exited abnormally
while executing
“exec – d.mon start=x3 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
“run “d.mon start=$mon””
invoked from within
“if ![catch {open “|d.mon -L” r} input] {
while {[gets $input line] >= 0} {
if {[regexp -nocase “$mon.*not running” $line]} {
r…”
(procedure “Dm::displmon” line 3)
invoked from within
“Dm::displmon x3”
invoked from within
“.mainframe.frame.pw1.f0.frame.rb3 invoke”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w $cmd]”
(procedure “tk::CheckRadioInvoke” line 3)
invoked from within
“tk::CheckRadioInvoke .mainframe.frame.pw1.f0.frame.rb3”
(command bound to event)

PLease help!
vishal

On 2/26/06, Michael Barton michael.Sbarton@asu.edu wrote:

The new GIS Manager (gis.m) is in beta testing and I’ve been fixing bugs
regularly.

Please update to the most current version (24 February 2006). You can get
this by updating from the cvs and recompiling or by getting the package off
my website http://www.public.asu.edu/~cmbarton/files/grass_gismgr http://www.public.asu.edu/~cmbarton/files/grass_gismgr
…and replacing the files in $GISBASE/etc/gm with those in the package you
download.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: “Ing.Peter Misovic” < peter.misovic@gmail.com mailto:peter.misovic@gmail.com >
Date: Sun, 26 Feb 2006 01:34:57 +0100
To: GRASSLIST GRASSLIST@baylor.edu
Subject: [GRASSLIST:10572] GRASS 6.1cvs gis.m error

Dear all

I’d like to ask you for help with gis.m Grass manager. Manager is not
starting properly 'cause it is crashing with following error :

GRASS 6.1.cvs (spearfish):confused: > gis.m
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
GRASS_WIDTH=640, GRASS_HEIGHT=482
Graphics driver [gism] started
ERROR: PNG: couldn’t open output file dispmon_1.ppm
ERROR eof from graphics driver.

And if I press Enter in error window, gis.m starts, but no work is
possible at all. My Grass version is
grass-6.1.cvs_src_snapshot_2006_02_20 .

Thank you for your help,
Peter Misovic

Hi Mike,

I just tried removing and re-installing the same binary(although i have not yet tried compiing from source as you suggest).
Please note, about both the Feb 20 and Feb 25 cvs binaries, there is NO MONITORCAP file at all! Hence i get a series of errors at this point…

Then, to get past the initial errors i keep getting, i copy your gis.m script and folder as well as your monitorcap file.

Only after this does GRASS start, and then i get the errors in starting a monitor that we have been discussing.

Does this give you any pointers to the problem?
-vishal

On 2/27/06, Michael Barton <michael.barton@asu.edu> wrote:

This monitorcap file does not belong with the version of GRASS you say you downloaded ( grass6.1.cvs-i686-pc-linux-gnu-25_02_2006). It should look different.

This makes me think that there is some kind of problem with your source download or another issue with mixed versions and files.

I suggest you do a completely clean download of GRASS and a make clean before you compile.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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


From: Vishal Mehta <vishalm1975@gmail.com>
Date: Mon, 27 Feb 2006 11:02:16 +0530
To: Michael Barton <michael.barton@asu.edu>
Cc: “Ing.Peter Misovic” <peter.misovic@gmail.com>, Multiple recipients of list < GRASSLIST@baylor.edu>
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi Mike,
After entering grass, i saw that The grassrc6 file did have “MONITOR: X1” - which i deleted. I also checked the monitorcap file, which did not have duplicates.

I’m still getting the same errors. copied below is the monitorcap file:

any other suggestions? thanks much for your reply…- vishal

Monitorcap file: describes the monitors available to your

users. Fields:

driver name :

actual program name :

short description presented to users :

the names of two fifo files for interprocess communication :

full pathname of tty from which device must be started (if any) :

message user gets if driver is started from wrong tty

x0:driver/XDRIVER:X-windows graphics display:
dev/fifo.1a dev/fifo.1b
::any terminal
x1:driver/XDRIVER:X-windows graphics display:
dev/fifo.2a dev/fifo.2b
::any terminal
x2:driver/XDRIVER:X-windows graphics display:
dev/fifo.3a dev/fifo.3b
::any terminal
x3:driver/XDRIVER:X-windows graphics display:
dev/fifo.4a dev/fifo.4b
::any terminal
x4:driver/XDRIVER:X-windows graphics display:
dev/fifo.5a dev/fifo.5b
::any terminal
x5:driver/XDRIVER:X-windows graphics display:
dev/fifo.6a dev/fifo.6b
::any terminal
x6:driver/XDRIVER:X-windows graphics display:
dev/fifo.7a dev/fifo.7b
::any terminal
CELL:driver/CELL:Create GRASS Raster File:
dev/fifo.8a dev/fifo.8b
::any terminal
#sunview:driver/SUNVIEW:Sun graphics display: \

dev/fifo.9a dev/fifo.9b \

::any terminal

#4105:driver/4105:Tektronix 4105: \

dev/fifo.10a dev/fifo.10b \

::any terminal

#iris:driver/IRIS:Silicon Graphics IRIS Workstation: \

dev/fifo.11a dev/fifo.11b \

::any terminal

#sun:driver/SUNCORE:Sun Core graphis display: \

dev/fifo.12a dev/fifo.12b \

::any terminal

#IGRAPH:driver/IGRAPH:Intergraph graphics display: \

dev/fifo.13a dev/fifo.13b \

::any terminal

#mass:driver/MASS:Masscomp graphics display: \

dev/fifo.14a dev/fifo.14b \

::any terminal

PNG:driver/PNG:Create PNG Map:
dev/fifo.16a dev/fifo.16b
::any terminal

On 2/26/06, Michael Barton <michael.barton@asu.edu> wrote:

Vishal,

This is a different issue from what Peter reported. It sounds like there is a problem with your installation. I’d start by looking at the .grassrc6 file in your home directory. If there is a line that specifies a monitor to start, delete it. Next I’d look at the monitorcap file that should be in $GISBASE/etc/.

See if you have one. If you do, look at it with a text editor. It should have one line for each potential display monitor it can open. There should not be any duplicates. I’ve had duplicates show up in a Mac build recently.

In a strange, unrelated problem (but then again, maybe not), that has affected a student in my lab who updated to the newest Cygwin binary. Whenever he starts GRASS, it opens a saved workspace file even though he doesn’t explicitly instruct it to do so.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671

www: http://www.public.asu.edu/~cmbarton http://www.public.asu.edu/~cmbarton


From: Vishal Mehta <vishalm1975@gmail.com>
Date: Sun, 26 Feb 2006 15:07:43 +0530
To: Michael Barton <michael.barton@asu.edu>
Cc: “Ing.Peter Misovic” <peter.misovic@gmail.com>, Multiple recipients of list < GRASSLIST@baylor.edu>
Subject: Re: problems with GIS managerRe: GRASS 6.1cvs gis.m error

Hi,

i’ve been trying to install GRASS, on my Ubunty Hoary distribution, the GRASS distribution Generic GNU/Linux (ia32) http://grass.itc.it/grass61/binary/linux/snapshot/ (generated weekly):

I downloaded grass6.1.cvs-i686-pc-linux-gnu-25_02_2006
but am having problems as soon as i ‘enter GRASS’. I’ve tried updating the scripts you mention in the last email from your website but still get the same error
On the command window i get:

Could not execute monitor: No such file or directory
No socket to connect to for monitor .
Problem selecting x3. Will try once more

and the error log in the GIS Manager is:
child process exited abnormally
while executing
“exec – d.mon start=x3 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
“run “d.mon start=$mon””
invoked from within
“if ![catch {open “|d.mon -L” r} input] {
while {[gets $input line] >= 0} {
if {[regexp -nocase “$mon.*not running” $line]} {
r…”
(procedure “Dm::displmon” line 3)
invoked from within
“Dm::displmon x3”
invoked from within
“.mainframe.frame.pw1.f0.frame.rb3 invoke”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w $cmd]”
(procedure “tk::CheckRadioInvoke” line 3)
invoked from within
“tk::CheckRadioInvoke .mainframe.frame.pw1.f0.frame.rb3”
(command bound to event)

PLease help!
vishal

On 2/26/06, Michael Barton <michael.Sbarton@asu.edu> wrote:

The new GIS Manager (gis.m) is in beta testing and I’ve been fixing bugs
regularly.

Please update to the most current version (24 February 2006). You can get
this by updating from the cvs and recompiling or by getting the package off

my website http://www.public.asu.edu/~cmbarton/files/grass_gismgr http://www.public.asu.edu/~cmbarton/files/grass_gismgr
…and replacing the files in $GISBASE/etc/gm with those in the package you
download.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

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

From: “Ing.Peter Misovic” < peter.misovic@gmail.com mailto:peter.misovic@gmail.com >
Date: Sun, 26 Feb 2006 01:34:57 +0100
To: GRASSLIST <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:10572] GRASS 6.1cvs gis.m error

Dear all

I’d like to ask you for help with gis.m Grass manager. Manager is not
starting properly 'cause it is crashing with following error :

GRASS 6.1.cvs (spearfish):confused: > gis.m
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
GRASS_WIDTH=640, GRASS_HEIGHT=482
Graphics driver [gism] started
ERROR: PNG: couldn’t open output file dispmon_1.ppm
ERROR eof from graphics driver.

And if I press Enter in error window, gis.m starts, but no work is
possible at all. My Grass version is
grass-6.1.cvs_src_snapshot_2006_02_20 .

Thank you for your help,
Peter Misovic

Michael Barton wrote:

In a strange, unrelated problem (but then again, maybe not), that has
affected a student in my lab who updated to the newest Cygwin binary.
Whenever he starts GRASS, it opens a saved workspace file even though he
doesn¹t explicitly instruct it to do so.

Two things spring to mind initially:

1. Cygwin's Tcl/Tk package is weird. It is neither Unix nor Windows
Tcl/Tk, but a hybrid of the two. If he's using Cygwin's Tcl/Tk for
gis.m, there's no telling what will happen.

2. Scripting languages (e.g. Bourne shell and Tcl) make it easy to
write code which doesn't work when pathnames contain spaces, which is
a lot more common on Windows than on Unix.

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

In this case, he's using the version of TclTk that is supplied with Huidae
Cho's binaries. The Cygwin TclTk doesn't work with GRASS.

Haven't checked yet to see if there is some 'rogue code' in the d.m script,
but that will be next.

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Glynn Clements <glynn@gclements.plus.com>
Date: Mon, 27 Feb 2006 16:42:52 +0000
To: Michael Barton <michael.barton@asu.edu>
Cc: Multiple recipients of list <GRASSLIST@baylor.edu>
Subject: Re: [GRASSLIST:10586] Re: problems with GIS managerRe: GRASS 6.1cvs
gis.m error

Michael Barton wrote:

In a strange, unrelated problem (but then again, maybe not), that has
affected a student in my lab who updated to the newest Cygwin binary.
Whenever he starts GRASS, it opens a saved workspace file even though he
doesn¹t explicitly instruct it to do so.

Two things spring to mind initially:

1. Cygwin's Tcl/Tk package is weird. It is neither Unix nor Windows
Tcl/Tk, but a hybrid of the two. If he's using Cygwin's Tcl/Tk for
gis.m, there's no telling what will happen.

2. Scripting languages (e.g. Bourne shell and Tcl) make it easy to
write code which doesn't work when pathnames contain spaces, which is
a lot more common on Windows than on Unix.

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