[GRASS-dev] [GRASS GIS] #3294: g.gui.tplot: error when trying to plot a STVDS

GRASS GIS trac at osgeo.org
Mon Feb 20 10:19:18 PST 2017


#3294: g.gui.tplot: error when trying to plot a STVDS
--------------------+-------------------------
 Reporter:  lrntct  |      Owner:  grass-dev@…
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:  7.2.1
Component:  wxGUI   |    Version:  7.2.0
 Keywords:          |        CPU:  x86-64
 Platform:  Linux   |
--------------------+-------------------------
 When using g.gui.tplot to plot a time-series of a point in a STVDS, I
 encounter the following issue:

 When selecting the stvds in the GUI, a GUI message appears, saying:

 {{{
 Invalid input temporal dataset
 }}}

 And the console displays a message from t.vect.list:

 {{{
 ERROR: t.vect.list: Sorry, <s> is not a valid flag
 }}}

 If nonetheless trying to plot a value, the following error message appears
 in the console, and nothing is plotted:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/grass72/gui/wxpython/tplot/frame.py", line 759, in
 OnRedraw
     self._redraw()
   File "/usr/lib/grass72/gui/wxpython/tplot/frame.py", line 770, in
 _redraw
     self._getSTVDData(self.datasetsV)
   File "/usr/lib/grass72/gui/wxpython/tplot/frame.py", line 480, in
 _getSTVDData
     cats = self._getExistingCategories(rows[0]['name'], cats)
   File "/usr/lib/grass72/gui/wxpython/tplot/frame.py", line 384, in
 _getExistingCategories
     for cat in cats:
 TypeError: 'NoneType' object is not iterable
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3294>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list