test() is not defined
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```
What steps will reproduce the problem?
1. Download facehack.py
2. Run in Python 2.5 from IDLE
What is the expected output? What do you see instead?
Error message as follows:
Traceback (most recent call last):
File "C:\Python25\facehack.py", line 213, in
test()
NameError: name 'test' is not defined
What version of the product are you using? On what operating system?
facehack 0.1 on Windows XP SP3
Please provide any additional information below.
If these lines are commented out, I run into further problems (also from
IDLE, Run Module):
>>> fh = FaceHack("me","secret")
Traceback (most recent call last):
File "", line 1, in
fh = FaceHack("me","secret")
File "C:\Python25\facehack.py", line 108, in __init__
self.login(user,passw)
File "C:\Python25\facehack.py", line 131, in login
self.id = re.search('Profile',res).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
```
Original issue reported on code.google.com by `ascher...@gmail.com` on 25 Jan 2009 at 2:12
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
レポートでは facehack.py の213、108、131行を指摘しています。まず Python 2.5 IDLE の実行を再現し、未定義の test() 呼び出しを調べてから、FaceHack.__init__ を login と正規表現の失敗まで追跡してください。報告された起動エラーとログインエラーが解消されるか、サポートされる動作が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100