Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank page after upgrading to 2.9.3 #2573

Open
tech62 opened this issue Mar 14, 2025 · 1 comment
Open

Blank page after upgrading to 2.9.3 #2573

tech62 opened this issue Mar 14, 2025 · 1 comment
Labels

Comments

@tech62
Copy link

tech62 commented Mar 14, 2025

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade su root sudo -u umap -i virtualenv venv --python=/usr/bin/python3 . /srv/umap/venv/bin/activate pip install umap-project --upgrade umap migrate umap collectstatic exit systemctl restart uwsgi nginx
    2 Go on the umap url
  2. Click on map
  3. See error
    <anonymous> https://mydomainfr/fr/:340
fr:340:22

Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead. checkDeprecatedMixinEvents@https://mydomainfr/static/umap/vendors/leaflet/leaflet-src.esm.js:404:47
Class.extend@https://mydomainfr/static/umap/vendors/leaflet/leaflet-src.esm.js:324:29
@https://mydomainfr/static/umap/vendors/iconlayers/iconLayers.js:60:32
@https://mydomainfr/static/umap/vendors/iconlayers/iconLayers.js:6:39
@https://mydomainfr/static/umap/vendors/iconlayers/iconLayers.js:9:3
Class.js:130:11

Uncaught TypeError: L.ToolbarAction is undefined
    <anonymous> https://mydomainfr/static/umap/js/umap.controls.js:1
umap.controls.js:1:1
Uncaught (in promise) TypeError: U.DataLayersControl is not a constructor
    initControls https://mydomainfr/static/umap/js/modules/rendering/map.js:63
    setup https://mydomainfr/static/umap/js/modules/rendering/map.js:278
    init https://mydomainfr/static/umap/js/modules/umap.js:102
    Umap https://mydomainfr/static/umap/js/modules/umap.js:44
    connectedCallback https://mydomainfr/static/umap/js/components/fragment.js:5
    register https://mydomainfr/static/umap/js/components/fragment.js:11
    <anonymous> https://mydomainfr/static/umap/js/components/fragment.js:15
3 map.js:63:33```

**Screenshots**
![Image](https://github.com/user-attachments/assets/5ae12857-240c-4b81-9489-2510711c0f28)

![Image](https://github.com/user-attachments/assets/ca19614b-daba-4538-a237-b30d72f7ecd0)

**Desktop (please complete the following information):**
 - OS: Windows 11
 - Browser Firefox
 - Version Latest
@tech62 tech62 added the bug label Mar 14, 2025
@tech62
Copy link
Author

tech62 commented Mar 14, 2025

Deleting static folder and clearing browser cache solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant