geopython / geopython/GeoHealthCheck
Python error loading data
- Lingua principale
- Python
- Stelle
- 92
- Fork
- 75
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Tried to load data as described here
https://docs.geohealthcheck.org/en/latest/admin.html#load-data
Got this error
```
root@geohealthcheck:~/GeoHealthCheck# python3 GeoHealthCheck/models.py load tests/data/teste.json
Traceback (most recent call last):
File "/root/GeoHealthCheck/GeoHealthCheck/models.py", line 35, in
from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
ImportError: cannot import name 'TimedJSONWebSignatureSerializer' from 'itsdangerous' (/usr/local/lib/python3.10/dist-packages/itsdangerous/__init__.py)
```
Ubuntu 22.04 with the latest GHC installed with docker-compose.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The traceback points to GeoHealthCheck/models.py line 35 while running `python3 GeoHealthCheck/models.py load tests/data/teste.json`; start by reproducing that command in the reported environment and checking the installed itsdangerous version. Done means the documented data-loading command works without this import error, with the behavior reflected in the installation or dependency guidance.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker-compose, python
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100