ZeroNet
ZeroNet copied to clipboard
UiWebsocket.py: "'SiteStorage' object has no attribute 'piecefields'"
Step 1: Please describe your environment
- ZeroNet version: ZeroNet-py3 0.7.2 (rev 4553)
- Operating system: Debian Buster
- Web browser: Google Chrome
- Tor status: always
- Opened port: no
- Special configuration: UiPassword is on, access through local network.
Step 2: Describe the problem:
Steps to reproduce:
- Open link http://<my_internal_ip_address>:43110/149EPBN4hQRpwj5TcoPETepnoXHCUXzaCN/ (YouTube on ZeroNet)
- It suddenly appears a message "Internal error: AttributeError("'SiteStorage' object has no attribute 'piecefields'"): 'SiteStorage' object has no attribute 'piecefields' >> UiWebsocket.py line 80 > 236 > OptionalManager/UiWebsocketPlugin.py line 169 > 67" on top right corner, and the zite does not show the video list.
Observed Results:

Expected Results:
Being able to use YouTube on ZeroNet again.
I discovered a problem long time ago, but forgot to report back. It seems like it caused by version of Python 3.8.3 from Debian Buster repository is not compatible with ZeroNet. Changed Python to ZeroNet-provided works just fine. This could be a bug and should be fixed.
You saying that Python 3.8.3 is not compatible with ZeroNet? Oh boy.
The internal error you posted has absolutely nothing to do with the version of Python.