#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>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to