AW: [Qgis-developer] (First?) API break

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Sun Dec 11 04:57:56 EST 2011


Hi

What is the best practice to deal with such API breaks (regarding python plugins)? 

Regards
Stefan

> -----Ursprüngliche Nachricht-----
> Von: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-
> bounces at lists.osgeo.org] Im Auftrag von Giovanni Manghi
> Gesendet: Freitag, 9. Dezember 2011 11:08
> An: Marco Hugentobler
> Cc: qgis-developer at lists.osgeo.org
> Betreff: Re: [Qgis-developer] (First?) API break
> 
> > The change won't affect many plugins (maybe mapbook?)
> 
> yes, easyprint stopped to work
> 
> 
> 
> Traceback (most recent call last):
>   File "C:/Users/gio/.qgis/python/plugins\easyprint\easyprint.py", line 145, in
> doSimpleMap
>     d.run()
>   File "C:/Users/gio/.qgis/python/plugins\easyprint\tools
> \doCreateSimpleMap.py", line 151, in run
>     composerView.addComposerShape(item)
> TypeError: 'sip.methoddescriptor' object is not callable
> 
> 
> 
> Traceback (most recent call last):
>   File "/home/gio/.qgis/python/plugins/easyprint/easyprint.py", line 145, in
> doSimpleMap
>     d.run()
>   File
> "/home/gio/.qgis/python/plugins/easyprint/tools/doCreateSimpleMap.py",
> line 151, in run
>     composerView.addComposerShape(item)
> AttributeError: 'QgsComposerView' object has no attribute 'addComposerShape'
> 
> 
> cheers
> 
> -- Giovanni --
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list