HelloZeroNet / HelloZeroNet/ZeroNet
Invalid Content.json files with clones site?
- Langage dominant
- JavaScript
- Étoiles
- 18.8k
- Forks
- 2.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Using the latest version of ZeroNet from a Linux machine, and not using it over TOR. I attempted to launch a clone of the Millchan imageboard zite. Two attempts were made, and the site seemed to clone successfully. After modifying index.html and making a few minor aesthetic changes, I signed and published the site.
The problem arises when attempting to actually use the clone. Any change, such as a new board, new post or reply throws the following error:
Internal error: Exception: Invalid content.json file: data/users/1K3dqsJjQwTShJRNShqW76UaRQi1XaZjSy/data.json
UiWebsocket.py line 81 > UiWebsocket.py line 258 > MergerSitePlugin.py line 203 > MergerSitePlugin.py line 197 > UiWebsocket.py line 431 > MergerSitePlugin.py line 200 > MergerSitePlugin.py line 197 > UiWebsocketPlugin.py line 36 > UiWebsocket.py line 382
The content.json file exists, but only contains the following lines:
{
"optional": "(?!data.json)",
"ignore": "blacklist.json(-old)?"
}
Any advice would be appreciated.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start with the traceback locations in UiWebsocket.py and MergerSitePlugin.py, then inspect the reported data/users/.../data.json and its content.json. Reproduce the clone workflow on Linux without TOR and determine why the generated content.json is rejected; done means cloned-site changes no longer raise the invalid-content error.
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é
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100