#1817: Map Swipe
--------------------+-------------------------------------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: MSWindows 7
Cpu: x86-64 |
--------------------+-------------------------------------------------------
choosing the bottom/right raster, press ok, then following error comes up:
{{{
Traceback (most recent call last):
File "C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8
-msw-unicode\wx\_core.py", line 14669, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapswipe\frame.py", line 103, in CallAfterInit
self.OnSelectRasters(event = None)
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapswipe\frame.py", line 303, in OnSelectRasters
res1 = self.SetFirstRaster(name = maps[0])
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapswipe\frame.py", line 324, in SetFirstRaster
self.OnZoomToMap(event = None)
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapswipe\frame.py", line 287, in OnZoomToMap
self.GetFirstWindow().ZoomToMap(layers =
self.Map.GetListOfLayers())
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapswipe\mapwindow.py", line 103, in ZoomToMap
super(SwipeBufferedWindow, self).ZoomToMap(layers,
ignoreNulls, render)
File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\gui\wxpython
\mapdisp\mapwindow.py", line 1583, in ZoomToMap
layers = self.tree.GetSelectedLayer(multi = True,
checkedOnly = False)
AttributeError
:
'NoneType' object has no attribute 'GetSelectedLayer'
}}}
{{{
System Info
GRASS version: 7.0.svn
GRASS SVN Revision: 54132
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.5
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1817>
GRASS GIS <http://grass.osgeo.org>