English version | ||
lugares | datos climáticos | artículos |
datos de Mairena del Aljarafe, Sevilla, España |
--> -->
|
<type 'exceptions.UnboundLocalError'> | Python 2.7.6: /usr/bin/python2.7 Tue Dec 3 03:15:59 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/mundomanz/mairgraph in |
993 # del pro |
994 datos=[] |
=> 995 genera_datos() |
996 genera_graficos_propios(datos) |
997 comunes_mundomanz.pie() |
genera_datos = <function genera_datos> |
/var/www/mundomanz/mairgraph in genera_datos() |
704 n=0 |
705 found=0 |
=> 706 for x in range (len(fichero)): |
707 #~ print fichero[x][:12] |
708 n=n+1 |
global x = 365, builtin range = <built-in function range>, builtin len = <built-in function len>, fichero undefined |
<type 'exceptions.UnboundLocalError'>: local variable 'fichero' referenced before assignment
args =
("local variable 'fichero' referenced before assignment",)
message =
"local variable 'fichero' referenced before assignment"