Opened 7 years ago

Closed 7 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



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:

When I deleted these comments, it works again.

Change History (2)

comment:1 Changed 7 years ago by Claude Paroz

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

comment:2 Changed 7 years ago by Claude Paroz

Resolution: duplicate
Status: newclosed

Reopen if you can reproduce with recent code.

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