(dp1 S'output' p2 S" " p3 sS'layer' p4 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p5 sS'code' p6 S' at 0x7f1909ab51b0, 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"''" 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"'Attribute not found.'" p37 sS'__getitem__' p38 S"" p39 sS'__setstate__' p40 S'' p41 sS'__getattribute__' p42 S"" p43 sS'args' p44 S'()' 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'' sS'request' p57 cgluon.html XML_unpickle p58 (S's\xf9^\x00\x00
ajax:
False
application:
HLD
args:
cid:
None
client:
127.0.0.1
controller:
default
cookies:
session_id_admin:
127.0.0.1-2d0c1c6c-dcb3-4443-b1b3-fa032509dc6a
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_hld:
127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_welcome:
127.0.0.1-ac132756-0bb0-401d-a583-5ff90dff4a86
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-ac132756-0bb0-401d-a583-5ff90dff4a86; session_id_admin=127.0.0.1-2d0c1c6c-dcb3-4443-b1b3-fa032509dc6a; session_id_hld=127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
HTTP_HOST:
127.0.0.1:8000
HTTP_REFERER:
http://127.0.0.1:8000/HLD/default/index
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/submit
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
54372
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/HLD'])
applications_parent:
/home/jdalbey/Dropbox/web2py
cmd_args:
cmd_options:
<Values at 0x7f193b7ed9b0: {'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-ac132756-0bb0-401d-a583-5ff90dff4a86; session_id_admin=127.0.0.1-2d0c1c6c-dcb3-4443-b1b3-fa032509dc6a; session_id_hld=127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
http_host:
127.0.0.1:8000
http_referer:
http://127.0.0.1:8000/HLD/default/index
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/submit
query_string:
remote_addr:
127.0.0.1
remote_port:
54372
request_method:
GET
request_uri:
/HLD/default/submit
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 0x7f1942869270>
wsgi.file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f193b823980>
wsgi.input:
<socket._fileobject object at 0x7f1909a47ad0>
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 0x7f1942869270>
wsgi_file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f193b823980>
wsgi_input:
<socket._fileobject object at 0x7f1909a47ad0>
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:
submit
global_settings:
app_folders:
set(['/home/jdalbey/Dropbox/web2py/applications/welcome', '/home/jdalbey/Dropbox/web2py/applications/admin', '/home/jdalbey/Dropbox/web2py/applications/HLD'])
applications_parent:
/home/jdalbey/Dropbox/web2py
cmd_args:
cmd_options:
<Values at 0x7f193b7ed9b0: {'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, 15, 18, 12, 57, 201635)
raw_args:
raw_extension:
None
url:
/HLD/default/submit
utcnow:
datetime.datetime(2020, 3, 16, 1, 12, 57, 201652)
wsgi:
<gluon.main.LazyWSGI object at 0x7f190a2fefd0>
' tRp59 sS'frames' p60 (lp61 (dp62 S'file' p63 S'/home/jdalbey/Dropbox/web2py/gluon/restricted.py' p64 sS'dump' p65 (dp66 S'environment' p67 S"{'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...}" p68 sS'ccode' p69 S' at 0x7f1909ab51b0, file "/...applications/HLD/controllers/default.py", line 1>' p70 ssS'lnum' p71 I219 sS'lines' p72 (dp73 I214 S' if environment is None:' p74 sI215 S' environment = {}' p75 sI216 S" environment['__file__'] = layer" p76 sI217 S" environment['__name__'] = '__restricted__'" p77 sI218 S' try:' p78 sI219 S' exec(ccode, environment)' p79 sI220 S' except HTTP:' p80 sI221 S' raise' p81 sI222 S' except RestrictedError:' p82 sI223 S' # do not encapsulate (obfuscate) the original RestrictedError' p83 ssS'call' p84 S'(ccode= at 0x7f1909ab51b0, 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 0x7f1909ab51b0, file "/...applications/HLD/controllers/default.py", line 1>)' p85 sS'func' p86 S'restricted' p87 sa(dp88 g63 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p89 sg65 (dp90 sg71 I198 sg72 (dp91 I192 S' lastchar = chr(ord(lastchar) + 1) # increment it to next character (need bounds check)' p92 sI193 S' newID = currID[:-1] + lastchar # append char to ID' p93 sI194 S' return newID' p94 sI195 S' else:' p95 sI196 S" return 'T'+routeNum+'AA' # For a non-existing route" p96 sI187 S' # Retrieve any existing closures on this route' p97 sI188 S" item = db(db.closures.closureid.startswith('T'+routeNum)).select().last() # Might need to sort these" p98 sI189 S' if (item != None):' p99 sI190 S' currID = item.closureid' p100 sI191 S' lastchar = currID[-1:] # Get last character of ID' p101 ssg84 S'()' p102 sg86 S'' p103 sa(dp104 g63 S'/home/jdalbey/Dropbox/web2py/gluon/globals.py' p105 sg65 (dp106 S'self' p107 S'undefined' p108 sS'f' S'' p109 ssg71 I421 sg72 (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 ssg84 S'(f=)' p121 sg86 S'' p122 sa(dp123 g63 S'/home/jdalbey/Dropbox/web2py/applications/HLD/controllers/default.py' p124 sg65 (dp125 S'supervisors' p126 S'[]' p127 sS'row' p128 S"" p129 sS'row.name' p130 g108 sS'supervisors.append' p131 S'' p132 ssg71 I151 sg72 (dp133 I146 S" worktypes = ['', 'Connector', 'Conventional_Hwy', 'Mainline', 'Off Ramp', 'On Ramp', 'Rest Area', 'Surface Street']" p134 sI147 S" facilities = ['','AC Paving', 'Accident Investigation', 'Attenuator Repair', 'Blasting', 'Bridge Inspection', 'Bridge Work', 'Brush Fire', 'Chip Seal Operation', 'Concrete Pour', 'Core Drilling', 'Crack Seal Operation', 'Curb/Gutter/Sidewalk Work', 'Drainage Cleaning', 'Drainage Inspection', 'Drainage Work', 'Electrical Work', 'Emergency Work', 'Falsework Installation', 'Falsework Removal', 'Fence Work', 'Filming Activity', 'Fog Seal Operation', 'Graffiti Removal', 'Grinding and Paving', 'Grinding Operation', 'Guardrail Repair', 'Guardrail Work', 'Highway Construction', 'K-rail Installation', 'K-rail Removal', 'Landscape Work', 'Litter Removal', 'Maintenance Operation', 'Median Barrier Work', 'Miscellaneous Work', 'Pavement Marker Replacement', 'Pavement Repair', 'Pavement Work', 'Paving Operation', 'Pile Driving', 'Police Investigation', 'Roadway Excavation', 'Roadway Flooding', 'Sewer Work', 'Shoulder Work', 'Sign Work', 'Slab Replacement', 'Slide Removal', 'Slope Clearing', 'Soundwall Work', 'Special Event', 'Spray Operation', 'Striping Operation', 'Survey Work', 'Sweeping Operation', 'Traffic Signal Work', 'Tree Work', 'Utility Work', 'Vegetation Spraying']" p135 sI148 S" rows = db(db.closures.closureid).select() # ['','Able','Baker','Charly']" p136 sI149 S' supervisors = []' p137 sI150 S' for row in rows:' p138 sI151 S' supervisors.append(row.name)' p139 sI152 S" streets = ['','E OF COAL','ORANGETHORPE','MAGNOLIA','GILBERT','VALLEY VIEW','BROOKHURST','HOLDER','KNOTT']" p140 sI153 S" form = FORM(LABEL('*Route',_for='route'), SELECT(hwys,_name='route', _id='routecombo', _onchange='routechanged()', requires=IS_LENGTH(minsize=1,error_message='route cannot be empty')), XML('   ')," p141 sI154 S" LABEL('*Direction',_for='direction'), SELECT('','N', 'S', 'N/S','E','W','E/W',_name='direction', requires=IS_LENGTH(minsize=1,error_message='direction cannot be empty')), XML('   ')," p142 sI155 S" LABEL('*Facility',_for='facility'), SELECT(facilities,_name='facility', requires=IS_LENGTH(minsize=1,error_message='facility cannot be empty')), BR(),BR()," p143 ssg84 S'()' p144 sg86 S'submit' p145 sa(dp146 g63 S'/home/jdalbey/Dropbox/web2py/gluon/packages/dal/pydal/objects.py' p147 sg65 (dp148 S'builtinAttributeError' p149 S"" p150 ssg71 I118 sg72 (dp151 I113 S'' sI114 S' def __getattr__(self, k):' p152 sI115 S' try:' p153 sI116 S' return self.__getitem__(k)' p154 sI117 S' except KeyError:' p155 sI118 S' raise AttributeError' p156 sI119 S'' sI120 S' def __copy__(self):' p157 sI121 S' return Row(self)' p158 sI122 S'' ssg84 S"(self=, k='name')" p159 sg86 S'__getattr__' p160 sasS'pyver' p161 S'Python 2.7.17: /usr/bin/python (prefix: /usr)' p162 sS'session' p163 g58 (S's\x1c\x05\x00\x00
closureid:
direction:
enddate:
flash:
None
last_orderby:
None
last_query:
with open('snoopy.csv', 'wb') as dumpfile: dumpfile.write(str(db(db.closures).select()))
lognum:
route:
5
startdate:
' tRp164 sS'etype' p165 S"" p166 sS'date' p167 S'Sun Mar 15 18:12:57 2020' p168 sS'response' p169 g58 (S's\x14\x1d\x00\x00
body:
<cStringIO.StringO object at 0x7f190a199970>
cookies:
session_id_hld:
127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
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/submit/\\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/1db/0eb/127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc', mode 'rb+' at 0x7f190a5ce8a0>
session_filename:
/home/jdalbey/Dropbox/web2py/applications/HLD/sessions/127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
session_hash:
3bb91d79940c7897cbd80b3a85025608
session_id:
127.0.0.1-29e35efb-101b-45ed-9698-5613242067bc
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/submit.html
' tRp170 sS'locals' p171 (dp172 S'k' S"'name'" p173 sS'self' p174 S"" p175 sssS'traceback' p176 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 198, 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 151, in submit\n supervisors.append(row.name)\n File "/home/jdalbey/Dropbox/web2py/gluon/packages/dal/pydal/objects.py", line 118, in __getattr__\n raise AttributeError\nAttributeError\n' p177 s.