test() is not defined
还没有人认领这个 Issue。
- 主要语言
- 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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
报告指出了 facehack.py 的第 213、108 和 131 行。首先重现 Python 2.5 IDLE 的运行,并检查未定义的 test() 调用,然后跟踪 FaceHack.__init__ 经过 login 和正则表达式失败的过程。当报告的启动和登录错误得到解决,或其受支持的行为得到记录时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100