R: [GRASS-dev] winGRASS 6.3.0RC5 errors
Glynn Clements
glynn at gclements.plus.com
Thu Feb 28 17:33:14 EST 2008
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
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.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list