[GRASS-dev] [GRASS GIS] #3934: wxGUI: Python error on "Set color table interactively" tool

GRASS GIS trac at osgeo.org
Wed Nov 6 13:38:06 PST 2019


#3934: wxGUI: Python error on "Set color table interactively" tool
-----------------------------+---------------------------------
 Reporter:  neteler          |      Owner:  grass-dev@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  7.8.1
Component:  wxGUI            |    Version:  git-releasebranch78
 Keywords:  python3, colors  |        CPU:  Unspecified
 Platform:  Unspecified      |
-----------------------------+---------------------------------
 When using right mouse menu on a raster map to run the interactive color
 tool, the following error appears:

 {{{
 Traceback (most recent call last):
   File "/home/mneteler/software/grass78_git/dist.x86_64-pc-
 linux-gnu/gui/wxpython/modules/colorrules.py", line 981, in
 OnSelectionInput

 'max': self.properties['max']})
 TypeError
 :
 %d format: a number is required, not NoneType
 /home/mneteler/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/modules/colorrules.py:1986:
 wxPyDeprecationWarning: Call to deprecated item
 BitmapFromImage. Use :class:`wx.Bitmap` instead
   bitmap = wx.BitmapFromImage(img)
 }}}

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



More information about the grass-dev mailing list