Opened 11 years ago

Closed 11 years ago

#19696 closed Bug (duplicate)

Collectstatic management command: unicodeerror

Reported by: arn.breton@… Owned by: nobody
Component: contrib.staticfiles Version: 1.4
Severity: Normal Keywords: unicodeerror, collectstatic, css, assets
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

I experienced an issue today while using the collectstatic command.

One of my CSS files contains some comments with accent marks (I'm french).
When the command passes on this file, it crashes with a standard unicodeerror ("character not in range").

The error occured here: https://github.com/django/django/blob/master/django/contrib/staticfiles/storage.py#L226

When I deleted these comments, it works again.

Change History (2)

comment:1 by Claude Paroz, 11 years ago

This looks like #18430, which is fixed in Django 1.5. Could you try if it still crashes with 1.5?

comment:2 by Claude Paroz, 11 years ago

Resolution: duplicate
Status: newclosed

Reopen if you can reproduce with recent code.

Note: See TracTickets for help on using tickets.
Back to Top