[Qgis-developer] Openlayers plugin python error

Giovanni Manghi giovanni.manghi at gmail.com
Wed Jan 19 12:52:10 EST 2011


Sorry,

you are right, I didn't noticed that the error message was about another
plugin.

Nevertheless the note stays for the MemoryLayerSaver author.


cheers

-- Giovanni --




On Wed, 2011-01-19 at 15:46 -0200, Luiz Motta wrote:
> Giovanni,
> 
> 
> The message  error occurr in  MemoryLayerSaver's plugins.
> 
> 
> Disable all plugins and work only OpenLayers's plugin.
> 
> 
> Open the layer (ex.: shapefile with projection) and try
> 
> 
> 
> 
> 
> 
> 2011/1/19 Giovanni Manghi <giovanni.manghi at gmail.com>
>         Hi,
>         
>         under Ubuntu linux (10.04) and qgis trunk I get the following
>         when
>         adding layers with the Openlayers plugin. The error is not
>         critical as
>         the layer is added in any case.
>         
>         
>         An error has occured while executing Python code:
>         
>         Traceback (most recent call last):
>          File
>         "/home/gio/.qgis/python/plugins/MemoryLayerSaver/MemoryLayerSaver.py",
>         line 41, in connectProvider
>            if self.isSavedLayer(layer):
>          File
>         "/home/gio/.qgis/python/plugins/MemoryLayerSaver/MemoryLayerSaver.py",
>         line 90, in isSavedLayer
>            if not l.dataProvider():
>         AttributeError: 'OpenlayersLayer' object has no attribute
>         'dataProvider'
>         
>         
>         
>         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