[Qgis-developer] (First?) API break

Giovanni Manghi giovanni.manghi at gmail.com
Fri Dec 9 05:08:28 EST 2011


> 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 --



More information about the Qgis-developer mailing list