#1412: Different problem with scalebar in GRASS 6.5
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
The north arrow in GRASS 6.5 looks OK and is not multiple (as I just
reported as a problem in GRASS 7 (trac #1410).
BUT, once you've added a scale bar or north arrow, you cannot change it.
Neither double clicking or nor trying to access the dialog called from the
toolbar will access it. These both generate the following error:
{{{
Traceback (most recent call last):
File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
darwin10.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1025, in MouseActions
self.OnButtonDClick(event)
File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
darwin10.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1300, in OnButtonDClick
self.parent.OnAddBarscale(None)
File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
darwin10.8.0/etc/wxpython/gui_modules/mapdisp.py", line
1761, in OnAddBarscale
ctrltxt = _("scale object"))
File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
darwin10.8.0/etc/wxpython/gui_modules/gdialogs.py", line
496, in __init__
mapName, found = utils.GetLayerNameFromCmd(self.parent.MapWi
ndow.overlays[self.ovlId]['cmd'])
File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
darwin10.8.0/etc/wxpython/gui_modules/utils.py", line 160,
in GetLayerNameFromCmd
maps.append(dcmd[i].split('=', 1)[1])
IndexError
:
list index out of range
#1412: Different problem with scalebar in GRASS 6.5
--------------------------+-------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: invalid | Keywords: barscale
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):
* status: new => closed
* resolution: => invalid
Comment:
I rebooted my machine, restarted GRASS, and this error does not seem to be
happening any more. (the others reported yesterday still do, and do so on
my desktop too). I will close since Martin cannot reproduce and it has
magically disappeared from my box too.
#1412: Different problem with scalebar in GRASS 6.5
--------------------------+-------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: invalid | Keywords: barscale
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment(by annakrat):
It's weird, I still get this error and I tried to fix it (5 min ago, I
didn't noticed you closed it). The problem appears when the option north
arrow only is checked. I have just commited the patch in G7 (the same
error as G65). Please try it.
#1412: Different problem with scalebar in GRASS 6.5
--------------------------+-------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: invalid | Keywords: barscale
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment(by cmbarton):
It seems to be only a problem with latlon locations. I just tested the
other issue (not keeping settings and raising an error), and it seems like
you've fixed it.
So it seems like there were 2 different issues in 2 different GRASS
systems. You've fixed the wxGUI one, but the other one remains and is
likely to be in d.barscale. So I will indicate this for trac #1410. We can
keep this closed this I believe.