test() is not defined
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
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
Contributor guide
No contributing guide indexed for this repository
Research direction
The report points to facehack.py lines 213, 108, and 131. Start by reproducing the Python 2.5 IDLE run and inspect the undefined test() call, then trace FaceHack.__init__ through login and the regex failure. Done means the reported startup and login errors are resolved or their supported behavior is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100