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

Raúl Nanclares raulnanclares at gmail.com
Mon Sep 30 11:06:02 PDT 2013


Hi everybody,

i need somebody to confirm there's a bug in the Fix Shapefile Encofing
Plugin.

Steps to reproduce:

   1. Add an openlayers layer using the plugin.
   2. Add a shapefile.
   3. Try changing the shapefile encoding using the pluging mentioned above.
   4. 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'

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]


QGIS version:
2.0.1-Dufour Dufour, 34139bc

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130930/a7fc947e/attachment.html>


More information about the Qgis-user mailing list