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

GRASS GIS trac at osgeo.org
Mon Jan 9 07:52:19 EST 2012

#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,
                         'lines': [self._ColorsLinePanel,
                         'areas': [self._ColorsPointAreaPanel,
         self.ColorsPanel = 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>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list