(dp1 S'output' p2 S" list index out of range" p3 sS'layer' p4 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p5 sS'code' p6 S' at 0x7f8881a3f1b0, file "/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py", line 1>' p7 sS'snapshot' p8 (dp9 S'exception' p10 (dp11 S'__getslice__' p12 S"" p13 sS'__str__' p14 S"" p15 sS'__reduce__' p16 S'' p17 sS'__dict__' p18 S'{}' p19 sS'message' p20 S"'list index out of range'" p21 sS'__sizeof__' p22 S'' p23 sS'__init__' p24 S"" p25 sS'__setattr__' p26 S"" p27 sS'__reduce_ex__' p28 S'' p29 sS'__new__' p30 S'' p31 sS'__format__' p32 S'' p33 sS'__class__' p34 S"" p35 sS'__doc__' p36 S"'Sequence index out of range.'" p37 sS'__getitem__' p38 S"" p39 sS'__setstate__' p40 S'' p41 sS'__getattribute__' p42 S"" p43 sS'args' p44 S"('list index out of range',)" p45 sS'__subclasshook__' p46 S'' p47 sS'__unicode__' p48 S'' p49 sS'__delattr__' p50 S"" p51 sS'__repr__' p52 S"" p53 sS'__hash__' p54 S"" p55 ssS'evalue' p56 S'list index out of range' p57 sS'request' p58 cgluon.html XML_unpickle p59 (S'sXe\x00\x00
ajax:
False
application:
HLD
args:
cid:
None
client:
127.0.0.1
controller:
default
cookies:
session_id_admin:
127.0.0.1-7aa46645-aba0-417e-a3c2-87a61d1a3ea1
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_helloworld:
127.0.0.1-e83eb8da-7fe5-4878-aefd-a36a2f3775da
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_hld:
127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_welcome:
127.0.0.1-5d7b2241-45f8-4457-a169-2652201968d1
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
env:
HTTP_ACCEPT:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING:
gzip, deflate
HTTP_ACCEPT_LANGUAGE:
en-US,en;q=0.5
HTTP_CACHE_CONTROL:
max-age=0
HTTP_CONNECTION:
keep-alive
HTTP_COOKIE:
session_id_welcome=127.0.0.1-5d7b2241-45f8-4457-a169-2652201968d1; session_id_admin=127.0.0.1-7aa46645-aba0-417e-a3c2-87a61d1a3ea1; session_id_hld=127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b; session_id_helloworld=127.0.0.1-e83eb8da-7fe5-4878-aefd-a36a2f3775da
HTTP_HOST:
127.0.0.1:8000
HTTP_REFERER:
http://127.0.0.1:8000/HLD/default/search
HTTP_UPGRADE_INSECURE_REQUESTS:
1
HTTP_USER_AGENT:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
PATH_INFO:
/HLD/default/results
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
56222
REQUEST_METHOD:
GET
SCRIPT_NAME:
SERVER_NAME:
Omen
SERVER_PORT:
8000
SERVER_PROTOCOL:
HTTP/1.1
SERVER_SOFTWARE:
Rocket 1.2.6
app_folders:
set(['/home/jdalbey/Dropbox/web2py/applications/welcome', '/home/jdalbey/Dropbox/web2py/applications/admin', '/home/jdalbey/Dropbox/web2py/applications/helloworld', '/home/jdalbey/Dropbox/web2py/applications/HLD'])
applications_parent:
/home/jdalbey/Dropbox/web2py
cmd_args:
cmd_options:
<Values at 0x7f88b35279b0: {'verbose': False, 'ip': '127.0.0.1', 'debuglevel': 30, 'with_scheduler': False, 'shutdown_timeout': 5, 'taskbar': False, 'with_coverage': False, 'pid_filename': 'httpserver.pid', 'maxthreads': None, 'softcron': False, 'server_name': 'Omen', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Dropbox/web2py', 'config': '', 'minthreads': None, 'shell': None, 'run': '', 'log_filename': 'httpserver.log', 'profiler_dir': None, 'args': [], 'socket_timeout': 5, 'ssl_ca_certificate': None, 'scheduler': None, 'interfaces': None, 'ssl_private_key': '', 'gae': None, 'password': '******', 'request_queue_size': 5, 'ssl_certificate': '', 'cronjob': False, 'numthreads': None, 'quiet': False, 'import_models': False, 'timeout': 10, 'plain': False, 'nobanner': False}>
db_sessions:
set([])
debugging:
True
gluon_parent:
/home/jdalbey/Dropbox/web2py
http_accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
http_accept_encoding:
gzip, deflate
http_accept_language:
en-US,en;q=0.5
http_cache_control:
max-age=0
http_connection:
keep-alive
http_cookie:
session_id_welcome=127.0.0.1-5d7b2241-45f8-4457-a169-2652201968d1; session_id_admin=127.0.0.1-7aa46645-aba0-417e-a3c2-87a61d1a3ea1; session_id_hld=127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b; session_id_helloworld=127.0.0.1-e83eb8da-7fe5-4878-aefd-a36a2f3775da
http_host:
127.0.0.1:8000
http_referer:
http://127.0.0.1:8000/HLD/default/search
http_upgrade_insecure_requests:
1
http_user_agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
is_jython:
False
is_py2:
True
is_pypy:
False
is_source:
True
local_hosts:
::1
127.0.1.1
::ffff:127.0.0.1
127.0.0.1
Omen
path_info:
/HLD/default/results
query_string:
remote_addr:
127.0.0.1
remote_port:
56222
request_method:
GET
request_uri:
/HLD/default/results
script_name:
server_name:
Omen
server_port:
8000
server_protocol:
HTTP/1.1
server_software:
Rocket 1.2.6
web2py_path:
/home/jdalbey/Dropbox/web2py
web2py_version:
2.18.5-stable+timestamp.2019.04.08.04.22.03
wsgi.errors:
<open file '<stderr>', mode 'w' at 0x7f88ba5a3270>
wsgi.file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f88b355d980>
wsgi.input:
<socket._fileobject object at 0x7f888190f2d0>
wsgi.multiprocess:
False
wsgi.multithread:
True
wsgi.run_once:
False
wsgi.url_scheme:
http
wsgi.version:
1
0
wsgi_errors:
<open file '<stderr>', mode 'w' at 0x7f88ba5a3270>
wsgi_file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f88b355d980>
wsgi_input:
<socket._fileobject object at 0x7f888190f2d0>
wsgi_multiprocess:
False
wsgi_multithread:
True
wsgi_run_once:
False
wsgi_url_scheme:
http
wsgi_version:
1
0
extension:
html
folder:
/home/jdalbey/Dropbox/web2py/applications/HLD
function:
results
global_settings:
app_folders:
set(['/home/jdalbey/Dropbox/web2py/applications/welcome', '/home/jdalbey/Dropbox/web2py/applications/admin', '/home/jdalbey/Dropbox/web2py/applications/helloworld', '/home/jdalbey/Dropbox/web2py/applications/HLD'])
applications_parent:
/home/jdalbey/Dropbox/web2py
cmd_args:
cmd_options:
<Values at 0x7f88b35279b0: {'verbose': False, 'ip': '127.0.0.1', 'debuglevel': 30, 'with_scheduler': False, 'shutdown_timeout': 5, 'taskbar': False, 'with_coverage': False, 'pid_filename': 'httpserver.pid', 'maxthreads': None, 'softcron': False, 'server_name': 'Omen', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Dropbox/web2py', 'config': '', 'minthreads': None, 'shell': None, 'run': '', 'log_filename': 'httpserver.log', 'profiler_dir': None, 'args': [], 'socket_timeout': 5, 'ssl_ca_certificate': None, 'scheduler': None, 'interfaces': None, 'ssl_private_key': '', 'gae': None, 'password': '******', 'request_queue_size': 5, 'ssl_certificate': '', 'cronjob': False, 'numthreads': None, 'quiet': False, 'import_models': False, 'timeout': 10, 'plain': False, 'nobanner': False}>
db_sessions:
set([])
debugging:
True
gluon_parent:
/home/jdalbey/Dropbox/web2py
is_jython:
False
is_py2:
True
is_pypy:
False
is_source:
True
local_hosts:
::1
127.0.1.1
::ffff:127.0.0.1
127.0.0.1
Omen
web2py_version:
2.18.5-stable+timestamp.2019.04.08.04.22.03
is_https:
False
is_local:
True
is_restful:
False
is_scheduler:
False
is_shell:
False
method:
GET
now:
datetime.datetime(2020, 3, 10, 20, 15, 11, 918144)
raw_args:
raw_extension:
None
url:
/HLD/default/results
utcnow:
datetime.datetime(2020, 3, 11, 3, 15, 11, 918165)
wsgi:
<gluon.main.LazyWSGI object at 0x7f8880f23850>
' tRp60 sS'frames' p61 (lp62 (dp63 S'file' p64 S'/home/jdalbey/Dropbox/web2py/gluon/restricted.py' p65 sS'dump' p66 (dp67 S'environment' p68 S"{'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...}" p69 sS'ccode' p70 S' at 0x7f8881a3f1b0, file "/...applications/HLD/controllers/default.py", line 1>' p71 ssS'lnum' p72 I219 sS'lines' p73 (dp74 I214 S' if environment is None:' p75 sI215 S' environment = {}' p76 sI216 S" environment['__file__'] = layer" p77 sI217 S" environment['__name__'] = '__restricted__'" p78 sI218 S' try:' p79 sI219 S' exec(ccode, environment)' p80 sI220 S' except HTTP:' p81 sI221 S' raise' p82 sI222 S' except RestrictedError:' p83 sI223 S' # do not encapsulate (obfuscate) the original RestrictedError' p84 ssS'call' p85 S'(ccode= at 0x7f8881a3f1b0, file "/...applications/HLD/controllers/default.py", line 1>, environment={\'A\': , \'ANY_OF\': , \'ASSIGNJS\': , \'B\': , \'BEAUTIFY\': , \'BODY\': , \'BR\': , \'BUTTON\': , \'CAT\': , \'CENTER\': , ...}, layer=\'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py\', scode= at 0x7f8881a3f1b0, file "/...applications/HLD/controllers/default.py", line 1>)' p86 sS'func' p87 S'restricted' p88 sa(dp89 g64 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p90 sg66 (dp91 sg72 I59 sg73 (dp92 I48 S' form = FORM(BR(),' p93 sI49 S' INPUT(_type=\'submit\',_value="submt status form"))' p94 sI50 S' if form.process().accepted:' p95 sI51 S" response.flash = 'Status submit acknowledgement appears here.'" p96 sI52 S" redirect(URL('results'))" p97 sI53 S' return dict(msg=msg, form=form)' p98 sI54 S'' sI55 S'def showhistory():' p99 sI56 S' msg = "Status histories will appear here"' p100 sI57 S' return dict(msg=msg)' p101 ssg85 S'()' p102 sg87 S'' p103 sa(dp104 g64 S'/home/jdalbey/Dropbox/web2py/gluon/globals.py' p105 sg66 (dp106 S'self' p107 S'undefined' p108 sS'f' S'' p109 ssg72 I421 sg73 (dp110 I416 S" self.flash = '' # used by the default view layout" p111 sI417 S' self.meta = Storage() # used by web2py_ajax.html' p112 sI418 S' self.menu = [] # used by the default view layout' p113 sI419 S' self.files = [] # used by web2py_ajax.html' p114 sI420 S' self._vars = None' p115 sI421 S' self._caller = lambda f: f()' p116 sI422 S' self._view_environment = None' p117 sI423 S' self._custom_commit = None' p118 sI424 S' self._custom_rollback = None' p119 sI425 S" self.generic_patterns = ['*']" p120 ssg85 S'(f=)' p121 sg87 S'' p122 sa(dp123 g64 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p124 sg66 (dp125 S'global SQLFORM' p126 S"" p127 sS'_type' p128 g108 sS'global INPUT' p129 S"" p130 sS'form' p131 g108 sS'_name' p132 g108 ssg72 I32 sg73 (dp133 I32 S" form = SQLFORM(INPUT(_type='checkbox', _name='cb1'), INPUT(_type='submit'))" p134 sI33 S' return dict(msg=msg, count=count, highways=hwy, form=form)' p135 sI34 S'' sI35 S'# Create a new record' p136 sI36 S'def submit():' p137 sI27 S' msg = "Closure ID = " + session.closureid' p138 sI28 S' else:' p139 sI29 S' hwy = db(db.closures.startdate >= session.startdate).select()' p140 sI30 S' msg = "Start Date >= " + session.startdate' p141 sI31 S' count = len(hwy)' p142 ssg85 S'()' p143 sg87 S'results' p144 sa(dp145 g64 S'/home/jdalbey/Dropbox/web2py/gluon/sqlhtml.py' p146 sg66 (dp147 S'global Table' p148 S"" p149 sS'self' p150 S'' p151 sS'keyed' p152 S'False' p153 sS'builtinisinstance' p154 S'' p155 sS'table.fields' p156 g108 sS'self.fields' p157 S'[]' p158 sS'table' p159 S'' p160 ssg72 I1392 sg73 (dp161 I1387 S' # read only form should show all readable fields' p162 sI1388 S' fields = [f.name for f in table if (ignore_rw or f.readable)]' p163 sI1389 S' self.fields = fields' p164 sI1390 S'' sI1391 S' # make sure we have an id' p165 sI1392 S' if self.fields[0] != table.fields[0] and \\' p166 sI1393 S' isinstance(table, Table) and not keyed:' p167 sI1394 S' self.fields.insert(0, table.fields[0])' p168 sI1395 S'' sI1396 S' self.table = table' p169 ssg85 S"(self=, table=, record=, deletable=False, linkto=None, upload=None, fields=[], labels=None, col3={}, submit_button='Submit', delete_label='Check to delete', showid=True, readonly=False, comments=True, keepopts=[], ignore_rw=False, record_id=None, formstyle=None, buttons=['submit'], separator=None, extra_fields=None, **attributes={})" p170 sg87 g24 sasS'pyver' p171 S'Python 2.7.17: /usr/bin/python (prefix: /usr)' p172 sS'session' p173 g59 (S's\x1e\x01\x00\x00
closureid:
startdate:
' tRp174 sS'etype' p175 S"" p176 sS'date' p177 S'Tue Mar 10 20:15:11 2020' p178 sS'response' p179 g59 (S's\x16\x1d\x00\x00
body:
<cStringIO.StringO object at 0x7f8880f230b0>
cookies:
session_id_hld:
127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b
comment:
domain:
expires:
httponly:
max-age:
path:
/
samesite:
secure:
version:
delimiters:
{{
}}
files:
flash:
form_label_separator:
:
formstyle:
table3cols
generic_patterns:
*
headers:
X-Powered-By:
web2py
menu:
Home
False
/HLD/default/index
List
False
/HLD/default/list
Search
False
/HLD/default/search
Request
False
/HLD/default/submit
meta:
author:
Author
description:
describe your app
keywords:
keyword
models_to_run:
^\\w+\\.py$
^default/\\w+\\.py$
^default/results/\\w+\\.py$
postprocessing:
session_client:
127.0.0.1
session_cookie_compression_level:
None
session_cookie_expires:
None
session_data_name:
session_data_hld
session_file:
<open file '/home/jdalbey/Dropbox/web2py/applications/HLD/sessions/1dd/094/127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b', mode 'rb+' at 0x7f8881a95810>
session_filename:
/home/jdalbey/Dropbox/web2py/applications/HLD/sessions/127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b
session_hash:
fa7c7b30bb572f0de456a1d038429bcb
session_id:
127.0.0.1-f516d593-9b9f-43b2-ac74-1b546582ea4b
session_id_name:
session_id_hld
session_locked:
True
session_masterapp:
HLD
session_new:
False
session_storage_type:
file
status:
200
subtitle:
subtitle customize me!
title:
HLD
view:
default/results.html
' tRp180 sS'locals' p181 (dp182 S'showid' p183 S'True' p184 sS'ofields' p185 S'None' p186 sS'delete_label' p187 S"'Check to delete'" p188 sS'nbsp' p189 S' ' p190 sS'submit_button' p191 S"'Submit'" p192 sS'table' p193 S'' p194 sS'formstyle' p195 S'None' p196 sS'extra_fields' p197 S'None' p198 sS'comments' p199 g184 sS'buttons' p200 S"['submit']" p201 sS'ignore_rw' p202 g153 sS'readonly' p203 g153 sS'record_id' p204 S'None' p205 sS'labels' p206 S'None' p207 sS'col3' p208 g19 sS'deletable' p209 g153 sS'linkto' p210 S'None' p211 sS'fields' p212 S'[]' p213 sS'upload' p214 S'None' p215 sS'keyed' p216 g153 sS'record' p217 S'' p218 sS'separator' p219 S'None' p220 sS'keepopts' p221 S'[]' p222 sS'attributes' p223 g19 sS'self' p224 S'' p225 sS'T' S'' p226 sssS'traceback' p227 S'Traceback (most recent call last):\n File "/home/jdalbey/Dropbox/web2py/gluon/restricted.py", line 219, in restricted\n exec(ccode, environment)\n File "/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py", line 59, in \n File "/home/jdalbey/Dropbox/web2py/gluon/globals.py", line 421, in \n self._caller = lambda f: f()\n File "/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py", line 32, in results\n form = SQLFORM(INPUT(_type=\'checkbox\', _name=\'cb1\'), INPUT(_type=\'submit\'))\n File "/home/jdalbey/Dropbox/web2py/gluon/sqlhtml.py", line 1392, in __init__\n if self.fields[0] != table.fields[0] and \\\nIndexError: list index out of range\n' p228 s.