Hi Vishwesh,

Setting up nbgrader on JupyterHub is a bit more complicated---see
https://nbgrader.readthedocs.io/en/master/configuration/jupyterhub_config.html
for more details on getting it setup on JupyterHub. Hope that helps!

Cheers,
Jess


On Fri, Jan 11, 2019 at 9:17 AM vishwesh shrimali <
[email protected]> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/bbdcea07-955a-406c-b4f4-564eba28c9dc%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/bbdcea07-955a-406c-b4f4-564eba28c9dc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CALUXcBwPuc3k19fbKTPoFJjhQM5_53-b-c%3DE7iRVk070vebMSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to