[Qgis-user] Help reproducing a bug with Fix shapefile Encoding Plugin and Openlayers plugin - W7 - QGIS 2.0.1

Goyo goyodiaz at gmail.com
Mon Sep 30 11:34:24 PDT 2013


2013/9/30 Raúl Nanclares <raulnanclares at gmail.com>:
> Hi everybody,
>
> i need somebody to confirm there's a bug in the Fix Shapefile Encofing
> Plugin.
>
> Steps to reproduce:
>
> Add an openlayers layer using the plugin.
> Add a shapefile.
> Try changing the shapefile encoding using the pluging mentioned above.
> Get python Error:
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File
> "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py",
> line 311, in runAndClose
>     self.run()
>   File
> "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py",
> line 321, in run
>     if self.layerSource( self.iface.mapCanvas().layer(i) ) ==
> self.shapefileName:
>   File
> "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py",
> line 200, in layerSource
>     srcPath = layer.dataProvider().dataSourceUri().split('|')[0]
> AttributeError: 'OpenlayersLayer' object has no attribute 'dataProvider'

I can replicate this in master.

Goyo



More information about the Qgis-user mailing list