[GRASS-user] Unable to plot histogram of raster map on GRASS 7.0.4 - Ubuntu 16.04

César Augusto Ramírez Franco caesarivs at gmail.com
Mon Sep 5 09:47:17 PDT 2016


Hello dear list,

I've upgraded Ubuntu from 14.04 to 16.04 and re-enabled the
ubuntugis-unstable PPA, now when trying to plot a histogram of any raster
map I get this traceback in the console:

Traceback (most recent call last):
  File "/usr/lib/grass70/gui/wxpython/mapdisp/frame.py", line 1066, in
OnHistogramPyPlot
    win = HistogramPlotFrame(parent = self, rasterList = raster)
  File "/usr/lib/grass70/gui/wxpython/wxplot/histogram.py", line 39, in
__init__
    BasePlotFrame.__init__(self, parent, size = size, **kwargs)
  File "/usr/lib/grass70/gui/wxpython/wxplot/base.py", line 88, in __init__
    self.client = plot.PlotCanvas(self)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/plot.py", line
598, in __init__
    self.HandCursor = wx.Cursor(Hand.GetImage())
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_gdi.py", line
1510, in __init__
    _gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args, **kwargs))
TypeError: Required argument 'type' (pos 2) not found

I've tried using the GUI histogram tool in several ways (right-click in
layer manager, from the toolbar button in the display window, using a wx
monitor in the console...) and I always get the same error.

I found a trac ticket [1] that says this is fixed now so I've CC'd
ubuntugis to see if this fix can be integrated in the PPA.

[1]: https://trac.osgeo.org/grass/ticket/2558

-- 
*César Augusto Ramírez Franco*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160905/88a18051/attachment.html>


More information about the grass-user mailing list