<type 'exceptions.ValueError'> | Python 2.7.6: /usr/bin/python Sun Sep 8 18:35:37 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/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 = '44.201.97.138', 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='44.201.97.138', idioma='langEN') |
140 idioma = 'lang' + idioma |
141 if ip_dire != 'UNKNOWN': |
=> 142 pais = pais_cliente(ip_dire) |
143 num_as = as_num_cliente(ip_dire) |
144 if num_as != 'UNKNOWN': |
pais undefined, global pais_cliente = <function pais_cliente>, ip_dire = '44.201.97.138' |
/var/www/lanet-vi.fi.uba.ar/i_am_here/i_am_here_cgi/info.py in pais_cliente(ip_dire='44.201.97.138') |
37 |
38 for linea in lstpaisesxip: |
=> 39 ipcomp, host, paiscomp = linea.split('\t') |
40 #print pais, ipcomp, host |
41 host_mask = int(round(log(int(host))/log(2))) |
ipcomp undefined, host undefined, paiscomp undefined, linea = 'UNKNOWN', linea.split = <built-in method split of str object> |
<type 'exceptions.ValueError'>: need more than 1 value to unpack
args =
('need more than 1 value to unpack',)
message =
'need more than 1 value to unpack'