InstaPy / InstaPy/instapy-quickstart

NoneType has no attribute

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

説明

\AppData\Local\Programs\Python\Python311\Lib\site-packages\instapy\util.py", line 501, in getUserData
get_key = shared_data.get("entry_data").get("ProfilePage")[0]
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

can somebody please help me?

get_key = shared_data.get("entry_data").get("ProfilePage") that is line 501

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

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

調査の方向性

Start at instapy/util.py line 501 and trace how shared_data is populated before getUserData is called. Reproduce the reported Python 3.11 traceback, then verify that the completed change prevents the NoneType exception and preserves the expected profile lookup behavior.

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

評価

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

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

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