Hi What is the best practice to deal with such API breaks (regarding python plugins)?
Regards Stefan > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:qgis-developer- > [email protected]] Im Auftrag von Giovanni Manghi > Gesendet: Freitag, 9. Dezember 2011 11:08 > An: Marco Hugentobler > Cc: [email protected] > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
