[Qgis-developer] py error in 1.4

Martin Dobias wonder.sk at gmail.com
Tue May 11 16:23:24 EDT 2010


On Tue, May 11, 2010 at 10:05 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Hi all.
> QGIS 1.4 on win (from osgeo4w) gives an error (see below). On the same machine, 1.5
> runs smoothly.
> Has anyone found the same issue?
> [...]
>  File "C:\Documents and
> Settings\Camily/.qgis/python/plugins\VectorFieldRenderer\VectorFieldRendererPlugin.py",
> line 4, in
>    from qgis.core import QgsRendererV2Registry, QgsSymbolLayerV2Registry
> ImportError: cannot import name QgsRendererV2Registry

The plugin uses classes which have been added for 1.5 release. This
should be fixed within the plugin to use try/except block to handle
the import error. However, the plugin installer shouldn't allow the
plugin to be installed for qgis 1.4.

Martin


More information about the Qgis-developer mailing list