(dp1 S'output' p2 S" 'DAL' object has no attribute 'hghways'" p3 sS'layer' p4 S'/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py' p5 sS'code' p6 S' at 0x7f40e63229b0, file "/home/jdalbey/Downloads/web2py/applications/Highways/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'"\'DAL\' object has no attribute \'hghways\'"' 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'("\'DAL\' object has no attribute \'hghways\'",)' 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"'DAL' object has no attribute 'hghways'" p57 sS'request' p58 cgluon.html XML_unpickle p59 (S's\xc4l\x00\x00
ajax:
False
application:
Highways
args:
101
cid:
None
client:
127.0.0.1
controller:
default
cookies:
session_id_admin:
127.0.0.1-11f29917-caed-4542-868c-62c1d460447f
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_helloworld:
127.0.0.1-06ea5903-be4d-4f11-9562-a448469e0ad5
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_highways:
127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_myapp:
127.0.0.1-ddd74c98-a28f-4fdb-8564-a1c4edacaacd
comment:
domain:
expires:
httponly:
max-age:
path:
samesite:
secure:
version:
session_id_welcome:
127.0.0.1-0391f769-3e2b-4dfb-a795-9aeccf5795c6
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-0391f769-3e2b-4dfb-a795-9aeccf5795c6; session_id_admin=127.0.0.1-11f29917-caed-4542-868c-62c1d460447f; session_id_myapp=127.0.0.1-ddd74c98-a28f-4fdb-8564-a1c4edacaacd; session_id_helloworld=127.0.0.1-06ea5903-be4d-4f11-9562-a448469e0ad5; session_id_highways=127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
HTTP_DNT:
1
HTTP_HOST:
127.0.0.1:8000
HTTP_REFERER:
http://127.0.0.1:8000/Highways/default/index
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/show/101
QUERY_STRING:
REMOTE_ADDR:
127.0.0.1
REMOTE_PORT:
40442
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/welcome', '/home/jdalbey/Downloads/web2py/applications/helloworld', '/home/jdalbey/Downloads/web2py/applications/Highways', '/home/jdalbey/Downloads/web2py/applications/admin', '/home/jdalbey/Downloads/web2py/applications/myapp'])
applications_parent:
/home/jdalbey/Downloads/web2py
cmd_args:
cmd_options:
<Values at 0x7f41226255f0: {'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-0391f769-3e2b-4dfb-a795-9aeccf5795c6; session_id_admin=127.0.0.1-11f29917-caed-4542-868c-62c1d460447f; session_id_myapp=127.0.0.1-ddd74c98-a28f-4fdb-8564-a1c4edacaacd; session_id_helloworld=127.0.0.1-06ea5903-be4d-4f11-9562-a448469e0ad5; session_id_highways=127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
http_dnt:
1
http_host:
127.0.0.1:8000
http_referer:
http://127.0.0.1:8000/Highways/default/index
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/show/101
query_string:
remote_addr:
127.0.0.1
remote_port:
40442
request_method:
GET
request_uri:
/Highways/default/show/101
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 0x7f41271db270>
wsgi.file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f4122ffa910>
wsgi.input:
<socket._fileobject object at 0x7f40e6f51c50>
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 0x7f41271db270>
wsgi_file_wrapper:
<class wsgiref.util.FileWrapper at 0x7f4122ffa910>
wsgi_input:
<socket._fileobject object at 0x7f40e6f51c50>
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:
show
global_settings:
app_folders:
set(['/home/jdalbey/Downloads/web2py/applications/examples', '/home/jdalbey/Downloads/web2py/applications/welcome', '/home/jdalbey/Downloads/web2py/applications/helloworld', '/home/jdalbey/Downloads/web2py/applications/Highways', '/home/jdalbey/Downloads/web2py/applications/admin', '/home/jdalbey/Downloads/web2py/applications/myapp'])
applications_parent:
/home/jdalbey/Downloads/web2py
cmd_args:
cmd_options:
<Values at 0x7f41226255f0: {'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, 17, 18, 19, 48, 600917)
raw_args:
101
raw_extension:
None
url:
/Highways/default/show/101
utcnow:
datetime.datetime(2019, 12, 18, 2, 19, 48, 600935)
wsgi:
<gluon.main.LazyWSGI object at 0x7f40e51eb910>
' tRp60 sS'frames' p61 (lp62 (dp63 S'file' p64 S'/home/jdalbey/Downloads/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 0x7f40e63229b0, file "/...cations/Highways/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 0x7f40e63229b0, file "/...cations/Highways/controllers/default.py", line 1>, environment={\'A\': , \'ANY_OF\': , \'ASSIGNJS\': , \'B\': , \'BEAUTIFY\': , \'BODY\': , \'BR\': , \'BUTTON\': , \'CAT\': , \'CENTER\': , ...}, layer=\'/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py\', scode= at 0x7f40e63229b0, file "/...cations/Highways/controllers/default.py", line 1>)' p86 sS'func' p87 S'restricted' p88 sa(dp89 g64 S'/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py' p90 sg66 (dp91 sg72 I8 sg73 (dp92 I1 S'def index():' p93 sI2 S' highways = db().select(db.highways.ALL, orderby=db.highways.lognum)' p94 sI3 S' return dict(highways = highways)' p95 sI4 S'def show():' p96 sI5 S" hwy = db.hghways(request.args(0, cast=int)) or redirect(URL('index'))" p97 sI6 S' return dict(hwy=hwy)' p98 ssg85 S'()' p99 sg87 S'' p100 sa(dp101 g64 S'/home/jdalbey/Downloads/web2py/gluon/globals.py' p102 sg66 (dp103 S'self' p104 S'undefined' p105 sS'f' S'' p106 ssg72 I421 sg73 (dp107 I416 S" self.flash = '' # used by the default view layout" p108 sI417 S' self.meta = Storage() # used by web2py_ajax.html' p109 sI418 S' self.menu = [] # used by the default view layout' p110 sI419 S' self.files = [] # used by web2py_ajax.html' p111 sI420 S' self._vars = None' p112 sI421 S' self._caller = lambda f: f()' p113 sI422 S' self._view_environment = None' p114 sI423 S' self._custom_commit = None' p115 sI424 S' self._custom_rollback = None' p116 sI425 S" self.generic_patterns = ['*']" p117 ssg85 S'(f=)' p118 sg87 S'' p119 sa(dp120 g64 S'/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py' p121 sg66 (dp122 S'global URL' p123 S'' p124 sS'global request' p125 S"" p126 sS'request.args' p127 S"['101']" p128 sS'cast' p129 g105 sS'global redirect' p130 S'' p131 sS'hwy' p132 g105 sS'global db' p133 S'' p134 sS'builtinint' p135 S"" p136 sS'db.hghways' p137 g105 ssg72 I5 sg73 (dp138 I1 S'def index():' p139 sI2 S' highways = db().select(db.highways.ALL, orderby=db.highways.lognum)' p140 sI3 S' return dict(highways = highways)' p141 sI4 S'def show():' p142 sI5 S" hwy = db.hghways(request.args(0, cast=int)) or redirect(URL('index'))" p143 sI6 S' return dict(hwy=hwy)' p144 ssg85 S'()' p145 sg87 S'show' p146 sa(dp147 g64 S'/home/jdalbey/Downloads/web2py/gluon/packages/dal/pydal/base.py' p148 sg66 (dp149 S'global BasicStorage' p150 S"" p151 sS'self' p152 S'' p153 sS'BasicStorage.__getattribute__' p154 S"" p155 sS'key' p156 S"'hghways'" p157 ssg72 I675 sg73 (dp158 I672 S" key in object.__getattribute__(self, '_LAZY_TABLES'):" p159 sI673 S' tablename, fields, kwargs = self._LAZY_TABLES.pop(key)' p160 sI674 S' return self.lazy_define_table(tablename, *fields, **kwargs)' p161 sI675 S' return BasicStorage.__getattribute__(self, key)' p162 sI676 S'' sI677 S' def __setattr__(self, key, value):' p163 sI678 S" if key[:1] != '_' and key in self:" p164 sI679 S' raise SyntaxError(' p165 sI670 S' def __getattr__(self, key):' p166 sI671 S" if object.__getattribute__(self, '_lazy_tables') and \\" p167 ssg85 S'(self=, key=\'hghways\')' p168 sg87 S'__getattr__' p169 sasS'pyver' p170 S'Python 2.7.17: /usr/bin/python (prefix: /usr)' p171 sS'session' p172 g59 (S's9\x01\x00\x00
last_orderby:
None
last_query:
db.highways.id>0
' tRp173 sS'etype' p174 S"" p175 sS'date' p176 S'Tue Dec 17 18:19:48 2019' p177 sS'response' p178 g59 (S's\xfa\x17\x00\x00
body:
<cStringIO.StringO object at 0x7f40e51ebd70>
cookies:
session_id_highways:
127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
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/show/\\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/121/1f9/127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a', mode 'rb+' at 0x7f40e513e780>
session_filename:
/home/jdalbey/Downloads/web2py/applications/Highways/sessions/127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
session_hash:
d6eb2639a379f261fd3ab5b922f11bf0
session_id:
127.0.0.1-c1c2909b-ae12-4e0c-be9d-e38c8467353a
session_id_name:
session_id_highways
session_locked:
True
session_masterapp:
Highways
session_new:
False
session_storage_type:
file
status:
200
view:
default/show.html
' tRp179 sS'locals' p180 (dp181 S'self' p182 S'' p183 sS'key' p184 S"'hghways'" p185 sssS'traceback' p186 S'Traceback (most recent call last):\n File "/home/jdalbey/Downloads/web2py/gluon/restricted.py", line 219, in restricted\n exec(ccode, environment)\n File "/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py", line 8, in \n File "/home/jdalbey/Downloads/web2py/gluon/globals.py", line 421, in \n self._caller = lambda f: f()\n File "/home/jdalbey/Downloads/web2py/applications/Highways/controllers/default.py", line 5, in show\n hwy = db.hghways(request.args(0, cast=int)) or redirect(URL(\'index\'))\n File "/home/jdalbey/Downloads/web2py/gluon/packages/dal/pydal/base.py", line 675, in __getattr__\n return BasicStorage.__getattribute__(self, key)\nAttributeError: \'DAL\' object has no attribute \'hghways\'\n' p187 s.