RunestoneInteractive / RunestoneComponents

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

Can't access course content #1067

Closed irunestone closed 4 years ago

irunestone commented 4 years ago

Error reported in course CS-INFO-1181-Fall-2020-Holmes-ISU on page /runestone/books/published/thinkcspy/index.html by user guytillitt hughrya2@isu.edu Please describe what you were doing that led up to this error:

I merely accessed my course and was brought straight to a Report a Bug message. The url shows up correctly, I think, and I've accessed the course before numerous times, so I don't know why I'm not able to access it now. My login information is correct.

---------------- 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