HelloZeroNet / HelloZeroNet/ZeroNet

Invalid Content.json files with clones site?

Đang mở
#1,372 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.