HelloZeroNet / HelloZeroNet/ZeroNet
name 'filter_storage' is not defined
- Langage dominant
- JavaScript
- Étoiles
- 18.8k
- Forks
- 2.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Step 1: Please describe your environment
* ZeroNet version: 4486
* Operating system: Raspbian
### Step 2: Describe the problem:
Already 20 minutes avery second or every a few seconds i see errors for site 1ADQAH*:
> ERROR Site:1ADQAH..g6aA Error deleting data/users/usernamehere/src/filenamehere.jpg: name 'filter_storage' is not defined
interesting is to me that this is on a SSD drive (so i would expect faster progress). But "htop" linux command shows single CPU thread out of 4 is overutilized by the zeronet.py
i think that these errors appears after starting zeronet with content.db and chart.db removed. And also when shm and wal db files are not present. I do not know how to properly start ZN so it rebuild databases from files (there are .db .db-wal .db-shm files) #2551
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by searching the Python codebase for filter_storage and tracing the data-deletion path for the affected site. Check how content.db and chart.db are rebuilt when WAL/SHM files are absent; done means the repeated deletion error no longer occurs and the recovery behavior is verified.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100