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 <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to