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
After more investigation, I realized that the error is not related with encoding issues. The QGIS crashes when the retrieved SLD from GeoServer includes comments especially before the element NamedLayer. Thus to fix the error I had to create a remove_comments_from_sld function, which scans the SLD and removes the comments.
The corresponding PR is available here #298
QGIS crashes when the user tries to load a layer the WFS. The crash happens in the following line:
https://github.com/GeoNode/QGISGeoNodePlugin/blob/main/src/qgis_geonode/styles.py#L49
Probably the error is related with encoding issues since this that happens only in layers with non-english characters.
The text was updated successfully, but these errors were encountered: