[GRASS-user] d.m.tcl

hi list,

im working on a fc6 and a fc5 machine and installed them from scratch with the
newest grass63-cvs. if i try to start the display manager i get the following
error (see below). furthermore g.copy doesn't work for raster maps
('Speicherzugriffsfehler'; should be something like 'memory access error').
i suppose i have any problem with tcl/tk or gdal, or a missing link... but i
tried both: tcl/tk8.4 and tcl/tk8.5; gdal-1.3.2 and gdal-1.4.0

thanks for helping,
martin

GRASS 6.3.cvs (utm):~ > d.m
GRASS 6.3.cvs (utm):~ > Error in startup script:
Fehler: Benötigter Parameter <output> ist nicht gesetzt:
    (PostScript Ausgabedatei).

Beschreibung:
Werkzeug zur Erstellung von Ausgabekarten im PostScript-Format.

Schlüsselwörter:
Postscript, Karte, Drucken

Benutzung:
ps.map [-rpe] [input=string] output=string [scale=mapscale]
   [copies=value] [--verbose] [--quiet]

Flags:
  -r Rotiere Zeichnung um 90 Grad
  -p Gebe Papierformate aus (Name Breite Höhe links rechts oben unten(Rand) )
  -e Erzeugt EPS (Encapsulated PostScript) anstatt PostScript-Dateien.
--v Gesprächige Modulausgabe (verbose)
--q Schweigsame Modulausgabe

Parameter:
   input Datei die Instruktionen zum Kartenzeichnen enthält (Oder benutzen Sie
input=- für eine interaktive Eingabe über die Tastatur).
  output PostScript Ausgabedatei
   scale Maßstab der Ausgabekarte, z.B. 1:25000 (standardmäßig: Anpassung an
die Seite)
  copies Anzahl der Kopien.
           Optionen: 1-20
    while executing
"exec ps.map -p"
    (procedure "DmPrint::init" line 14)
    invoked from within
"DmPrint::init"
    (procedure "main" line 34)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.3.cvs/etc/dm/d.m.tcl" line 1637)

Martin,

"d.m" is a script that calls the old x11 display based TclTk GUI. It is no
longer supported, though it still ships with the default GRASS build for
backward compatibility and because some people prefer it.

The current GUI uses TclTk displays and has many more display controls than
the old one. It should be called automatically when you open GRASS. If not,
you can start it with by calling the script gis.m & from the command line
instead of d.m &.

(Note that I follow either command with an ampersand "&". This is so that
either GUI will run and NOT tie up the GRASS command line, leaving it open
for you to issue other commands if you want.).

Michael

On 2/16/07 10:36 AM, "Martin Rutzinger" <Martin.Rutzinger@uibk.ac.at> wrote:

hi list,

im working on a fc6 and a fc5 machine and installed them from scratch with the
newest grass63-cvs. if i try to start the display manager i get the following
error (see below). furthermore g.copy doesn't work for raster maps
('Speicherzugriffsfehler'; should be something like 'memory access error').
i suppose i have any problem with tcl/tk or gdal, or a missing link... but i
tried both: tcl/tk8.4 and tcl/tk8.5; gdal-1.3.2 and gdal-1.4.0

thanks for helping,
martin

GRASS 6.3.cvs (utm):~ > d.m
GRASS 6.3.cvs (utm):~ > Error in startup script:
Fehler: Benötigter Parameter <output> ist nicht gesetzt:
    (PostScript Ausgabedatei).

Beschreibung:
Werkzeug zur Erstellung von Ausgabekarten im PostScript-Format.

Schlüsselwörter:
Postscript, Karte, Drucken

Benutzung:
ps.map [-rpe] [input=string] output=string [scale=mapscale]
   [copies=value] [--verbose] [--quiet]

Flags:
  -r Rotiere Zeichnung um 90 Grad
  -p Gebe Papierformate aus (Name Breite Höhe links rechts oben unten(Rand)
)
  -e Erzeugt EPS (Encapsulated PostScript) anstatt PostScript-Dateien.
--v Gesprächige Modulausgabe (verbose)
--q Schweigsame Modulausgabe

Parameter:
   input Datei die Instruktionen zum Kartenzeichnen enthält (Oder benutzen
Sie
input=- für eine interaktive Eingabe über die Tastatur).
  output PostScript Ausgabedatei
   scale Maßstab der Ausgabekarte, z.B. 1:25000 (standardmäßig: Anpassung an
die Seite)
  copies Anzahl der Kopien.
           Optionen: 1-20
    while executing
"exec ps.map -p"
    (procedure "DmPrint::init" line 14)
    invoked from within
"DmPrint::init"
    (procedure "main" line 34)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.3.cvs/etc/dm/d.m.tcl" line 1637)

__________________________________________
Michael Barton, Professor of Anthropology
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

Michael Barton wrote:

Martin,

"d.m" is a script that calls the old x11 display based TclTk GUI. It is no
longer supported, though it still ships with the default GRASS build for
backward compatibility and because some people prefer it.

Martin,

The reason for d.m not starting is a recent change introduced to
ps.map, which d.m calls at startup. After this issue is solved, d.m
will be operational again. Developers are informed:
http://grass.itc.it/pipermail/grass5/2007-February/029067.html

Note that this problem has been reported in another email too:
http://grass.itc.it/pipermail/grassuser/2007-February/038483.html

Maciek

Maciej Sieczka wrote:

The reason for d.m not starting is a recent change introduced to
ps.map, which d.m calls at startup. After this issue is solved, d.m
will be operational again. Developers are informed:
http://grass.itc.it/pipermail/grass5/2007-February/029067.html

Note that this problem has been reported in another email too:
http://grass.itc.it/pipermail/grassuser/2007-February/038483.html

fixed in CVS.

Michael Barton wrote:
> "d.m" is a script that calls the old x11 display based TclTk GUI. It
> is no longer supported, though it still ships with the default GRASS
> build for backward compatibility and because some people prefer it.

I will continue support d.m (keep it going; attempt to fix bugs) until
the new WxPython GUI comes online. I plan on removing d.m from the
Makefile the same time the wxGUI is added. There will be no new d.m
development, gis.m is currently the active target.

Hamish

Thanks very much Hamish. I'm sure that this will be helpful to some. I'm
already having split personality issues going back and forth between TclTk
(with the gis.m called GUI) and the new wx.Python. I guess that's why I'm
not a real programmer.

Michael

On 2/18/07 10:24 PM, "Hamish" <hamish_nospam@yahoo.com> wrote:

Maciej Sieczka wrote:

The reason for d.m not starting is a recent change introduced to
ps.map, which d.m calls at startup. After this issue is solved, d.m
will be operational again. Developers are informed:
http://grass.itc.it/pipermail/grass5/2007-February/029067.html

Note that this problem has been reported in another email too:
http://grass.itc.it/pipermail/grassuser/2007-February/038483.html

fixed in CVS.

Michael Barton wrote:

"d.m" is a script that calls the old x11 display based TclTk GUI. It
is no longer supported, though it still ships with the default GRASS
build for backward compatibility and because some people prefer it.

I will continue support d.m (keep it going; attempt to fix bugs) until
the new WxPython GUI comes online. I plan on removing d.m from the
Makefile the same time the wxGUI is added. There will be no new d.m
development, gis.m is currently the active target.

Hamish

__________________________________________
Michael Barton, Professor of Anthropology
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