Skip to content

Internal Server Error - As a result of a windows smart quote in csv uploaded #12

Description

@CDeLeon94

Just testing ahead of our event:

I created a csv of projects, and uploaded it to gavel in the noted format. I got:

Uh oh.

Internal server error. Click the button below and go back. Refreshing the page from there usually fixes things.

Inspecting the logs, there is

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 222

It's a smart quote due to me editing the file in a windows environment. I resaved the file in utf-8, and the upload worked as expected.

This particular error could be solved by reading the file with encoding='cp1252'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions