--> --> -->
 
 
<type 'exceptions.UnboundLocalError'>
Python 2.7.6: /usr/bin/python
Sun Feb 18 03:25:25 2018

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/lanet-vi.fi.uba.ar/i_am_here/i_am_here_cgi/search.py in ()
     90 #obtengo info de la ip (pais, numero de as y nombre de as)
     91 
=>   92 num_as, name_as, country, nic_as = pais_num_name_nic(ip_dire, idioma='EN')
     93 
     94 archlog = open(logconsultas, 'a')
num_as undefined, name_as undefined, country undefined, nic_as undefined, pais_num_name_nic = <function pais_num_name_nic>, ip_dire = '54.167.40.159', idioma undefined
 /var/www/lanet-vi.fi.uba.ar/i_am_here/i_am_here_cgi/info.py in pais_num_name_nic(ip_dire='54.167.40.159', idioma='langEN')
    150         return False
    151 
=>  152     return num_as, nameas, namepais, nic
    153     
    154     
num_as = 'UNKNOWN', nameas = 'UNKNOWN', namepais = 'UNKNOWN', nic undefined

<type 'exceptions.UnboundLocalError'>: local variable 'nic' referenced before assignment
      args = ("local variable 'nic' referenced before assignment",)
      message = "local variable 'nic' referenced before assignment"