Opened 13 years ago
Closed 13 years ago
#1531 closed defect (fixed)
bug in cartographic composer
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.2 |
Component: | wxGUI | Version: | unspecified |
Keywords: | ps.map, cartographic composer | Cc: | annakrat |
CPU: | All | Platform: | All |
Description
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.
Change History (4)
follow-up: 2 comment:1 by , 13 years ago
Cc: | added |
---|
follow-up: 3 comment:2 by , 13 years ago
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Sorry for the delay, it is backported now. Closing the ticket.
Anna
Note:
See TracTickets
for help on using tickets.
Thanks for the detailed description. Please confirm if it is fixed (r50111) in grass 7.
Anna