[GRASS5] [bug #3076] (grass) CELL dirver fails

this bug's URL: http://intevation.de/rt/webrt?serial_num=3076
-------------------------------------------------------------------------

Subject: CELL dirver fails

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot_2005_03_05

child process exited abnormally
    while executing
"exec -- d.mon start=CELL >@ 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=CELL"
    invoked from within
".#menubar.#menubar#menu2.#menubar#menu2#menu4 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tkMenuInvoke" line 47)
    invoked from within
"tkMenuInvoke .#menubar.#menubar#menu2.#menubar#menu2#menu4 1
"Welcome to GRASS 6.0.cvs (2005)
GRASS homepage: http://grass.itc.it/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the graphical user interface with: d.m &
When ready to quit enter: exit
GRASS 6.0.cvs (lafay_gdal):/ext2e/data/GRASSDATA > Could not execute monitor: No such file or directory
No socket to connect to for monitor <CELL>.
Problem selecting CELL. Will try once more
No socket to connect to for monitor <CELL>.

-------------------------------------------- Managed by Request Tracker

On Mon, Mar 07, 2005 at 07:40:20PM +0100, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3076
-------------------------------------------------------------------------

Subject: CELL dirver fails

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot_2005_03_05

child process exited abnormally
    while executing
"exec -- d.mon start=CELL >@ stdout 2>@ stderr"

...

GRASS 6.0.cvs (lafay_gdal):/ext2e/data/GRASSDATA > Could not execute monitor: No such file or directory
No socket to connect to for monitor <CELL>.
Problem selecting CELL. Will try once more
No socket to connect to for monitor <CELL>.

The CELL driver was not ported (yet?) to GRASS 6.
Please use the PNG driver which is even more powerful.

Markus

The CELL driver has been non-functional since the switch to 5.7 (now 6). I
don't know why it still shows up as existing when you list available
monitors, but this should probably be disabled--unless there are plans to
revive the CELL driver.

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: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Mon, 7 Mar 2005 19:40:20 +0100 (CET)
To: <grass5@grass.itc.it>
Subject: [GRASS5] [bug #3076] (grass) CELL dirver fails

this bug's URL: http://intevation.de/rt/webrt?serial_num=3076
-------------------------------------------------------------------------

Subject: CELL dirver fails

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot_2005_03_05

child process exited abnormally
    while executing
"exec -- d.mon start=CELL >@ 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=CELL"
    invoked from within
".#menubar.#menubar#menu2.#menubar#menu2#menu4 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tkMenuInvoke" line 47)
    invoked from within
"tkMenuInvoke .#menubar.#menubar#menu2.#menubar#menu2#menu4 1
"Welcome to GRASS 6.0.cvs (2005)
GRASS homepage: http://grass.itc.it/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the graphical user interface with: d.m &
When ready to quit enter: exit
GRASS 6.0.cvs (lafay_gdal):/ext2e/data/GRASSDATA > Could not execute monitor:
No such file or directory
No socket to connect to for monitor <CELL>.
Problem selecting CELL. Will try once more
No socket to connect to for monitor <CELL>.

-------------------------------------------- Managed by Request Tracker

this bug's URL: http://intevation.de/rt/webrt?serial_num=3076
---------------------------------------------------------------------

..
Michael:

The CELL driver has been non-functional since the switch to 5.7 (now
6). I don't know why it still shows up as existing when you list
available monitors, but this should probably be disabled--unless there
are plans to revive the CELL driver.

Markus:

The CELL driver was not ported (yet?) to GRASS 6.
Please use the PNG driver which is even more powerful.

Is there any point/advantage to having a CELL driver anymore?
What could it be used for that can't be done via another path?

http://grass.ibiblio.org/gdp/html_grass5/html/celldriver.html

Echoing Michael, if no reason to keep it, time for formal retirement?

Hamish

Hamish wrote:

> The CELL driver has been non-functional since the switch to 5.7 (now
> 6). I don't know why it still shows up as existing when you list
> available monitors, but this should probably be disabled--unless there
> are plans to revive the CELL driver.

Markus:
> The CELL driver was not ported (yet?) to GRASS 6.
> Please use the PNG driver which is even more powerful.

Is there any point/advantage to having a CELL driver anymore?
What could it be used for that can't be done via another path?

Given that both the CELL and PNG drivers behave in a near-identical
manner, i.e. store values in a 2D "array" then convert the array to an
external representation upon either termination or R_close_driver(),
there should probably be some re-factoring in that area.

IOW, either:

a) merge the CELL and PNG drivers so that the CELL functionality is
essentially just another output "target" (e.g. if GRASS_PNGFILE
doesn't end in ".png" or ".ppm", it's treated as a map name), or

b) move the bulk of the PNG driver into a library; either the existing
driverlib or a new library specifically for drivers which behave like
the CELL and PNG drivers.

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