HelloZeroNet / HelloZeroNet/ZeroNet
name 'filter_storage' is not defined
- 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: 4486
* Operating system: Raspbian
### Step 2: Describe the problem:
Already 20 minutes avery second or every a few seconds i see errors for site 1ADQAH*:
> ERROR Site:1ADQAH..g6aA Error deleting data/users/usernamehere/src/filenamehere.jpg: name 'filter_storage' is not defined
interesting is to me that this is on a SSD drive (so i would expect faster progress). But "htop" linux command shows single CPU thread out of 4 is overutilized by the zeronet.py
i think that these errors appears after starting zeronet with content.db and chart.db removed. And also when shm and wal db files are not present. I do not know how to properly start ZN so it rebuild databases from files (there are .db .db-wal .db-shm files) #2551
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ìm filter_storage trong codebase Python và lần theo đường dẫn xóa dữ liệu của site bị ảnh hưởng. Kiểm tra cách content.db và chart.db được xây dựng lại khi các tệp WAL/SHM không tồn tại; hoàn tất có nghĩa là lỗi xóa lặp lại không còn xảy ra và hành vi khôi phục đã được xác minh.
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, databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 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
- 20/100