question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing leaflet static files causing errors with ManifestStaticFilesStorage

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
caioariedecommented, Mar 28, 2017

Just pushed a new version: 2.0.3, could you please check if it fixes the issue? thanks!

1reaction
marteinncommented, Feb 5, 2017

@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 😃

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found