[Qgis-user] plugin Statistic dont work

Goyo goyodiaz at gmail.com
Fri Apr 22 13:00:15 PDT 2011


2011/4/22 Betina Zucchino <bzucchino at yahoo.com.ar>
>
> Traceback (most recent call last):
>   File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4.py", line 168, in resizeEvent
>     self.draw()
>   File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4agg.py", line 130, in draw
>     FigureCanvasAgg.draw(self)
>   File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_agg.py", line 313, in draw
>     self.renderer = self.get_renderer()
>   File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_agg.py", line 319, in get_renderer
>     try: self._lastKey, self.renderer
> TypeError: 'sip.methoddescriptor' object is not callable

There is an incompatibility between python and sip versions in osgeo4w
affecting the qt4agg backend in matplotlib. I filed a bug about this
some time ago[1]. I had to patch matplotlib in order to get the qt4agg
backend working in osgeo4w, see the bug report for details.

Goyo

[1] http://trac.osgeo.org/osgeo4w/ticket/213



More information about the Qgis-user mailing list