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

Laurent C. lrntct at gmail.com
Mon Feb 20 13:45:54 PST 2017


Hello,

Thanks for the fast answer.
I applied the patch, but I get another error when trying to plot the STVDS:

{{{
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 499, in _getSTVDData
    lay = int(row['layer'])
TypeError: int() argument must be a string or a number, not 'NoneType'
}}}

I don't know if it's related, but my maps have two layers.
t.vect.db.select is working correctly.

Laurent

2017-02-20 13:34 GMT-06:00 GRASS GIS <trac at osgeo.org>:
> #3294: g.gui.tplot: error when trying to plot a STVDS
> ---------------------+-------------------------
>   Reporter:  lrntct  |      Owner:  grass-dev@…
>       Type:  defect  |     Status:  closed
>   Priority:  normal  |  Milestone:  7.2.1
>  Component:  wxGUI   |    Version:  7.2.0
> Resolution:  fixed   |   Keywords:
>        CPU:  x86-64  |   Platform:  Linux
> ---------------------+-------------------------
> Changes (by neteler):
>
>  * status:  new => closed
>  * resolution:   => fixed
>
>
> Comment:
>
>  Good catch, r69686 now backported in r70648. Thanks!
>
> --
> Ticket URL: <https://trac.osgeo.org/grass/ticket/3294#comment:2>
> GRASS GIS <https://grass.osgeo.org>
>


More information about the grass-dev mailing list