[GRASS-user] d.histogram in 6.3?

Glynn Clements glynn at gclements.plus.com
Tue Oct 9 19:17:49 EDT 2007


"Carlos \"Guâno\" Grohmann" wrote:

> > > > > Any changes to d.histogram in 6.3 cvs?
> > > > > just updated and now I can't get a histogram. always got an error msg:
> > > > >
> > > > > <bgcolor> is not valid
> > ..
> > > Yes, what I meant is that this wasn't a "major upgrade" was a clean
> > > system, fresh OS install, first time I downloaded from CVS in this
> > > machine.
> >
> > what were the command line parameters you used?
> 
> for d.histogram?
> 
> d.histogram --q map=a17_25 at drumlims style=bar  color=0:0:0
> bgcolor=255:255:255 nsteps=255
> 
> straight from gis.m, just picked the map and got this:
> 
> 
> Sorry, <bgcolor> is not a valid parameter
> 
> 
> if I try in the CLI, without the bgcolor option, I get this:
> ERROR: [|]: No such color
> 
> 
> It works fine in 6.2.2..

This is *definitely* caused by using a version of libgis which is
incompatible with the d.histogram executable, e.g. using 6.2.2 libgis
with 6.3-cvs d.histogram or vice-versa.

Check your $PATH and $LD_LIBRARY_PATH settings; also, try running "ldd
$GISBASE/bin/d.histogram".

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




More information about the grass-user mailing list