Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting CSV file that contains Unicode text fails on Python 3 on Windows #7946

Closed
rtibbles opened this issue Apr 2, 2021 · 1 comment · Fixed by #7947
Closed

Exporting CSV file that contains Unicode text fails on Python 3 on Windows #7946

rtibbles opened this issue Apr 2, 2021 · 1 comment · Fixed by #7947
Assignees
Labels
APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) bug Behavior is wrong or broken DEV: backend Python, databases, networking, filesystem... OS: Windows P0 - critical Priority: Release blocker or regression
Milestone

Comments

@rtibbles
Copy link
Member

rtibbles commented Apr 2, 2021

Observed behavior

User reports of CSV file export failing prompted me to add a test for this in a Windows environment in #7899.

When Unicode text should be inserted into the exported CSV, such as a Unicode username or full_name, then an error occurs on windows.

Error trying to write csv file: 'charmap' codec can't encode characters in position 29-35: character maps to <undefined>

Expected behavior

CSV Export should work on all platforms.

This is fixed by this commit: c088d08

User-facing consequences

Windows users are unable to export CSV files.

@rtibbles rtibbles added this to the 0.14.8 milestone Apr 2, 2021
@rtibbles rtibbles self-assigned this Apr 2, 2021
@rtibbles rtibbles added APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) bug Behavior is wrong or broken DEV: backend Python, databases, networking, filesystem... OS: Windows P0 - critical Priority: Release blocker or regression labels Apr 2, 2021
@jonboiser jonboiser modified the milestones: 0.14.8, 0.14.7 Apr 5, 2021
@jonboiser
Copy link
Contributor

Fixed in #7947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) bug Behavior is wrong or broken DEV: backend Python, databases, networking, filesystem... OS: Windows P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants