RunestoneInteractive / RunestoneComponents

Packaging of the Runestone tools for publishing educational materials using github pages
http://runestoneinteractive.org
Other
101 stars 225 forks source link

WUT #1065

Closed irunestone closed 4 years ago

irunestone commented 4 years ago

Error reported in course fall2020rosen on page /runestone/books/published/fopp/Debugging/intro-DebuggingGeneral.html by user rli12138 shuo1450632044@gmail.com Please describe what you were doing that led up to this error:

---------------- Traceback --------------
Traceback (most recent call last):

File "/home/bmiller/Runestone/web2py/gluon/packages/dal/pydal/objects.py", line 116, in getattr return self.getitem(k) File "/home/bmiller/Runestone/web2py/gluon/packages/dal/pydal/objects.py", line 103, in getitem raise KeyError(key) KeyError: 'courselevel'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/bmiller/Runestone/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/bmiller/Runestone/web2py/applications/runestone/controllers/books.py", line 429, in File "/home/bmiller/Runestone/web2py/gluon/globals.py", line 421, in self._caller = lambda f: f() File "/home/bmiller/Runestone/web2py/applications/runestone/controllers/books.py", line 386, in published return _route_book() File "/home/bmiller/Runestone/web2py/applications/runestone/controllers/books.py", line 92, in _route_book and course.courselevel != "high" File "/home/bmiller/Runestone/web2py/gluon/packages/dal/pydal/objects.py", line 118, in getattr raise AttributeError AttributeError