HelloZeroNet / HelloZeroNet/ZeroNet
Site sign failed when there is no files_optional
- Langage dominant
- JavaScript
- Étoiles
- 18.8k
- Forks
- 2.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Got the following error when there is no `"files_optional": {}` node in `content.json` (this was a newly created site and I want to upload something to it):
```
Site sign failed: content.json: TypeError: argument of type 'NoneType' is not iterable in UiWebsocket.py line 382 > ContentManager.py line 577 > ContentManager.py line 524 > BigfilePlugin.py line 244
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start at BigfilePlugin.py line 244 and follow the call chain through ContentManager.py lines 524 and 577 to UiWebsocket.py line 382. Reproduce signing or uploading a newly created site whose content.json omits files_optional, then verify the operation no longer raises the reported TypeError.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100