look at the nbgrader docs around "philosophy and the approach" that will show you the folder structure. That structure is not created by default in jupyterhub when you install nbgrader. I believe at the miniumum you need the source folder and a folder that is identified in the nbgrader_config.py file as the course id. If you run "nbgrader quickstart <some course id >" that will generate the folder minimum folder structure as an example to follow.
cheers, alvin On Friday, January 11, 2019 at 2:17:52 AM UTC-7, vishwesh shrimali wrote: > > Hi everyone! > > I recently launched a TLJH server (sincere thanks to the developers). I > have managed to install kernels for multiple languages - C++ (Xeus-Cling), > Python, R. I now want to use nbgrader to develop assignments in all the 3 > languages. I logged in to the hub from the admin account, opened the > terminal and used the following commands: > > sudo jupyter nbextension install --sys-prefix --py nbgrader --overwritesudo > jupyter nbextension enable --sys-prefix --py nbgradersudo jupyter > serverextension enable --sys-prefix --py nbgrader > > This in turn enabled the formgrader extension and the assignment > extension. First, when I try to click the formgrader extension, I get the > *404: > Page Not Found* error. > I then used the following command to create a sample course: > > nbgrader quickstart course_id > > > Still, the situation is the same. Second, when I login using a student > account, I am able to see the formgrader and all the options (which I don't > think a student should be allowed to see). Also, when the student clicks on > the Assignment option, they get the following errors: > > Traceback (most recent call last): File > "/opt/tljh/user/lib/python3.6/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", > > line 65, in list_released_assignments assignments = lister.start() File > "/opt/tljh/user/lib/python3.6/site-packages/nbgrader/exchange/list.py", > line 129, in start super(ExchangeList, self).start() File > "/opt/tljh/user/lib/python3.6/site-packages/nbgrader/exchange/exchange.py", > line 122, in start self.ensure_root() File > "/opt/tljh/user/lib/python3.6/site-packages/nbgrader/exchange/exchange.py", > line 100, in ensure_root self.fail("Unwritable directory, please contact > your instructor: {}".format(self.root)) File > "/opt/tljh/user/lib/python3.6/site-packages/nbgrader/exchange/exchange.py", > line 78, in fail raise ExchangeError(msg) > nbgrader.exchange.exchange.ExchangeError: Unwritable directory, please > contact your instructor: /srv/nbgrader/exchange > Am I missing something? Can someone point me in the right direction? > > Thanks in advance > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To post to this group, send email to jupyter@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/a0a1ba2e-08aa-4050-876f-0d8bc81b23e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.