Comments (2)
That's definitely strange that you do not have access to the formgrader anymore. I'm not sure what the cause of that might be... at what path are people accessing the formgrader? Can you provide any command line output from when you try to access it vs. when someone else does?
Also, one thing to note is that for multiple graders you do actually still want to use a JupyterHub service. I realize this wasn't very clear before, and have recently updated the nbgrader documentation to be more explicit about this: http://nbgrader.readthedocs.io/en/latest/configuration/jupyterhub_config.html
from jupyterhub-deploy-teaching.
Thanks for your quick reply! I managed to find the issue causing the 404. When I started Jupyter from the command line on the server ($ jupyter notebook
), I got the following output:
lsnoek1@neuroimaging:~$ jupyter notebook
[I 14:33:32.246 NotebookApp] Loading the assignment_list nbgrader serverextension
[I 14:33:32.250 NotebookApp] Loading the formgrader nbgrader serverextension
[W 14:33:32.252 NotebookApp] Error loading server extension nbgrader.server_extensions.formgrader
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1346, in init_server_extensions
func(self)
File "/opt/conda/lib/python3.5/site-packages/nbgrader/server_extensions/formgrader/formgrader.py", line 72, in load_jupyter_server_extension
formgrader.initialize([])
File "<decorator-gen-117>", line 2, in initialize
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/nbgrader/apps/baseapp.py", line 245, in initialize
self.init_logging(logging.FileHandler, [self.logfile], color=False)
File "/opt/conda/lib/python3.5/site-packages/nbgrader/apps/baseapp.py", line 81, in init_logging
handler = handler_class(*handler_args)
File "/opt/conda/lib/python3.5/logging/__init__.py", line 1008, in __init__
StreamHandler.__init__(self, self._open())
File "/opt/conda/lib/python3.5/logging/__init__.py", line 1037, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/lsnoek1/.nbgrader.log'
Turned out that, for some reason, the .nbgrader.log
file was owned by root
:
-rw-r--r-- 1 root root 232 okt 18 14:21 .nbgrader.log
Anyway, when I changed owner (sudo chown lsnoek1:lsnoek1 .nbgrader.log
) and restarted the server, the formgrader worked again. Interestingly, this root-issue was only the case for the "owner" account; the .nbgrader.log
files for the other graders and students are owned by their own account, explaining why they in fact could access the formgrader. No clue why my .nbgrader.log
file was owned by root ... I probably did something stupid on my side ...
Anyway, thanks again for the help and keep up the good work with nbgrader :-)
Ps. Also, thanks for updating the nbgrader documentation. Our course using jupyterhub/nbgrader has already started, but I'll definitely use the set-up described in the documentation for our next course.
from jupyterhub-deploy-teaching.
Related Issues (20)
- failed to install jupyterlab/hub-extension
- failed to install Minimal C Kernel
- jupyterlab_default: false has no effect
- Spawn error, but service starts HOT 5
- Problem upgrading to Jupyterlab 1.0.2
- Archiving this repository in favour of TLJH HOT 2
- cull-idle as a Hub service doesn't work
- No module named 'distutils.spawn' HOT 1
- Update documentation HOT 3
- nbgrader HOT 2
- Error with conda.py HOT 3
- update documentation on formgrader configuration HOT 1
- Letsencrypt auto renew HOT 7
- Update docs build to use conda for RTD
- Update License File
- 404 on server reboot on Formgrader tab. HOT 1
- Jupyterhub won't start after deployment HOT 4
- Python 2 On JupyterHub-Teaching HOT 1
- Cannot find file `deploy_formgrade.yml`. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterhub-deploy-teaching.