missing
See original GitHub issueOperating system
Ubuntu 18.04
nbgrader --version
0.6.1
jupyterhub --version
(if used with JupyterHub)
1.0.0b1
jupyter notebook --version
5.7.8
Expected behavior
I expected to generate feedback.
Actual behavior
Instead I received the error messages below:
[ERROR] There was an error processing assignment: /home/jovyan/bootcamp/autograded/test/ex1 [ERROR] Traceback (most recent call last): File “/opt/conda/lib/python3.7/site-packages/nbgrader/converters/base.py”, line 336, in convert_notebooks self.convert_single_notebook(notebook_filename) File “/opt/conda/lib/python3.7/site-packages/nbgrader/converters/base.py”, line 292, in convert_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File “/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/exporter.py”, line 179, in from_filename return self.from_file(f, resources=resources, **kw) File “/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/exporter.py”, line 197, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) File “/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/html.py”, line 100, in from_notebook_node return super(HTMLExporter, self).from_notebook_node(nb, resources, **kw) File “/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/templateexporter.py”, line 357, in from_notebook_node output = self.template.render(nb=nb_copy, resources=resources) File “/opt/conda/lib/python3.7/site-packages/jinja2/asyncsupport.py”, line 76, in render return original_render(self, *args, **kwargs) File “/opt/conda/lib/python3.7/site-packages/jinja2/environment.py”, line 1008, in render return self.environment.handle_exception(exc_info, True) File “/opt/conda/lib/python3.7/site-packages/jinja2/environment.py”, line 780, in handle_exception reraise(exc_type, exc_value, tb) File “/opt/conda/lib/python3.7/site-packages/jinja2/_compat.py”, line 37, in reraise raise value.with_traceback(tb) File “/opt/conda/lib/python3.7/site-packages/nbgrader/server_extensions/formgrader/templates/feedback.tpl”, line 1, in top-level template code {%- extends ‘basic.tpl’ -%} jinja2.exceptions.TemplateNotFound: basic.tpl
I tried to find such file, but I only found the base.tpl one, which I guess is not the right one to import. How could I solve this?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:8 (1 by maintainers)
Top GitHub Comments
hi there @agahkarakuzu !! i didn’t know about the requirements, either 😃 5.6.1 so far does seem to work. What is also really odd is that feedback had been working for us and then it stopped working! it’s nice however that there is a local fix 😃
I noticed here: https://github.com/jupyter/nbgrader/blob/master/setup.py#L94 that nbconvert is indeed pinned to 5.6.1 – it was mentioned in another thread somewhere so perhaps we all just need to pin it in our docker containers as well? your post was super helpful regardless as downgrading did work!
i’m running into the same issue @ttimbers mentioned above. it seems like nbgrader needs atleast nbconvert 5.6 when i try to downgrade … still troubleshooting.
for me it seems as if downgrading to nbconvert 5.6.1 worked locally. i’m still having issues on our hub but think i may try to pin nbconvert in our docker image.