test() is not defined
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
```
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
El informe apunta a las líneas 213, 108 y 131 de facehack.py. Empieza reproduciendo la ejecución en Python 2.5 IDLE e inspeccionando la llamada indefinida a test(), y después sigue FaceHack.__init__ a través de login y del fallo de regex. Se considera terminado cuando los errores de inicio y de login indicados estén resueltos o se haya documentado su comportamiento compatible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100