Open gioman opened 7 years ago
cannot check if this is still valid because of https://github.com/boundlessgeo/qgis-geoserver-plugin/issues/68 @volaya
On master revision code against GS 2.11 the error is now
IOError: [Errno 2] No such file or directory: u''
Traceback (most recent call last):
File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/gui/gsexploreritems.py", line 1130, in
editStyleAction.triggered.connect(lambda: self.editStyle(tree, explorer))
File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/gui/gsexploreritems.py", line 1186, in editStyle
oldSld = getGsCompatibleSld(layer)[0]
File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/sldadapter.py", line 219, in getGsCompatibleSld
return adaptQgsToGs(sld, layer)
File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/sldadapter.py", line 96, in adaptQgsToGs
icons = getReadyToUploadSvgIcons(renderer.symbol())
File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/sldadapter.py", line 121, in getReadyToUploadSvgIcons
with open(sl.path()) as f:
IOError: [Errno 2] No such file or directory: u''
This happens if the layer (for example a point one) has been imported with a SVG symbology: