HelloZeroNet / HelloZeroNet/ZeroNet

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

オープン
#2,718 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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://: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](https://sv1.picz.in.th/images/2021/01/01/lYx7Az.png)

#### Expected Results:

Being able to use YouTube on ZeroNet again.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with UiWebsocket.py around line 80 and OptionalManager/UiWebsocketPlugin.py around line 169, then trace how SiteStorage is used during the reported YouTube zite request. Reproduce the error using the listed ZeroNet version and steps. Done means the zite loads its video list without the SiteStorage piecefields AttributeError.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。