Opened 13 years ago

Closed 13 years ago

#17160 closed Bug (needsinfo)

Exception with CachedStaticFilesStorage

Reported by: AndrewG Owned by: nobody
Component: contrib.staticfiles Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Aymeric Augustin)

When run manage.py collectstatic with
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'

Stop with

  File "C:\Python\lib\site-packages\django\contrib\staticfiles\storage.py", line 74, in hashed_name
    (clean_name, self))
ValueError: The file 'images/arrows-ffffff.png' could not be found with <django.contrib.staticfiles.storage.CachedStaticFilesStorage object at 0x00000000030CB2B0>.

when process css file, but image arrows-ffffff.png exists.

Change History (3)

comment:1 by Jannis Leidel, 13 years ago

Could you please check if it worked before r17067 or r17068 as I don't have access to a Windows machine at the moment?

comment:2 by anonymous, 13 years ago

Same error on r17066 and r17067.

comment:3 by Aymeric Augustin, 13 years ago

Description: modified (diff)
Resolution: needsinfo
Status: newclosed
Type: UncategorizedBug

We'd need a little bit more information to reproduce the problem.

Could you paste:

  • the complete exception traceback,
  • the full path to the CSS and PNG files involved,
  • the line of the CSS file that refers to the PNG file?

Thanks!

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