Opened 16 years ago

Closed 16 years ago

#280 closed defect (fixed)

wxGUI doesn't handle removing maps

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: All Platform: All

Description

  1. add an existing raster map in the manager
  1. zoom to that map
  1. g.remove it
  1. "Re-render map" - error:
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2871, in OnRender

self.MapWindow.UpdateMap(render=True)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 661, in UpdateMap

windres=windres)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 880, in Render

self._renderLayers(force, mapWindow, maps, masks, opacities)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 826, in _renderLayers

if not layer.Render():
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 156, in Render

stderr=None)
  File
"/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gcmd.py",
line 358, in __init__

_("Error: ") + self.GetError()))
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc5 in position 38: ordinal
not in range(128)

Change History (2)

comment:1 by martinl, 16 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

That was problem with locales, fixed in r33255.

comment:2 by martinl, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.