R: [GRASS-dev] winGRASS 6.3.0RC5 errors
Martin Landa
landa.martin at gmail.com
Thu Feb 28 18:15:13 EST 2008
Hi,
2008/2/28, Glynn Clements <glynn at gclements.plus.com>:
> Marco Pasetti wrote:
>
> > File "C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 356, in
> > _read_grassrc
> > key, val = line.split(":")
> > ValueError: too many values to unpack
>
Glynn:
> This should be changed to:
>
> key, val = line.split(":", 1)
>
> The code only expects to find a single colon in each line, separating
> the key and the value. But the value itself may contain a colon; in
> particular, GISDBASE on Windows will contain a colon after the drive
> letter.
fixed in trunk
http://trac.osgeo.org/grass/changeset/30396
will be backported to releasebranch_6_3 before releasing 6.3.0. Marco,
can you try to use grass_trunk for testing on Windows?
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev
mailing list