[Qgis-developer] VectorFieldRenderer plugin error
Martin Dobias
wonder.sk at gmail.com
Tue Feb 9 11:01:49 EST 2010
On Tue, Feb 9, 2010 at 8:43 AM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Is anybody getting the same error?
> All the best.
> ===
> Impossibile caricare il plugin VectorFieldRenderer a causa di errore chiamando il
> metodo initGui()
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/qgis/utils.py", line 150, in startPlugin
> plugins[packageName].initGui()
> File "/home/paolo/.qgis//python/plugins/VectorFieldRenderer/__init__.py", line 37,
> in initGui
> QgsRendererV2Registry.instance().addRenderer( VectorFieldRendererMetadata() )
> File
> "/home/paolo/.qgis//python/plugins/VectorFieldRenderer/VectorFieldRendererMetadata.py",
> line 16, in __init__
> QIcon(QPixmap(":plugins/VectorFieldRenderer/VectorFieldRendererIcon.png","png")))
> TypeError: argument 3 of qgis.core.QgsRendererV2AbstractMetadata() has an invalid type
Probably you're running an older SVN trunk version. The third
parameter used to be a QString, now it's QIcon. Updating and
rebuilding QGIS should help.
Martin
More information about the Qgis-developer
mailing list