planetfederal / qgis-geogiglight-plugin

GNU General Public License v2.0
19 stars 9 forks source link

python error when adding a raster layer with geogig plugin installed #14

Closed gioman closed 8 years ago

gioman commented 8 years ago

Plugin version: 1.0-20160713-68d000ef4e1f261526ff42ad15428fb1f5379d5a Traceback (most recent call last): File "/home/giovanni/.qgis2/python/plugins/geogig/plugin.py", line 54, in trackLayer if isRepoLayer(layer): File "/home/giovanni/.qgis2/python/plugins/geogig/tools/layertracking.py", line 117, in isRepoLayer return getTrackingInfo(layer) is not None File "/home/giovanni/.qgis2/python/plugins/geogig/tools/layertracking.py", line 120, in getTrackingInfo source = formatSource(layer) File "/home/giovanni/.qgis2/python/plugins/geogig/tools/layers.py", line 100, in formatSource ext = source.split(".")[-1].lower() AttributeError: 'QgsRasterLayer' object has no attribute 'split'

After the error the layer (tested TIF and WMS) loads normally.