RunestoneInteractive / RunestoneComponents

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

unknown key issue #1068

Closed irunestone closed 4 years ago

irunestone commented 4 years ago

Error reported in course RIT_principles_of_computing on page /runestone/books/published/StudentCSP/index.html by user JMcNulty jnm1640@g.rit.edu Please describe what you were doing that led up to this error: i clicked next page and it resulted in the following 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

bnmnetp commented 4 years ago

fixed -- sorry