Missing leaflet static files causing errors with ManifestStaticFilesStorage
See original GitHub issueWhen you’re using the ManifestStaticFilesStorage
, collectstatic
fails because it can’t find two files. Namely:
location_field/images/layers.png
location_field/images/layers-2x.png
The solution would be either to remove those lines from leaflet.css
or include the images with the package.
Here’s a relevant issue: https://github.com/evansd/whitenoise/issues/96
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
[Django] Third-party library missing a file triggers a ... - GitHub
Missing leaflet static files causing errors with ManifestStaticFilesStorage caioariede/django-location-field#70.
Read more >ValueError: Missing staticfiles manifest entry for 'favicon.ico'
Try running: python manage.py collectstatic. Does the test work now? If so, this might be the configuration causing a problem:
Read more >Quick Start Guide - a JavaScript library for interactive maps
This step-by-step guide will quickly get you started on Leaflet basics, including setting up a Leaflet map, working with markers, polylines and popups, ......
Read more >GeoNode/general - Gitter
I got it up and running. Now just to access it from another machine on my network. I know I have to make...
Read more >django-leaflet 0.28.3 - PyPI
#262 Fix Missing staticfiles manifest entry for 'leaflet/images' ... Set a default max zoom in leaflet.forms _setView to avoid an error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just pushed a new version: 2.0.3, could you please check if it fixes the issue? thanks!
@caioariede any Sorry for stressing, but do you have updates on this issue? Right now it’s blocking me from solving some cache-busting related issues on a project. My PR should do the trick. Thanks 😃