<type 'exceptions.IndexError'> at /enviar_amigo.html

list index out of range

Python /var/www/bcn_boletines/produccion/templates/enviar_amigo.html in __template__, line 11
Web GET http://editorboletines.bcn.cl/enviar_amigo.html

Traceback (innermost first)

Response so far

HEADERS

VariableValue
Content-Type
'text/html; charset=utf-8'

BODY

Request information

INPUT

VariableValue
id_boletin
'385'
nro_boletin
'962'

No data.

META

VariableValue
app_stack
[<web.application.application instance at 0x8d82b16c>]
fullpath
u'/enviar_amigo.html?id_boletin=385&nro_boletin=962'
headers
[('Content-Type', 'text/html; charset=utf-8')]
home
u'http://editorboletines.bcn.cl'
homedomain
u'http://editorboletines.bcn.cl'
homepath
u''
host
u'editorboletines.bcn.cl'
ip
u'127.0.0.1'
method
u'GET'
output
u''
path
u'/enviar_amigo.html'
protocol
u'http'
query
u'?id_boletin=385&nro_boletin=962'
realhome
u'http://editorboletines.bcn.cl'
status
'200 OK'

ENVIRONMENT

VariableValue
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip'
HTTP_HOST
'editorboletines.bcn.cl'
HTTP_USER_AGENT
'Amazon CloudFront'
HTTP_VIA
'2.0 87e6563b344d9d0eb9b5aa233652bc74.cloudfront.net (CloudFront), 1.1 localhost, 1.0 localhost:9923'
HTTP_X_AMZN_TRACE_ID
'Root=1-6605cea4-068f43802c1385df4bddb628'
HTTP_X_AMZ_CF_ID
'S7t2UCkNaktdoeMXyRnK8bcn_RdZos2b0cwiivUR3YMHwRTwagU1Bw=='
HTTP_X_FORWARDED_FOR
'172.20.122.43'
HTTP_X_FORWARDED_HOST
'www.bcn.cl, localhost:9923'
HTTP_X_FORWARDED_PORT
'80'
HTTP_X_FORWARDED_PROTO
'http'
HTTP_X_FORWARDED_SERVER
'localhost, localhost'
HTTP_X_INTERNO
'True'
HTTP_X_VARNISH
'43516252, 12786148, 1439388405, 34362672'
PATH_INFO
'/enviar_amigo.html'
PATH_TRANSLATED
'/var/www/bcn_boletines/produccion/app_boletin.py/enviar_amigo.html'
QUERY_STRING
'id_boletin=385&nro_boletin=962'
REMOTE_ADDR
'127.0.0.1'
REMOTE_PORT
'53042'
REQUEST_METHOD
'GET'
REQUEST_URI
'/enviar_amigo.html?id_boletin=385&nro_boletin=962'
SCRIPT_FILENAME
'/var/www/bcn_boletines/produccion/app_boletin.py'
SCRIPT_NAME
''
SCRIPT_URI
'http://editorboletines.bcn.cl/enviar_amigo.html'
SCRIPT_URL
'/enviar_amigo.html'
SERVER_ADDR
'127.0.0.1'
SERVER_ADMIN
'[no address given]'
SERVER_NAME
'editorboletines.bcn.cl'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SIGNATURE
''
SERVER_SOFTWARE
'Apache'
mod_wsgi.application_group
'editorboletines.bcn.cl|'
mod_wsgi.callable_object
'application'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
'localhost'
mod_wsgi.listener_port
'80'
mod_wsgi.process_group
''
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 3)
wsgi.errors
<mod_wsgi.Log object at 0x87565d68>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0x86f96068>
wsgi.input
<mod_wsgi.Input object at 0x87565d40>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 1)

You're seeing this error because you have web.config.debug set to True. Set that to False if you don't want to see this.