Re: [GRASS-user] Re: read "parts(w)": no such variable
I'll take a look at this when I get back in town. At least this gives me some idea how to test for this error. Michael On 4/16/08 8:21 PM, "Hamish" <[EMAIL PROTECTED]> wrote: GRASS 6.3.0RC6 (latlong_ohrfc):~/.ssh > Error in startup script: can't read "parts(w)": no such variable while executing > > Michael: >>> We've tried to trap this and provide better feedback, but if GDAL is >>> broken/misinstalled/etc., this hits before any error trapping can be >>> implemented. > > Glynn: >> AFAIK, this is due to g.region failing. It ought to be possible to >> detect that g.region failed before you start trying to parse the >> output. >> >> And even if you can't detect the abnormal termination, you could >> detect that the output is bogus. >> >> Of course, that won't make everything work, but you could produce a >> more useful error message. > > > yesterday I added this change to make it even more catchy: > http://trac.osgeo.org/grass/changeset/31010 > > It looks to see if the parts array was created. (the wording could still > be much improved... perhaps to "Check the g.region module" ?) > > > should that get an "exit" or "return" added after the error message? > or should it be thrown to the command line? > > I had a weird problem with it when I tested it. I renamed bin/g.region > and created a new g.region with just the shebang & "exit 1" in it. > > The splash startup historical map came up with the output window but then > froze. The splash map was stuck there until I went into the window > manager's (fluxbox) window list and selected "maximize" for the "Error" > window. Then I could see it (full screen) and hit [Ok] and get rid of the > splash screen and leave gis.m. I wrote this off as a fluxbox thing, but > maybe it needs to release the splash before it can make a new error > message popup box? > > > Hamish > > > > > __ > __ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > __ 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 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Some modules don't work dut to incorrect permissions in slaxGIS!
On Wed, 16 Apr 2008 21:31:03 -0700 (PDT) Hamish <[EMAIL PROTECTED]> wrote: > Nikos Alexandris wrote: > > > Example of modules thath don't work due to permission > error(s): > > > > > > v.external > > > g.mlist > > > > Actually there are a lot of scripts that wont run. > > v.external is a C modules, g.mlist is a shell script. > > ls -l $GISBASE/scripts/ > ls -l $GISBASE/bin/ > > > ? Correct. Anyhow, I am just pointing out to a problem in slaxGIS's GRASS63RC6. I just compiled fresh grass63svn and no problems appear with respect to these scripts. Greetings, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] using NVIZ
christian Brandt wrote: Dear list, I am using GRASS 6.3 on OpenSuse 10.2 ((X86-64). The data to be visualised was an ascii raster with z values. Regards Christian Date: Wed, 16 Apr 2008 15:39:11 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [GRASS-user] using NVIZ Dear Christian, please post to the list: - which GRASS version - which operating system - which data did you use... Markus On Wed, Apr 16, 2008 at 10:08 AM, christian Brandt wrote: Dear list, Trying to use the nviz module was encountered with the following error message: "child process exited abnormally" What means child process in this case? Regards Christian _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- Open Source Geospatial Foundation http://www.osgeo.org/ http://www.grassbook.org/ _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user It happens when you have switched off visibility of some layer data in gis. manager? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Some modules don't work dut to incorrect permissions in slaxGIS!
Nikos Alexandris wrote: > > Example of modules thath don't work due to permission error(s): > > > > v.external > > g.mlist > > Actually there are a lot of scripts that wont run. v.external is a C modules, g.mlist is a shell script. ls -l $GISBASE/scripts/ ls -l $GISBASE/bin/ ? Hamish Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] A color table without blended colors ?
Perfect ! That's what I was looking for. Thank you very much for this fast answer. I didn't understand everything you wrote, but I edited my text type color table by repeating the elevations. With my FP GeoTiff map made from several SRTM3 tiles, using r.colors and specifying my customized color table, it works the way I want. Thanks again. Eric I wrote: d.legend -f elevation.dem use=1100,1300,1500,1700,1900 range=1000,2000 for a cat (interger aka CELL) map you can assign each of the use= values a label like "1000-2000m" with the r.category or r.support modules. The Use the 'd.legend -c' flag to hide the midpoint number and just show the label. I think this used to work for FP (floating point aka FCELL or DCELL) maps too, but is currently broken. I've been meaning to look into that. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: read "parts(w)": no such variable
> > > GRASS 6.3.0RC6 (latlong_ohrfc):~/.ssh > Error in startup script: > > > can't read "parts(w)": no such variable > > > while executing Michael: > > We've tried to trap this and provide better feedback, but if GDAL is > > broken/misinstalled/etc., this hits before any error trapping can be > > implemented. Glynn: > AFAIK, this is due to g.region failing. It ought to be possible to > detect that g.region failed before you start trying to parse the > output. > > And even if you can't detect the abnormal termination, you could > detect that the output is bogus. > > Of course, that won't make everything work, but you could produce a > more useful error message. yesterday I added this change to make it even more catchy: http://trac.osgeo.org/grass/changeset/31010 It looks to see if the parts array was created. (the wording could still be much improved... perhaps to "Check the g.region module" ?) should that get an "exit" or "return" added after the error message? or should it be thrown to the command line? I had a weird problem with it when I tested it. I renamed bin/g.region and created a new g.region with just the shebang & "exit 1" in it. The splash startup historical map came up with the output window but then froze. The splash map was stuck there until I went into the window manager's (fluxbox) window list and selected "maximize" for the "Error" window. Then I could see it (full screen) and hit [Ok] and get rid of the splash screen and leave gis.m. I wrote this off as a fluxbox thing, but maybe it needs to release the splash before it can make a new error message popup box? Hamish Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] A color table without blended colors ?
I wrote: > d.legend -f elevation.dem use=1100,1300,1500,1700,1900 range=1000,2000 for a cat (interger aka CELL) map you can assign each of the use= values a label like "1000-2000m" with the r.category or r.support modules. The Use the 'd.legend -c' flag to hide the midpoint number and just show the label. I think this used to work for FP (floating point aka FCELL or DCELL) maps too, but is currently broken. I've been meaning to look into that. Hamish Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] A color table without blended colors ?
Eric Gaba wrote: > I'm a new comer in GRASS GIS and I would like to create a color table > for my raster DEMs using my own colors and specifying the altitudes (in > meters) for them. I created one by editing the srtm table but the > colors are blended and I want them clearly separated. Is it possible ? yes, just repeat the elevation twice: GRASS> r.colors elevation.dem color=rules Enter rules, "end" when done, "help" if you need it. Data range is 1066 to 1840 1000 blue 1200 blue 1200 cyan 1400 cyan 1400 yellow 1600 yellow 1600 red 1800 red 1800 white 2000 white end d.rast elevation.dem d.legend -f elevation.dem use=1100,1300,1500,1700,1900 range=1000,2000 more stuff here: http://hamish.bowman.googlepages.com/grass_color_maps http://trac.osgeo.org/grass/browser/grass-addons/raster/r.colors.tools Hamish Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] A color table without blended colors ?
Good day. I'm a new comer in GRASS GIS and I would like to create a color table for my raster DEMs using my own colors and specifying the altitudes (in meters) for them. I created one by editing the srtm table but the colors are blended and I want them clearly separated. Is it possible ?___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: grass-user Digest, Vol 24, Issue 32
Michael Barton wrote: > > GRASS 6.3.0RC6 (latlong_ohrfc):~/.ssh > Error in startup script: can't > > read "parts(w)": no such variable > > while executing > > This is a GDAL error. > > We've tried to trap this and provide better feedback, but if GDAL is > broken/misinstalled/etc., this hits before any error trapping can be > implemented. AFAIK, this is due to g.region failing. It ought to be possible to detect that g.region failed before you start trying to parse the output. And even if you can't detect the abnormal termination, you could detect that the output is bogus. Of course, that won't make everything work, but you could produce a more useful error message. -- Glynn Clements <[EMAIL PROTECTED]> ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Some modules don't work dut to incorrect permissions in slaxGIS!
On Wed, 2008-04-16 at 20:57 +0200, Nikos Alexandris wrote: > Example of modules thath don't work due to permission error(s): > > v.external > g.mlist Actually there are a lot of scripts that wont run. Somebody using slaxGIS? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Some modules don't work dut to incorrect permissions in slaxGIS!
> Hos anybody created a live-iso out of this (slaxGIS with custon datasets > and additional software installed)? http://www.slax.org/documentation_customize_slax.php ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Some modules don't work dut to incorrect permissions in slaxGIS!
(not sure whether I should direct this message in slaxGIS authors or in the community). slaxGIS is just amazing (current slaxGIS version: 080402): http://geomatica.como.polimi.it/software/slaxGIS/index.php. It's a pity that QGIS is not included (any more?). Example of modules thath don't work due to permission error(s): v.external g.mlist I don't think that I caused this incorrect permission problem. Can somebody confirm this? Hos anybody created a live-iso out of this (slaxGIS with custon datasets and additional software installed)? Thank you, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: grass-user Digest, Vol 24, Issue 32
This is a GDAL error. We've tried to trap this and provide better feedback, but if GDAL is broken/misinstalled/etc., this hits before any error trapping can be implemented. Michael On 4/16/08 9:00 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Date: Tue, 15 Apr 2008 19:36:53 -0400 > From: Thomas Adams <[EMAIL PROTECTED]> > Subject: [GRASS-user] GRASS 6.3.0RC6 startup error > To: grass-user@lists.osgeo.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > List: > > I have built from source various releases of GRASS over the years with > relatively few problems. However, I just built/installed GRASS 6.3.0RC6 > on a 64-bit Linux system (compiled with the 64-bit option turned on). I > did not receive any install errors. GRASS starts-up fine until I select > "Enter" (following selecting my location and mapset). Following this I > get a startup error message that reads: "Error setting region: child > process exited abnormally". The term window output looks like this: > > GRASS 6.3.0RC6 (latlong_ohrfc):~/.ssh > Error in startup script: can't > read "parts(w)": no such variable > while executing > "set $parts(w) [expr round($parts(w)/$parts(ewres))*$parts(ewres)]" > (procedure "MapCanvas::zoom_gregion" line 16) > invoked from within > "MapCanvas::zoom_gregion $mon" > (procedure "MapCanvas::create" line 40) > invoked from within > "MapCanvas::create" > (procedure "Gm::startmon" line 11) > invoked from within > "Gm::startmon" > (procedure "Gm::create" line 79) > invoked from within > "Gm::create" > (procedure "main" line 30) > invoked from within > "main $argc $argv" > (file "/usr/local/grass-6.3.0RC6/etc/gm/gm.tcl" line 541) > Error in startup script: can't read "parts(w)": no such variable > while executing > "set $parts(w) [expr round($parts(w)/$parts(ewres))*$parts(ewres)]" > (procedure "MapCanvas::zoom_gregion" line 16) > invoked from within > "MapCanvas::zoom_gregion $mon" > (procedure "MapCanvas::create" line 40) > invoked from within > "MapCanvas::create" > (procedure "Gm::startmon" line 11) > invoked from within > "Gm::startmon" > (procedure "Gm::create" line 79) > invoked from within > "Gm::create" > (procedure "main" line 30) > invoked from within > "main $argc $argv" > (file "/usr/local/grass-6.3.0RC6/etc/gm/gm.tcl" line 541) > > GRASS in the term window operates fine with command line input, but the > tcltk interface is DOA. What's interesting is that the tcltk output > window comes up and the medieval map slash window displays, but won't go > away until I click on the "OK" button which displays the error message. > > Any ideas what's going on? I have 6.3 cvs on a different machine that > compiled & runs fine. > > Regards, > Tom > __ 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 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
RE: [GRASS-user] using NVIZ
Dear list, I am using GRASS 6.3 on OpenSuse 10.2 ((X86-64). The data to be visualised was an ascii raster with z values. Regards Christian > Date: Wed, 16 Apr 2008 15:39:11 +0200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [GRASS-user] using NVIZ > > Dear Christian, > > please post to the list: > - which GRASS version > - which operating system > - which data did you use... > > Markus > > On Wed, Apr 16, 2008 at 10:08 AM, christian Brandt > wrote: >> >> Dear list, >> >> Trying to use the nviz module was encountered with the following error >> message: >> >> "child process exited abnormally" >> >> What means child process in this case? >> >> Regards >> >> Christian >> >> _ >> Discover the new Windows Vista >> >> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE___ >> grass-user mailing list >> grass-user@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/grass-user >> > > > > -- > Open Source Geospatial Foundation > http://www.osgeo.org/ > http://www.grassbook.org/ _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Dbf driver error during compilation (fresh svn)
On 16/04/08 13:27, Jarosław Jasiewicz wrote: Hi During compilation of actual svn I recived error in dbf driver after make in its directory, there are nothing more messages than exit with error code 1 what can be the reason for? Jarek I do not install it so I cannot say if error really exist This was fixed very recently, so by updating to the latest svn version, the error should go away. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Dbf driver error during compilation (fresh svn)
Hi During compilation of actual svn I recived error in dbf driver after make in its directory, there are nothing more messages than exit with error code 1 what can be the reason for? Jarek I do not install it so I cannot say if error really exist ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] using NVIZ
Dear list, Trying to use the nviz module was encountered with the following error message: "child process exited abnormally" What means child process in this case? Regards Christian _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user