(dp1 S'output' p2 S'' sS'layer' p3 S'Framework' p4 sS'code' p5 S'' sS'snapshot' p6 (dp7 S'exception' p8 (dp9 S'__getslice__' p10 S"" p11 sS'text' p12 S'\' INPUT(_name="Search" _type=\\\'subm... btn-default", _style="margin: 7% 45% 2% 40%;"))\\n\'' p13 sS'__str__' p14 S"" p15 sS'__reduce__' p16 S'' p17 sS'__dict__' p18 S'{}' p19 sS'__sizeof__' p20 S'' p21 sS'message' 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'filename' p36 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py'" p37 sS'lineno' p38 S'44' p39 sS'msg' p40 S"'invalid syntax'" p41 sS'__doc__' p42 S"'Invalid syntax.'" p43 sS'__getitem__' p44 S"" p45 sS'__setstate__' p46 S'' p47 sS'__getattribute__' p48 S"" p49 sS'print_file_and_line' p50 S'None' p51 sS'args' p52 S'(\'invalid syntax\', (\'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py\', 44, 42, \' INPUT(_name="Search" _type=\\\'subm... btn-default", _style="margin: 7% 45% 2% 40%;"))\\n\'))' p53 sS'__subclasshook__' p54 S'' p55 sS'offset' p56 S'42' p57 sS'__unicode__' p58 S'' p59 sS'__delattr__' p60 S"" p61 sS'__repr__' p62 S"" p63 sS'__hash__' p64 S"" p65 ssS'evalue' p66 S'invalid syntax (default.py, line 44)' p67 sS'request' p68 cgluon.html XML_unpickle p69 (S'sm[\x00\x00
ajax:
False
application:
LCSv1
args:
cid:
None
client:
127.0.0.1
controller:
default
cookies:
session_id_lcsv1:
127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
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,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
HTTP_ACCEPT_ENCODING:
gzip, deflate, br
HTTP_ACCEPT_LANGUAGE:
en-US,en;q=0.9,zh;q=0.8,vi;q=0.7
HTTP_CACHE_CONTROL:
max-age=0
HTTP_CONNECTION:
keep-alive
HTTP_COOKIE:
session_id_lcsv1=127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
HTTP_HOST:
127.0.0.1:8001
HTTP_SEC_FETCH_DEST:
document
HTTP_SEC_FETCH_MODE:
navigate
HTTP_SEC_FETCH_SITE:
none
HTTP_SEC_FETCH_USER:
?1
HTTP_UPGRADE_INSECURE_REQUESTS:
1
HTTP_USER_AGENT:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
PATH_INFO:
/LCSv1/default/search
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
51658
REQUEST_METHOD:
GET
SCRIPT_NAME:
SERVER_NAME:
Allys-MacBook-Pro.local
SERVER_PORT:
8001
SERVER_PROTOCOL:
HTTP/1.1
SERVER_SOFTWARE:
Rocket 1.2.6
app_folders:
set(['/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCS', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/welcome', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/admin'])
applications_parent:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
cmd_args:
cmd_options:
<Values at 0x108190e18: {'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': 'Allys-MacBook-Pro.local', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/Users/allyquan/iCloud Drive/Documents/LaneClosure/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:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
http_accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
http_accept_encoding:
gzip, deflate, br
http_accept_language:
en-US,en;q=0.9,zh;q=0.8,vi;q=0.7
http_cache_control:
max-age=0
http_connection:
keep-alive
http_cookie:
session_id_lcsv1=127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
http_host:
127.0.0.1:8001
http_sec_fetch_dest:
document
http_sec_fetch_mode:
navigate
http_sec_fetch_site:
none
http_sec_fetch_user:
?1
http_upgrade_insecure_requests:
1
http_user_agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
is_jython:
False
is_py2:
True
is_pypy:
False
is_source:
True
local_hosts:
Allys-MacBook-Pro.local
::ffff:127.0.0.1
::1
192.168.0.117
fe80::1%lo0
1.0.0.127.in-addr.arpa
fe80::103d:afde:acb4:2462%en0
127.0.0.1
path_info:
/LCSv1/default/search
query_string:
remote_addr:
127.0.0.1
remote_port:
51658
request_method:
GET
request_uri:
/LCSv1/default/search
script_name:
server_name:
Allys-MacBook-Pro.local
server_port:
8001
server_protocol:
HTTP/1.1
server_software:
Rocket 1.2.6
web2py_path:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
web2py_version:
2.18.5-stable+timestamp.2019.04.08.04.22.03
wsgi.errors:
<open file '<stderr>', mode 'w' at 0x1072ab1e0>
wsgi.file_wrapper:
<class wsgiref.util.FileWrapper at 0x10811dc80>
wsgi.input:
<socket._fileobject object at 0x10e5a62d0>
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 0x1072ab1e0>
wsgi_file_wrapper:
<class wsgiref.util.FileWrapper at 0x10811dc80>
wsgi_input:
<socket._fileobject object at 0x10e5a62d0>
wsgi_multiprocess:
False
wsgi_multithread:
True
wsgi_run_once:
False
wsgi_url_scheme:
http
wsgi_version:
1
0
extension:
html
folder:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1
function:
search
global_settings:
app_folders:
set(['/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCS', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/welcome', '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/admin'])
applications_parent:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
cmd_args:
cmd_options:
<Values at 0x108190e18: {'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': 'Allys-MacBook-Pro.local', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/Users/allyquan/iCloud Drive/Documents/LaneClosure/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:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
is_jython:
False
is_py2:
True
is_pypy:
False
is_source:
True
local_hosts:
Allys-MacBook-Pro.local
::ffff:127.0.0.1
::1
192.168.0.117
fe80::1%lo0
1.0.0.127.in-addr.arpa
fe80::103d:afde:acb4:2462%en0
127.0.0.1
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, 25, 13, 51, 43, 759017)
raw_args:
raw_extension:
None
url:
/LCSv1/default/search
utcnow:
datetime.datetime(2020, 3, 25, 20, 51, 43, 759029)
wsgi:
<gluon.main.LazyWSGI object at 0x10e5a3810>
' tRp70 sS'frames' p71 (lp72 (dp73 S'file' p74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/main.py' p75 sS'dump' p76 (dp77 S'global serve_controller' p78 S'' p79 sS'session' p80 S"" p81 sS'request' p82 S"" p83 sS'response' p84 S", 'view': 'default/search.html'}>" p85 ssS'lnum' p86 I444 sS'lines' p87 (dp88 I448 S' if static_file:' p89 sI439 S' if global_settings.debugging and app != "admin":' p90 sI440 S' import gluon.debug' p91 sI441 S' # activate the debugger' p92 sI442 S' gluon.debug.dbg.do_debug(mainpyfile=request.folder)' p93 sI443 S'' sI444 S' serve_controller(request, response, session)' p94 sI445 S' except HTTP as hr:' p95 sI446 S' http_response = hr' p96 sI447 S'' ssS'call' p97 S"(environ={'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;...,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.9,zh;q=0.8,vi;q=0.7', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'session_id_lcsv1=127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5', 'HTTP_HOST': '127.0.0.1:8001', 'HTTP_SEC_FETCH_DEST': 'document', 'HTTP_SEC_FETCH_MODE': 'navigate', 'HTTP_SEC_FETCH_SITE': 'none', ...}, responder=)" p98 sS'func' p99 S'wsgibase' p100 sa(dp101 g74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/main.py' p102 sg76 (dp103 S'global run_controller_in' p104 S'' p105 sS'request.controller' p106 S"'default'" p107 sS'request' p108 S"" p109 sS'environment' p110 S"{'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...}" p111 sS'request.function' p112 S"'search'" p113 sS'page' p114 S'undefined' p115 ssg86 I179 sg87 (dp116 I174 S' # process models, controller and view (if required)' p117 sI175 S' # ##################################################' p118 sI176 S'' sI177 S' run_models_in(environment)' p119 sI178 S' response._view_environment = copy.copy(environment)' p120 sI179 S' page = run_controller_in(request.controller, request.function, environment)' p121 sI180 S' if isinstance(page, dict):' p122 sI181 S' response._vars = page' p123 sI182 S' response._view_environment.update(page)' p124 sI183 S' page = run_view_in(response._view_environment)' p125 ssg97 S"(request=, response=, 'view': 'default/search.html'}>, session=)" p126 sg99 S'serve_controller' p127 sa(dp128 g74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/compileapp.py' p129 sg76 (dp130 S'global getcfs' p131 S'' p132 sS'layer' p133 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosu.../applications/LCSv1/controllers/default.py:search'" p134 sS'code' p135 S'\'# added comments for testing\\n# Constants\\nhwys = ...urn "NO"\\n\\nresponse._vars=response._caller(search)\'' p136 sS'ccode' p137 g115 sS'filename' p138 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py'" p139 sS'global compile2' p140 S'' p141 ssg86 I657 sg87 (dp142 I652 S' raise HTTP(404,' p143 sI653 S' rewrite.THREAD_LOCAL.routes.error_message % badf,' p144 sI654 S' web2py_error=badf)' p145 sI655 S' code = "%s\\nresponse._vars=response._caller(%s)" % (code, function)' p146 sI656 S' layer = "%s:%s" % (filename, function)' p147 sI657 S' ccode = getcfs(layer, filename, lambda: compile2(code, filename))' p148 sI658 S'' sI659 S' restricted(ccode, environment, layer=filename)' p149 sI660 S' response = environment["response"]' p150 sI661 S' vars = response._vars' p151 ssg97 S"(controller='default', function='search', environment={'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...})" p152 sg99 S'run_controller_in' p153 sa(dp154 g74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/cfs.py' p155 sg76 (dp156 S'filter' p157 S'>' p158 sS'data' p159 g115 ssg86 I50 sg87 (dp160 I45 S' if item and item[0] == t:' p161 sI46 S' return item[1]' p162 sI47 S' if not callable(filter):' p163 sI48 S' data = read_file(filename)' p164 sI49 S' else:' p165 sI50 S' data = filter()' p166 sI51 S' cfs_lock.acquire()' p167 sI52 S' cfs[key] = (t, data)' p168 sI53 S' cfs_lock.release()' p169 sI54 S' return data' p170 ssg97 S"(key='/Users/allyquan/iCloud Drive/Documents/LaneClosu.../applications/LCSv1/controllers/default.py:search', filename='/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py', filter=>)" p171 sg99 S'getcfs' p172 sa(dp173 g74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/compileapp.py' p174 sg76 (dp175 S'global getcfs' p176 S'' p177 sS'layer' p178 g115 sS'code' p179 S'\'# added comments for testing\\n# Constants\\nhwys = ...urn "NO"\\n\\nresponse._vars=response._caller(search)\'' p180 sS'ccode' p181 g115 sS'filename' p182 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py'" p183 sS'global compile2' p184 S'' p185 ssg86 I657 sg87 (dp186 I652 S' raise HTTP(404,' p187 sI653 S' rewrite.THREAD_LOCAL.routes.error_message % badf,' p188 sI654 S' web2py_error=badf)' p189 sI655 S' code = "%s\\nresponse._vars=response._caller(%s)" % (code, function)' p190 sI656 S' layer = "%s:%s" % (filename, function)' p191 sI657 S' ccode = getcfs(layer, filename, lambda: compile2(code, filename))' p192 sI658 S'' sI659 S' restricted(ccode, environment, layer=filename)' p193 sI660 S' response = environment["response"]' p194 sI661 S' vars = response._vars' p195 ssg97 S'()' p196 sg99 S'' p197 sa(dp198 g74 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/restricted.py' p199 sg76 (dp200 S'builtincompile' p201 S'' p202 sS'code' p203 S'\'# added comments for testing\\n# Constants\\nhwys = ...urn "NO"\\n\\nresponse._vars=response._caller(search)\'' p204 sS'layer' p205 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py'" p206 ssg86 I205 sg87 (dp207 I200 S' output = ""' p208 sI201 S' return output' p209 sI202 S'' sI203 S'' sI204 S'def compile2(code, layer):' p210 sI205 S" return compile(code, layer, 'exec')" p211 sI206 S'' sI207 S'' sI208 S"def restricted(ccode, environment=None, layer='Unknown', scode=None):" p212 sI209 S' """' p213 ssg97 S'(code=\'# added comments for testing\\n# Constants\\nhwys = ...urn "NO"\\n\\nresponse._vars=response._caller(search)\', layer=\'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py\')' p214 sg99 S'compile2' p215 sasS'pyver' p216 S'Python 2.7.16: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python (prefix: /System/Library/Frameworks/Python.framework/Versions/2.7)' p217 sS'session' p218 g69 (S's,\x04\x00\x00
chosenid:
None
closureid:
1
direction:
NB
enddate:
lognum:
route:
None
startdate:
username:
RM
' tRp219 sS'etype' p220 S"" p221 sS'date' p222 S'Wed Mar 25 13:51:43 2020' p223 sS'response' p224 g69 (S's]\x1d\x00\x00
body:
<cStringIO.StringO object at 0x10e245880>
cookies:
session_id_lcsv1:
127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
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
/LCSv1/default/home
List
False
/LCSv1/default/list
Search
False
/LCSv1/default/search
Request
False
/LCSv1/default/submit
meta:
author:
Author
description:
describe your app
keywords:
keyword
models_to_run:
^\\w+\\.py$
^default/\\w+\\.py$
^default/search/\\w+\\.py$
postprocessing:
session_client:
127.0.0.1
session_cookie_compression_level:
None
session_cookie_expires:
None
session_data_name:
session_data_lcsv1
session_file:
<open file '/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/sessions/063/120/127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5', mode 'rb+' at 0x10cd86b70>
session_filename:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/sessions/127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
session_hash:
e85c19a8d997c82013c2ca74624397f1
session_id:
127.0.0.1-aa69abec-6b1c-4ab9-8d58-6728cdb7b1d5
session_id_name:
session_id_lcsv1
session_locked:
True
session_masterapp:
LCSv1
session_new:
False
session_storage_type:
file
status:
200
subtitle:
subtitle customize me!
title:
LCSv1
view:
default/search.html
' tRp225 sS'locals' p226 (dp227 g3 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py'" p228 sg5 S'\'# added comments for testing\\n# Constants\\nhwys = ...urn "NO"\\n\\nresponse._vars=response._caller(search)\'' p229 sssS'traceback' p230 S'Traceback (most recent call last):\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/main.py", line 444, in wsgibase\n serve_controller(request, response, session)\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/main.py", line 179, in serve_controller\n page = run_controller_in(request.controller, request.function, environment)\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/compileapp.py", line 657, in run_controller_in\n ccode = getcfs(layer, filename, lambda: compile2(code, filename))\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/cfs.py", line 50, in getcfs\n data = filter()\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/compileapp.py", line 657, in \n ccode = getcfs(layer, filename, lambda: compile2(code, filename))\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/restricted.py", line 205, in compile2\n return compile(code, layer, \'exec\')\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/controllers/default.py", line 44\n INPUT(_name="Search" _type=\'submit\', _class="btn btn-primary btn-default", _style="margin: 7% 45% 2% 40%;"))\n ^\nSyntaxError: invalid syntax\n' p231 s.