planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Exception not handled when trying to publish a layer to geonode if url doesn't exist #67

Closed vdeparday closed 10 years ago

vdeparday commented 10 years ago

An error has occured while executing Python code:

Traceback (most recent call last): File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 723, in publishToGeonodeAction.triggered.connect(lambda: self.publishToGeonode(tree, explorer)) File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 746, in publishToGeonode layer) File "/Users/viv/.qgis2/python/plugins/opengeo/gui/explorer.py", line 128, in run self.setError(unicode(e.message, errors = "ignore").encode("utf-8") + "\n" + traceback.format_exc()) TypeError: coercing to Unicode: need string or buffer, MaxRetryError found

vdeparday commented 10 years ago

Closing as it was fixed by the merged commit.