#17160: Exception with CachedStaticFilesStorage
-------------------------------------+-------------------------------------
     Reporter:  AndrewG              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.staticfiles  |                  Version:  SVN
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
    Has patch:  0                    |  Unreviewed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => needsinfo
 * type:  Uncategorized => Bug


Old description:

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

New description:

 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.

--

Comment:

 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!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17160#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to