Skip to content

Upload of geopackage data made of multiple layers fails #327

@pchevali

Description

@pchevali

I am using the plugin with geonode 4.3.

When a geopackage made of multiple layers is uploaded its qgis name is made of an utf-8 character between the filename and the layer name : \u2014.

This result in the following error when uplaoding the layer ( from celery worker):

'latin-1' codec can't encode character '\u2014' in position 28: Body ('—') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.

The upload silently fails, as the upload is correct but the style is not visible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions