Open slrslr opened 6 years ago
After stopping ZN, removing C:\ZeroNet\data\1MeFqFfFFGQfa1J3gJyYYUvb5Lksczq7nH\merged-ZeroMe\ZeroMe.db, starting ZN, visiting ZeroMe and Rebuild from (0) menu worked. It took maybe 2 minutes and ZeroMe.db is back there having around 60MB. Bubble with "Database rebuilding..." not disappeared on its own. Though i would be interested to know why importing was stuck before and how to discover the reason. Nofish mentioned that ZN does not support multithreading, so that is why ZeroHello newsfeed search can block loading of other zites, but this may not be related to this issue.
Step 1: Please describe your environment
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.