[GRASS-dev] [GRASS GIS] #1531: bug in cartographic composer

#1531: bug in cartographic composer
-------------------------------------------+--------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Keywords: ps.map, cartographic composer | Platform: All
      Cpu: All |
-------------------------------------------+--------------------------------
In the cartographic composer it's impossible to set vector
properties, show preview and generate an image if the language
is different from English.
This is the error

{{{
GUI D1/5: gselect.VectorDBInfo._DescribeTables(): table=fiumi
driver=sqlite database=/grassdata/piemonte_UTM32wgs84/PERMANENT/sqlite.db
Traceback (most recent call last):
   File "/home/luca/compilati/grass64/dist.x86_64-unknown-linux-
gnu/etc/wxpython/gui_modules/psmap_dialogs.py", line 2836, in OnProperties
     vectors = self.vectorList, tmpSettings = self.tmpDialogDict[id])
   File "/home/luca/compilati/grass64/dist.x86_64-unknown-linux-
gnu/etc/wxpython/gui_modules/psmap_dialogs.py", line 3008, in __init__
     self.ColorsPanel = selectPanel[self.type][0](notebook)
KeyError: u'linee'
}}}

The problem is at lines 3005 and 3008

{{{
         selectPanel = { 'points': [self._ColorsPointAreaPanel,
self._StylePointPanel],
                         'lines': [self._ColorsLinePanel,
self._StyleLinePanel],
                         'areas': [self._ColorsPointAreaPanel,
self._StyleAreaPanel]}
         self.ColorsPanel = selectPanel[self.type][0](notebook)
}}}

because

{{{
selectPanel[self.type][0](notebook)
}}}

returns the translate string and this is missing from the
selectPanel dictionary.

The same problem exists also in grass65 and grass7.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1531&gt;
GRASS GIS <http://grass.osgeo.org>

#1531: bug in cartographic composer
-------------------------------------------+--------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Keywords: ps.map, cartographic composer | Platform: All
      Cpu: All |
-------------------------------------------+--------------------------------
Changes (by annakrat):

* cc: annakrat (added)

Comment:

Thanks for the detailed description. Please confirm if it is fixed
(r50111) in grass 7.

Anna

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1531#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1531: bug in cartographic composer
-------------------------------------------+--------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Keywords: ps.map, cartographic composer | Platform: All
      Cpu: All |
-------------------------------------------+--------------------------------

Comment(by lucadelu):

Replying to [comment:1 annakrat]:
> Thanks for the detailed description. Please confirm if it is fixed
(r50111) in grass 7.
>
> Anna

Yes it is fixed, please backport to grass 6.4.3

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1531#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1531: bug in cartographic composer
-------------------------------------------+--------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Keywords: ps.map, cartographic composer | Platform: All
      Cpu: All |
-------------------------------------------+--------------------------------

Comment(by lucadelu):

Replying to [comment:2 lucadelu]:

> Yes it is fixed, please backport to grass 6.4.3

Sorry of course 6.4.2

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1531#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1531: bug in cartographic composer
-----------------------+----------------------------------------------------
  Reporter: lucadelu | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: ps.map, cartographic composer
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

Sorry for the delay, it is backported now. Closing the ticket.

Anna

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1531#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>