(dp1 S'output' p2 S" [Errno 2] No such file or directory: 'supervisors.csv'" p3 sS'layer' p4 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.py' p5 sS'code' p6 S' at 0x10d108930, file "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.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'__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'errno' p32 S'2' sS'__format__' p33 S'' p34 sS'__class__' p35 S"" p36 sS'filename' p37 S"'supervisors.csv'" p38 sS'__doc__' p39 S"'I/O operation failed.'" p40 sS'__getitem__' p41 S"" p42 sS'__setstate__' p43 S'' p44 sS'__getattribute__' p45 S"" p46 sS'args' p47 S"(2, 'No such file or directory')" p48 sS'__subclasshook__' p49 S'' p50 sS'__unicode__' p51 S'' p52 sS'strerror' p53 S"'No such file or directory'" p54 sS'__delattr__' p55 S"" p56 sS'__repr__' p57 S"" p58 sS'__hash__' p59 S"" p60 ssS'evalue' p61 S"[Errno 2] No such file or directory: 'supervisors.csv'" p62 sS'request' p63 cgluon.html XML_unpickle p64 (S's\xc3k\x00\x00
ajax:
True
application:
LCSv1
args:
cid:
c979010964978
client:
127.0.0.1
controller:
appadmin
cookies:
session_id_admin:
127.0.0.1-a2369ea0-fa01-4a4e-83e1-dbca14344703
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_lcs:
127.0.0.1-e2e5590c-4ebc-42f2-a00b-246381fd5404
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_welcome:
127.0.0.1-5002f3cb-6625-4b8e-825a-3793aff2b972
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
env:
CONTENT_TYPE:
application/x-www-form-urlencoded; charset=UTF-8
HTTP_ACCEPT:
*/*
HTTP_ACCEPT_ENCODING:
gzip, deflate, br
HTTP_ACCEPT_LANGUAGE:
en-US,en;q=0.9,zh;q=0.8,vi;q=0.7
HTTP_CONNECTION:
keep-alive
HTTP_CONTENT_TYPE:
application/x-www-form-urlencoded; charset=UTF-8
HTTP_COOKIE:
session_id_welcome=127.0.0.1-5002f3cb-6625-4b8e-825a-3793aff2b972; session_id_admin=127.0.0.1-a2369ea0-fa01-4a4e-83e1-dbca14344703; session_id_lcs=127.0.0.1-e2e5590c-4ebc-42f2-a00b-246381fd5404
HTTP_HOST:
127.0.0.1:8001
HTTP_REFERER:
http://127.0.0.1:8001/admin/default/edit/LCSv1/views/default/index.html?id=views__default__index__html
HTTP_SEC_FETCH_DEST:
empty
HTTP_SEC_FETCH_MODE:
cors
HTTP_SEC_FETCH_SITE:
same-origin
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
HTTP_WEB2PY_COMPONENT_ELEMENT:
c979010964978
HTTP_WEB2PY_COMPONENT_LOCATION:
http://127.0.0.1:8001/admin/default/edit/LCSv1/views/default/index.html?id=views__default__index__html
HTTP_X_REQUESTED_WITH:
XMLHttpRequest
PATH_INFO:
/LCSv1/appadmin/hooks
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
58858
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}>
content_type:
application/x-www-form-urlencoded; charset=UTF-8
db_sessions:
set([])
debugging:
True
gluon_parent:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py
http_accept:
*/*
http_accept_encoding:
gzip, deflate, br
http_accept_language:
en-US,en;q=0.9,zh;q=0.8,vi;q=0.7
http_connection:
keep-alive
http_content_type:
application/x-www-form-urlencoded; charset=UTF-8
http_cookie:
session_id_welcome=127.0.0.1-5002f3cb-6625-4b8e-825a-3793aff2b972; session_id_admin=127.0.0.1-a2369ea0-fa01-4a4e-83e1-dbca14344703; session_id_lcs=127.0.0.1-e2e5590c-4ebc-42f2-a00b-246381fd5404
http_host:
127.0.0.1:8001
http_referer:
http://127.0.0.1:8001/admin/default/edit/LCSv1/views/default/index.html?id=views__default__index__html
http_sec_fetch_dest:
empty
http_sec_fetch_mode:
cors
http_sec_fetch_site:
same-origin
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
http_web2py_component_element:
c979010964978
http_web2py_component_location:
http://127.0.0.1:8001/admin/default/edit/LCSv1/views/default/index.html?id=views__default__index__html
http_x_requested_with:
XMLHttpRequest
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/appadmin/hooks
query_string:
remote_addr:
127.0.0.1
remote_port:
58858
request_method:
GET
request_uri:
/LCSv1/appadmin/hooks
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 0x10eb079d0>
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 0x10eb079d0>
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:
hooks
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, 12, 7, 57, 322153)
raw_args:
raw_extension:
None
url:
/LCSv1/appadmin/hooks
utcnow:
datetime.datetime(2020, 3, 25, 19, 7, 57, 322161)
wsgi:
<gluon.main.LazyWSGI object at 0x10eb98210>
' tRp65 sS'frames' p66 (lp67 (dp68 S'file' p69 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/restricted.py' p70 sS'dump' p71 (dp72 S'environment' p73 S"{'A': , 'ANY_OF': , 'ASSIGNJS': , 'B': , 'BEAUTIFY': , 'BODY': , 'BR': , 'BUTTON': , 'CAT': , 'CENTER': , ...}" p74 sS'ccode' p75 S' at 0x10d108930, file "/Use.../web2py/applications/LCSv1/models/db.py", line 1>' p76 ssS'lnum' p77 I219 sS'lines' p78 (dp79 I214 S' if environment is None:' p80 sI215 S' environment = {}' p81 sI216 S" environment['__file__'] = layer" p82 sI217 S" environment['__name__'] = '__restricted__'" p83 sI218 S' try:' p84 sI219 S' exec(ccode, environment)' p85 sI220 S' except HTTP:' p86 sI221 S' raise' p87 sI222 S' except RestrictedError:' p88 sI223 S' # do not encapsulate (obfuscate) the original RestrictedError' p89 ssS'call' p90 S'(ccode= at 0x10d108930, file "/Use.../web2py/applications/LCSv1/models/db.py", line 1>, environment={\'A\': , \'ANY_OF\': , \'ASSIGNJS\': , \'B\': , \'BEAUTIFY\': , \'BODY\': , \'BR\': , \'BUTTON\': , \'CAT\': , \'CENTER\': , ...}, layer=\'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.py\', scode= at 0x10d108930, file "/Use.../web2py/applications/LCSv1/models/db.py", line 1>)' p91 sS'func' p92 S'restricted' p93 sa(dp94 g69 S'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.py' p95 sg71 (dp96 S'builtinopen' p97 S'' p98 sS'db.supervisors' p99 S'' p100 sS'db' p101 S'' p102 sS'db.supervisors.import_from_csv_file' p103 S'>' p104 ssg77 I58 sg78 (dp105 I53 S"db.define_table('supervisors'," p106 sI54 S" Field('name')," p107 sI55 S" Field('radiocallnum')\\" p108 sI56 S' )' p109 sI57 S'db.supervisors.truncate() # delete all records and reset the counter of the id.' p110 sI58 S"db.supervisors.import_from_csv_file(open('supervisors.csv', 'r')) #import the file" p111 sI59 S'' sI60 S"db.define_table('streets'," p112 sI61 S" Field('route')," p113 sI62 S" Field('street')" p114 ssg90 S'()' p115 sg92 S'' p116 sasS'pyver' p117 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)' p118 sS'session' p119 g64 (S's\x1a\x00\x00\x00
' tRp120 sS'etype' p121 S"" p122 sS'date' p123 S'Wed Mar 25 12:07:57 2020' p124 sS'response' p125 g64 (S's\xc6\x16\x00\x00
body:
<cStringIO.StringO object at 0x10a6bd458>
cookies:
session_id_lcsv1:
127.0.0.1-a1797f9f-7c88-468d-9904-1794f808a3fc
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$
^appadmin/\\w+\\.py$
^appadmin/hooks/\\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:
None
session_filename:
/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/sessions/127.0.0.1-a1797f9f-7c88-468d-9904-1794f808a3fc
session_hash:
c0762cbf4baf7f9af97c051e7fcb8083
session_id:
127.0.0.1-a1797f9f-7c88-468d-9904-1794f808a3fc
session_id_name:
session_id_lcsv1
session_masterapp:
LCSv1
session_new:
True
session_storage_type:
file
status:
200
view:
appadmin/hooks.html
' tRp126 sS'locals' p127 (dp128 S'PY2' p129 S'True' p130 sS'OBJECT' p131 S"" p132 sS'SQLDB' p133 S"" p134 sg119 S'' p135 sS'LINK' p136 S"" p137 sS'BR' p138 S"" p139 sS'local_import' p140 S'>' p141 sS'OPTGROUP' p142 S"" p143 sS'PRE' p144 S"" p145 sS'IS_INT_IN_RANGE' p146 S"" p147 sS'to_bytes' p148 S'' p149 sS'IS_LOWER' p150 S"" p151 sS'IS_STRONG' p152 S"" p153 sS'cache' p154 S'' p155 sS'IS_IN_DB' p156 S"" p157 sS'TAG' p158 S'' p159 sS'SQLField' p160 S"" p161 sS'BODY' p162 S"" p163 sS'IS_DATE_IN_RANGE' p164 S"" p165 sS'TH' p166 S"" p167 sS'URL' p168 S'' p169 sS'__file__' p170 S"'/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.py'" p171 sS'db' p172 S'' p173 sS'P' S"" p174 sS'TFOOT' p175 S"" p176 sS'iteritems' p177 S'>' p178 sS'XHTML' p179 S"" p180 sS'ON' p181 g130 sS'OL' p182 S"" p183 sS'TEXTAREA' p184 S"" p185 sS'MENU' p186 S"" p187 sS'LOAD' p188 S'' p189 sS'CODE' p190 S"" p191 sS'HTTP' p192 S"" p193 sS'HR' p194 S"" p195 sS'IS_DATETIME' p196 S"" p197 sS'reduce' p198 S'' p199 sg63 S"" p200 sS'LABEL' p201 S"" p202 sS'CLEANUP' p203 S"" p204 sS'SELECT' p205 S"" p206 sS'CENTER' p207 S"" p208 sS'__builtins__' p209 S"{'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BufferError': , 'BytesWarning': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EnvironmentError': , ...}" p210 sS'HTML' p211 S"" p212 sS'SQLFORM' p213 S"" p214 sS'EM' p215 S"" p216 sS'redirect' p217 S'' p218 sS'FIELDSET' p219 S"" p220 sS'IS_EQUAL_TO' p221 S"" p222 sS'HEAD' p223 S"" p224 sS'embed64' p225 S'' p226 sS'IS_LIST_OF' p227 S"" p228 sS'__name__' p229 S"'__restricted__'" p230 sS'EMBED' p231 S"" p232 sS'FORM' p233 S"" p234 sS'H2' p235 S"" p236 sS'H3' p237 S"" p238 sS'BUTTON' p239 S"" p240 sS'H1' p241 S"" p242 sS'H6' p243 S"" p244 sS'H4' p245 S"" p246 sS'H5' p247 S"" p248 sS'UL' p249 S"" p250 sS'IS_UPPER' p251 S"" p252 sS'xmlescape' p253 S'' p254 sS'IS_TIME' p255 S"" p256 sS'OPTION' p257 S"" p258 sS'TITLE' p259 S"" p260 sS'CRYPT' p261 S"" p262 sS'IS_EMPTY_OR' p263 S"" p264 sS'MARKMIN' p265 S"" p266 sS'INPUT' p267 S"" p268 sS'STRONG' p269 S"" p270 sS'COL' p271 S"" p272 sS'SCRIPT' p273 S"" p274 sS'TABLE' p275 S"" p276 sS'IS_IPV4' p277 S"" p278 sS'IS_LENGTH' p279 S"" p280 sS'IS_IPV6' p281 S"" p282 sS'XML' p283 S"" p284 sS'B' S"" p285 sS'IMG' p286 S"" p287 sS'SQLTABLE' p288 S"" p289 sS'IS_MATCH' p290 S"" p291 sS'IS_ALPHANUMERIC' p292 S"" p293 sS'SPAN' p294 S"" p295 sS'IS_JSON' p296 S"" p297 sS'IS_IPADDRESS' p298 S"" p299 sS'IS_SLUG' p300 S"" p301 sS'BEAUTIFY' p302 S"" p303 sS'META' p304 S"" p305 sS'IS_DATE' p306 S"" p307 sS'IS_EMAIL' p308 S"" p309 sS'IS_NOT_EMPTY' p310 S"" p311 sS'xrange' p312 S"" p313 sS'TBODY' p314 S"" p315 sS'CAT' p316 S"" p317 sS'Field' p318 S"" p319 sS'IS_LIST_OF_EMAILS' p320 S"" p321 sS'DIV' p322 S"" p323 sS'LEGEND' p324 S"" p325 sS'to_native' p326 S'' p327 sS'COLGROUP' p328 S"" p329 sS'DAL' p330 S"" p331 sS'ASSIGNJS' p332 S'' p333 sS'TR' p334 S"" p335 sS'LI' p336 S"" p337 sS'IFRAME' p338 S"" p339 sS'TD' p340 S"" p341 sS'IS_URL' p342 S"" p343 sS'A' S"" p344 sS'STYLE' p345 S"" p346 sS'IS_DATETIME_IN_RANGE' p347 S"" p348 sS'IS_IMAGE' p349 S"" p350 sS'I' S"" p351 sS'IS_NOT_IN_DB' p352 S"" p353 sS'IS_FILE' p354 S"" p355 sg125 S", 'view': 'appadmin/hooks.html'}>" p356 sS'THEAD' p357 S"" p358 sS'ANY_OF' p359 S"" p360 sS'IS_NULL_OR' p361 S"" p362 sS'IS_FLOAT_IN_RANGE' p363 S"" p364 sS'IS_EXPR' p365 S"" p366 sS'IS_IN_SET' p367 S"" p368 sS'IS_UPLOAD_FILENAME' p369 S"" p370 sS'IS_DECIMAL_IN_RANGE' p371 S"" p372 sS'TT' p373 S"" p374 sS'T' S'' p375 sssS'traceback' p376 S'Traceback (most recent call last):\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/gluon/restricted.py", line 219, in restricted\n exec(ccode, environment)\n File "/Users/allyquan/iCloud Drive/Documents/LaneClosure/web2py/applications/LCSv1/models/db.py", line 58, in \n db.supervisors.import_from_csv_file(open(\'supervisors.csv\', \'r\')) #import the file\nIOError: [Errno 2] No such file or directory: \'supervisors.csv\'\n' p377 s.