HelloZeroNet / HelloZeroNet/ZeroNet

Database rebuilding... Imported 0000 of 55322 files...

Đang mở
#1,410 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ả

### Step 1: Please describe your environment

* ZeroNet version: 0.6.2 rev3465
* Operating system: W10
* Web browser: FF
* Tor status: available
* Opened port: no
* Special configuration: --multiuser_local

### Step 2: Describe the problem:

Hello, i tried to Rebuild **ZeroMe** DB, because i lost users i followed and posts i liked, no longer appeared. It happened after my computer crashed.

When i go to ZeroMe and click "Rebuild" button, then the information bubble "Database rebuilding..." appear. Then after some minutes, appear another bubble:

Database rebuilding...
Imported 0000 of 55322 files...

I let that ZN page be and ZN running more than 6 hours, but nothing changed, same bubbles, same 0000 value. I see ZeroHello newsfeed stopped loading since then.

HDD activity of the ZeroNet.exe is 0.1MB/s which is a minimum value shown in Task manager i assume. CPU is at normal values.

debug.log says example:
[2018-05-01 23:39:50,967] DEBUG Site:1SunAW..JN9a Error loading data/users/1BpjTxx3SZuxpicn1gKWPkFPycSkvntxfw/content.json for removeContent: KeyError: u'data/users/1BpjTxx3SZuxpicn1gKWPkFPycSkvntxfw/content.json' in ContentManager.py line 248 > ContentDbDict.py line 59
[2018-05-01 23:39:50,967] WARNING Site:1SunAW..JN9a data/users/content.json parse error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 14: ordinal not in range(128) in ContentManager.py line 184 > ContentManager.py line 264

So my opinion is that the database rebuilding process is not transparent from the user point of view, because it gives impression it is stuck for unknown reason.

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

Bắt đầu bằng cách tái hiện việc xây dựng lại cơ sở dữ liệu ZeroMe từ cấu hình Windows của issue và xem lại các đường dẫn được ghi trong ContentManager.py và ContentDbDict.py. Kiểm tra lý do quá trình xây dựng lại vẫn ở “Imported 0000 of 55322 files” và UnicodeDecodeError được xử lý như thế nào. Done phải bao gồm một kết quả rõ ràng mà người dùng có thể nhìn thấy khi quá trình xây dựng lại tiến triển hoặc thất bại.

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
databases
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
Khá rõ ràng
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.