HelloZeroNet / HelloZeroNet/ZeroNet
Invalid Content.json files with clones site?
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100