HelloZeroNet / HelloZeroNet/ZeroNet

I have no idea how to repair sidebar function on one of my sites.

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

説明

I deleted

> "inner_path": "content.json",

from content.json and now the sidebar doesn't work.

I already reversed the change, but it didn't unbreak the sidebar.

Internal error: TypeError('an integer is required (got type bytes)'): an integer is required (got type bytes)
UiWebsocket.py line 79 > 235 > Sidebar/SidebarPlugin.py line 529 > 195 > ContentManager.py line 350 > 348 > ContentDbDict.py line 61 > 29 > ThreadPool.py line 32 > 49 > event.py line 268 > 296 > 286 > 266 > 211 > gevent/_tblib.py line 371 > ... > 202

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

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

調査の方向性

まず、Sidebar/SidebarPlugin.py の529行目から ContentManager.py の350行目、ContentDbDict.py の61行目へと、報告された失敗を追跡します。影響を受けた content.json を使ってサイドバーの失敗を再現し、根本的な問題を解決した後に、報告された TypeError なしでサイドバーが読み込まれることを確認します。

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

評価

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

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

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