<div dir="ltr"><div><div><div><div>Hi everybody, <br><br>i need somebody to confirm there's a bug in the Fix Shapefile Encofing Plugin. <br><br></div>Steps to reproduce:<br><ol><li>Add an openlayers layer using the plugin.</li>
<li>Add a shapefile.</li><li>Try changing the shapefile encoding using the pluging mentioned above.</li><li>Get python Error:<br></li></ol></div></div></div><div><span style="color:rgb(255,0,0)">An error has occured while executing Python code:</span><br>
<br>Traceback (most recent call last):<br> File "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py", line 311, in runAndClose<br> self.run()<br> File "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py", line 321, in run<br>
if self.layerSource( self.iface.mapCanvas().layer(i) ) == self.shapefileName:<br> File "C:\Users\user/.qgis2/python/plugins\shapefile_encoding_fixer\encoding_fixer_plugin.py", line 200, in layerSource<br> srcPath = layer.dataProvider().dataSourceUri().split('|')[0]<br>
AttributeError: 'OpenlayersLayer' object has no attribute 'dataProvider'<br><br>Python version:<br>2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]<br><br><br>QGIS version:<br>2.0.1-Dufour Dufour, 34139bc<br>
<br></div><div>Thanks!<br></div><div><br></div></div>