(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"']\\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"'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py'" p37 sS'lineno' p38 S'18' 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', ('/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py', 18, 1, ']\\n'))" p53 sS'__subclasshook__' p54 S'' p55 sS'offset' p56 S'1' sS'__unicode__' p57 S'' p58 sS'__delattr__' p59 S"" p60 sS'__repr__' p61 S"" p62 sS'__hash__' p63 S"" p64 ssS'evalue' p65 S'invalid syntax (menu.py, line 18)' p66 sS'request' p67 cgluon.html XML_unpickle p68 (S's\xdbd\x00\x00
ajax:
False
application:
Highways
args:
cid:
None
client:
127.0.0.1
controller:
default
cookies:
session_id_admin:
127.0.0.1-b40af4f9-4bc6-4089-a1d4-2a882e544a43
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_helloworld:
127.0.0.1-95990954-99ab-426e-8e54-fa7fee77a04c
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_highways:
127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_welcome:
127.0.0.1-20f61084-4018-4e67-8342-bbf602bd1c7f
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
env:
HTTP_ACCEPT:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING:
gzip, deflate
HTTP_ACCEPT_LANGUAGE:
en-US,en;q=0.5
HTTP_CONNECTION:
keep-alive
HTTP_COOKIE:
session_id_welcome=127.0.0.1-20f61084-4018-4e67-8342-bbf602bd1c7f; session_id_admin=127.0.0.1-b40af4f9-4bc6-4089-a1d4-2a882e544a43; session_id_highways=127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2; session_id_helloworld=127.0.0.1-95990954-99ab-426e-8e54-fa7fee77a04c
HTTP_DNT:
1
HTTP_HOST:
127.0.0.1:8000
HTTP_UPGRADE_INSECURE_REQUESTS:
1
HTTP_USER_AGENT:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
PATH_INFO:
/Highways/default/
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
59106
REQUEST_METHOD:
GET
SCRIPT_NAME:
SERVER_NAME:
Laptop-asus-X510UNR
SERVER_PORT:
8000
SERVER_PROTOCOL:
HTTP/1.1
SERVER_SOFTWARE:
Rocket 1.2.6
app_folders:
set(['/home/jdalbey/Downloads/web2py/applications/examples', '/home/jdalbey/Downloads/web2py/applications/admin', '/home/jdalbey/Downloads/web2py/applications/welcome', '/home/jdalbey/Downloads/web2py/applications/Highways', '/home/jdalbey/Downloads/web2py/applications/helloworld'])
applications_parent:
/home/jdalbey/Downloads/web2py
cmd_args:
cmd_options:
<Values at 0x7f77316484b0: {'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': 'Laptop-asus-X510UNR', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Downloads/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/Downloads/web2py
http_accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
http_accept_encoding:
gzip, deflate
http_accept_language:
en-US,en;q=0.5
http_connection:
keep-alive
http_cookie:
session_id_welcome=127.0.0.1-20f61084-4018-4e67-8342-bbf602bd1c7f; session_id_admin=127.0.0.1-b40af4f9-4bc6-4089-a1d4-2a882e544a43; session_id_highways=127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2; session_id_helloworld=127.0.0.1-95990954-99ab-426e-8e54-fa7fee77a04c
http_dnt:
1
http_host:
127.0.0.1:8000
http_upgrade_insecure_requests:
1
http_user_agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.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
Laptop-asus-X510UNR
path_info:
/Highways/default/
query_string:
remote_addr:
127.0.0.1
remote_port:
59106
request_method:
GET
request_uri:
/Highways/default/
script_name:
server_name:
Laptop-asus-X510UNR
server_port:
8000
server_protocol:
HTTP/1.1
server_software:
Rocket 1.2.6
web2py_path:
/home/jdalbey/Downloads/web2py
web2py_version:
2.18.5-stable+timestamp.2019.04.08.04.22.03
wsgi.errors:
<open file '<stderr>', mode 'w' at 0x7f7738704270>
wsgi.file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f7731672c90>
wsgi.input:
<socket._fileobject object at 0x7f76ef18f550>
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 0x7f7738704270>
wsgi_file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f7731672c90>
wsgi_input:
<socket._fileobject object at 0x7f76ef18f550>
wsgi_multiprocess:
False
wsgi_multithread:
True
wsgi_run_once:
False
wsgi_url_scheme:
http
wsgi_version:
1
0
extension:
html
folder:
/home/jdalbey/Downloads/web2py/applications/Highways
function:
index
global_settings:
app_folders:
set(['/home/jdalbey/Downloads/web2py/applications/examples', '/home/jdalbey/Downloads/web2py/applications/admin', '/home/jdalbey/Downloads/web2py/applications/welcome', '/home/jdalbey/Downloads/web2py/applications/Highways', '/home/jdalbey/Downloads/web2py/applications/helloworld'])
applications_parent:
/home/jdalbey/Downloads/web2py
cmd_args:
cmd_options:
<Values at 0x7f77316484b0: {'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': 'Laptop-asus-X510UNR', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Downloads/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/Downloads/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
Laptop-asus-X510UNR
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(2019, 12, 18, 8, 1, 11, 341402)
raw_args:
raw_extension:
None
url:
/Highways/default/
utcnow:
datetime.datetime(2019, 12, 18, 16, 1, 11, 341456)
wsgi:
<gluon.main.LazyWSGI object at 0x7f76efb10c50>
' tRp69 sS'frames' p70 (lp71 (dp72 S'file' p73 S'/home/jdalbey/Downloads/web2py/gluon/main.py' p74 sS'dump' p75 (dp76 S'global serve_controller' p77 S'' p78 sS'session' p79 S"" p80 sS'request' p81 S"" p82 sS'response' p83 S", 'view': 'default/index.html'}>" p84 ssS'lnum' p85 I444 sS'lines' p86 (dp87 I448 S' if static_file:' p88 sI439 S' if global_settings.debugging and app != "admin":' p89 sI440 S' import gluon.debug' p90 sI441 S' # activate the debugger' p91 sI442 S' gluon.debug.dbg.do_debug(mainpyfile=request.folder)' p92 sI443 S'' sI444 S' serve_controller(request, response, session)' p93 sI445 S' except HTTP as hr:' p94 sI446 S' http_response = hr' p95 sI447 S'' ssS'call' p96 S"(environ={'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'session_id_welcome=127.0.0.1-20f61084-4018-4e67-...ld=127.0.0.1-95990954-99ab-426e-8e54-fa7fee77a04c', 'HTTP_DNT': '1', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0', 'PATH_INFO': '/Highways/default/', ...}, responder=)" p97 sS'func' p98 S'wsgibase' p99 sa(dp100 g73 S'/home/jdalbey/Downloads/web2py/gluon/main.py' p101 sg75 (dp102 S'environment' p103 S"{'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...}" p104 sS'global run_models_in' p105 S'' p106 ssg85 I177 sg86 (dp107 I172 S' # also, make sure the flash is passed through' p108 sI173 S' # ##################################################' p109 sI174 S' # process models, controller and view (if required)' p110 sI175 S' # ##################################################' p111 sI176 S'' sI177 S' run_models_in(environment)' p112 sI178 S' response._view_environment = copy.copy(environment)' p113 sI179 S' page = run_controller_in(request.controller, request.function, environment)' p114 sI180 S' if isinstance(page, dict):' p115 sI181 S' response._vars = page' p116 ssg96 S"(request=, response=, 'view': 'default/index.html'}>, session=)" p117 sg98 S'serve_controller' p118 sa(dp119 g73 S'/home/jdalbey/Downloads/web2py/gluon/compileapp.py' p120 sg75 (dp121 S'global getcfs' p122 S'' p123 sS'model' p124 S"'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py'" p125 sS'ccode' p126 S' at 0x7f772452f030, file "/...b2py/applications/Highways/models/db.py", line 1>' p127 sS'f' S'>' p128 ssg85 I599 sg86 (dp129 I594 S' continue' p130 sI595 S' elif compiled:' p131 sI596 S' f = lambda: read_pyc(model)' p132 sI597 S' else:' p133 sI598 S' f = lambda: compile2(read_file(model), model)' p134 sI599 S' ccode = getcfs(model, model, f)' p135 sI600 S' restricted(ccode, environment, layer=model)' p136 sI601 S'' sI602 S'' sI603 S'def run_controller_in(controller, function, environment):' p137 ssg96 S"(environment={'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...})" p138 sg98 S'run_models_in' p139 sa(dp140 g73 S'/home/jdalbey/Downloads/web2py/gluon/cfs.py' p141 sg75 (dp142 S'filter' p143 S'>' p144 sS'data' p145 S'undefined' p146 ssg85 I50 sg86 (dp147 I45 S' if item and item[0] == t:' p148 sI46 S' return item[1]' p149 sI47 S' if not callable(filter):' p150 sI48 S' data = read_file(filename)' p151 sI49 S' else:' p152 sI50 S' data = filter()' p153 sI51 S' cfs_lock.acquire()' p154 sI52 S' cfs[key] = (t, data)' p155 sI53 S' cfs_lock.release()' p156 sI54 S' return data' p157 ssg96 S"(key='/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py', filename='/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py', filter=>)" p158 sg98 S'getcfs' p159 sa(dp160 g73 S'/home/jdalbey/Downloads/web2py/gluon/compileapp.py' p161 sg75 (dp162 S'global read_file' p163 S'' p164 sS'model' p165 S"'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py'" p166 sS'global compile2' p167 S'' p168 sS'f' g146 ssg85 I598 sg86 (dp169 I593 S" if not regex.search(fname) and c != 'appadmin':" p170 sI594 S' continue' p171 sI595 S' elif compiled:' p172 sI596 S' f = lambda: read_pyc(model)' p173 sI597 S' else:' p174 sI598 S' f = lambda: compile2(read_file(model), model)' p175 sI599 S' ccode = getcfs(model, model, f)' p176 sI600 S' restricted(ccode, environment, layer=model)' p177 sI601 S'' sI602 S'' ssg96 S'()' p178 sg98 S'' p179 sa(dp180 g73 S'/home/jdalbey/Downloads/web2py/gluon/restricted.py' p181 sg75 (dp182 S'builtincompile' p183 S'' p184 sS'code' p185 S'"# -*- coding: utf-8 -*-\\n# this file is released ...\'), \\n (T(\'Search\'), False, URL(\'search\') )\\n]\\n"' p186 sS'layer' p187 S"'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py'" p188 ssg85 I205 sg86 (dp189 I200 S' output = ""' p190 sI201 S' return output' p191 sI202 S'' sI203 S'' sI204 S'def compile2(code, layer):' p192 sI205 S" return compile(code, layer, 'exec')" p193 sI206 S'' sI207 S'' sI208 S"def restricted(ccode, environment=None, layer='Unknown', scode=None):" p194 sI209 S' """' p195 ssg96 S'(code="# -*- coding: utf-8 -*-\\n# this file is released ...\'), \\n (T(\'Search\'), False, URL(\'search\') )\\n]\\n", layer=\'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py\')' p196 sg98 S'compile2' p197 sasS'pyver' p198 S'Python 2.7.17: /usr/bin/python (prefix: /usr)' p199 sS'session' p200 g68 (S's\xa0\x00\x00\x00
log_number:
102
' tRp201 sS'etype' p202 S"" p203 sS'date' p204 S'Wed Dec 18 08:01:11 2019' p205 sS'response' p206 g68 (S's\xfc\x17\x00\x00
body:
<cStringIO.StringO object at 0x7f76efb10b70>
cookies:
session_id_highways:
127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2
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:
meta:
models_to_run:
^\\w+\\.py$
^default/\\w+\\.py$
^default/index/\\w+\\.py$
postprocessing:
session_client:
127.0.0.1
session_cookie_compression_level:
None
session_cookie_expires:
None
session_data_name:
session_data_highways
session_file:
<open file '/home/jdalbey/Downloads/web2py/applications/Highways/sessions/187/1cc/127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2', mode 'rb+' at 0x7f76eeff0b70>
session_filename:
/home/jdalbey/Downloads/web2py/applications/Highways/sessions/127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2
session_hash:
4434912d288f34449e1af2a9fcfbe21b
session_id:
127.0.0.1-5c5b6408-e9a1-4b21-a629-31e0898316e2
session_id_name:
session_id_highways
session_locked:
True
session_masterapp:
Highways
session_new:
False
session_storage_type:
file
status:
200
view:
default/index.html
' tRp207 sS'locals' p208 (dp209 g3 S"'/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py'" p210 sg5 S'"# -*- coding: utf-8 -*-\\n# this file is released ...\'), \\n (T(\'Search\'), False, URL(\'search\') )\\n]\\n"' p211 sssS'traceback' p212 S'Traceback (most recent call last):\n File "/home/jdalbey/Downloads/web2py/gluon/main.py", line 444, in wsgibase\n serve_controller(request, response, session)\n File "/home/jdalbey/Downloads/web2py/gluon/main.py", line 177, in serve_controller\n run_models_in(environment)\n File "/home/jdalbey/Downloads/web2py/gluon/compileapp.py", line 599, in run_models_in\n ccode = getcfs(model, model, f)\n File "/home/jdalbey/Downloads/web2py/gluon/cfs.py", line 50, in getcfs\n data = filter()\n File "/home/jdalbey/Downloads/web2py/gluon/compileapp.py", line 598, in \n f = lambda: compile2(read_file(model), model)\n File "/home/jdalbey/Downloads/web2py/gluon/restricted.py", line 205, in compile2\n return compile(code, layer, \'exec\')\n File "/home/jdalbey/Downloads/web2py/applications/Highways/models/menu.py", line 18\n ]\n ^\nSyntaxError: invalid syntax\n' p213 s.