ZeroNet icon indicating copy to clipboard operation
ZeroNet copied to clipboard

UiWebsocket.py: "'SiteStorage' object has no attribute 'piecefields'"

Open SysError99 opened this issue 4 years ago • 2 comments

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:

  1. Open link http://<my_internal_ip_address>:43110/149EPBN4hQRpwj5TcoPETepnoXHCUXzaCN/ (YouTube on ZeroNet)
  2. 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:

screenshot of an error

Expected Results:

Being able to use YouTube on ZeroNet again.

SysError99 avatar Jan 01 '21 15:01 SysError99

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.

SysError99 avatar Jan 13 '21 01:01 SysError99

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.

ghost avatar Jan 28 '21 05:01 ghost