question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Operating 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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
lwassercommented, Oct 9, 2020

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!

2reactions
lwassercommented, Oct 9, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MISSING - Official Trailer (HD) - YouTube
Time is running out. From the minds behind Searching, #MissingMovie is only in movie theaters January 20. Text (310) 634-1918 to join the ......
Read more >
MISSING (2023)
When her mother disappears while on vacation in Colombia with her new boyfriend, June's search. Play trailer ...
Read more >
Missing (2023 film)
It is a standalone sequel to the 2018 film Searching. The film stars Storm Reid, Joaquim de Almeida, Ken Leung, Amy Landecker, Daniel...
Read more >
Kidnappings & Missing Persons
Kidnappings & Missing Persons. Select the images to display more information. Filter by: Filter by. Year, 2010, 2011, 2012, 2013, 2014 ...
Read more >
Watch Missing Streaming Online
Start your free trial to watch Missing and other popular TV shows and movies including new releases, classics, Hulu Originals, and more. It's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found