[GRASS-dev] [GRASS GIS] #3668: gselect for space data dataset stop working when creating new mapset
GRASS GIS
trac at osgeo.org
Fri Sep 28 00:31:15 PDT 2018
#3668: gselect for space data dataset stop working when creating new mapset
-------------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.4.2
Component: wxGUI | Version: 7.4.0
Keywords: temporal, gselect | CPU: Unspecified
Platform: Unspecified |
-------------------------------+-------------------------
Steps to reproduce:
1. open t.info dialog and select dataset, works
2. create new mapset (Settings -> GRASS working environment -> Create new
mapset)
3. open t.info and select dataset, fails with
{{{
GRASS_INFO_MESSAGE(16125,1): ERROR: Unable to execute sql statement. You
have no permission to access mapset <test>, or mapset <test> has no
temporal database. Accessible mapsets are: <modis>
GRASS_INFO_END(16125,1)
Temporal GIS error:
Unable to execute sql statement. You have no permission to access mapset
<test>, or mapset <test> has no temporal database. Accessible mapsets are:
<modis>
...
Traceback (most recent call last):
File "/opt/src/grass7_trunk/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 448, in OnPopup
self.GetElementList(selected, exclude)
File "/opt/src/grass7_trunk/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 460, in GetElementList
self._getElementList(self.type, self.mapsets, elements, exclude)
File "/opt/src/grass7_trunk/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 550, in _getElementList
if mapset not in filesdict:
TypeError: argument of type 'NoneType' is not iterable
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3668>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list