HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.38k stars 2.27k forks source link

Invalid Content.json files with clones site? #1372

Open Madgator opened 6 years ago

Madgator commented 6 years ago

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.

HelloZeroNet commented 6 years ago

I just tested the cloning with ZeroTalk and it's work fine for me.

It's possible that some site does not provide proper template for newly coned site. (*-default directory/site)

Please check if the cloning works for you on ZeroTalk.