You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 110: invalid continuation byte
Traceback (most recent call last):
File "C:\Users/hoedt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_geonode\gui\search_result_widget.py", line 235, in handle_layer_detail
dataset.to_json() if dataset is not None else None,
File "C:\Users/hoedt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_geonode\apiclient\models.py", line 165, in to_json
serialized_sld = qgis_geonode_styles.serialize_sld_named_layer(
File "C:\Users/hoedt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_geonode\styles.py", line 50, in serialize_sld_named_layer
return buffer_.data().decode(encoding="utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 110: invalid continuation byte
Which is rooted in the utf-8 style name of the SLD:
@ricardogsilva I faced the same error today. Moreover, the error breaks the rest of the plugin's functionality.
A restart of QGIS is needed to restore it.
I should be able to load this dataset:
https://master.demo.geonode.org/catalogue/#/dataset/916
But it fails with:
Which is rooted in the utf-8 style name of the SLD:
The same (cloned) dataset without utf-8 chars in the name and title field does work:
https://master.demo.geonode.org/catalogue/#/dataset/915
The text was updated successfully, but these errors were encountered: