[GRASS-dev] [GRASS-user] cannot re-open thematic mapsd

Anna Petrášová kratochanna at gmail.com
Tue Jul 21 04:14:58 PDT 2015


On Tue, Jul 21, 2015 at 11:03 AM, henk witte <henk.witte at groenholland.nl>
wrote:

>  Hello All,
>
>
>
> If I create a thematic map (d.vect.thematic) I can re open and edit it in
> the GUI fine during a session. However, if I re-open the workspace and try
> to reopen the properties of the thematic map I get an error (I can render
> the map without problems). This means I have to recreate all thematic maps
> if I need to make some change.
>
>
>
> The traceback shows:
>
>
>
> Traceback (most recent call last):
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\lmgr\layertree.py", line 1276, in
>
> OnActivateLayer
>
>
>
> self.PropertiesDialog(layer)
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\lmgr\layertree.py", line 1244, in
>
> PropertiesDialog
>
>
>
> completed = (self.GetOptData,layer,params))
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\gui_core\forms.py", line 2413, in
>
> ParseCommand
>
>
>
> get_dcmd = get_dcmd, layer = layer)
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\gui_core\forms.py", line 466, in __init__
>
>
>
> frame = self)
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\gui_core\forms.py", line 1463, in
>
> __init__
>
>
>
> default_color, label_color = utils.color_resolve(p['value'])
>
>   File "C:\Program Files (x86)\GRASS GIS
>
> 7.0.0\gui\wxpython\core\utils.py", line 989, in
>
> color_resolve
>
>
>
> rgb = tuple(map(int, color.split(':')))
>
> ValueError
>
> :
>
> invalid literal for int() with base 10: '20,254'
>

I hopefully fixed the problem in r65750, so it will be available in the
next release. You can test daily builds here:
 http://wingrass.fsv.cvut.cz/grass70/

Anna

>
>
>
>
>
>
> Henk Witte
>
> Groenholland Geo-energysystems
>
> Valschermkade 26
>
> 1059CD Amsterdam
>
>
>
> T: +31 (0)20 6159050
>
> M: +31 (0)628176535
>
> E: henk.witte at groenholland.nl
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150721/a1d317d9/attachment.html>


More information about the grass-dev mailing list