HelloZeroNet / HelloZeroNet/ZeroNet

file synchronization/updating failing

Open
#923 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

ok, I just want to preface this by saying it's one of those awful errors that seem to be OS dependent, and exactly how it manifests itself is seemingly random.
the error is that for some zites (a steadily climbing amount) I can't sync/update all files, I looked through the debug log and found that this error seems to be related and affect a large number of files ( or the same ones many times)
`[2017-05-04 17:21:04,513] ERROR Site:1MeFqF..q7nH Json merged-ZeroMe/12h51ug6CcntU2aiBjhP8Ns2e5VypbWWtv/data/users/1BR2d8kCqCBaFWLQ9KXnNbJzLmcPJ3DdTL/data.json load error: OperationalError: attempt to write a readonly database in SiteStorage.py line 234 > MutePlugin.py line 100 > SiteStorage.py line 74 > Db.py line 323 > DbCursor.py line 49`

attached is my entire debug log, hope to have this resolved soon.

[debuglog.txt](https://github.com/HelloZeroNet/ZeroNet/files/977387/debuglog.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached debug log and trace the reported call chain through SiteStorage.py, MutePlugin.py, Db.py, and DbCursor.py, focusing on the readonly database error. Reproduce the synchronization failure across the affected files and verify that updates complete without the reported OperationalError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.