[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
Tue Sep 6 07:00:19 PDT 2016


Thank you Markus

2016-09-05 16:39 GMT-05:00 Markus Neteler <neteler at osgeo.org>:

> On Sep 5, 2016 6:48 PM, "César Augusto Ramírez Franco" <
> caesarivs at gmail.com> wrote:
> >
> > 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
>
> We plan to release 7.0.5 soon which will have the fix.
> Then hopefully the distros will follow timely with the packaging.
>
> Markus
>
> > --
> > César Augusto Ramírez Franco
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
>



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


More information about the grass-user mailing list