jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.3k stars 317 forks source link

Formgrader says There was an error generating feedback of 'some-assignment'. with no details #1845

Open lahwaacz opened 1 year ago

lahwaacz commented 1 year ago

Operating system

Arch Linux

nbgrader --version

Python version 3.11.5 (main, Sep  2 2023, 14:16:33) [GCC 13.2.1 20230801]
nbgrader version 0.9.1

jupyterhub --version (if used with JupyterHub)

4.0.2

jupyter notebook --version

7.0.6

Expected behavior

When some operation results in an error, the error message should be shown to provide the user details necessary to deal with it.

Actual behavior

Formgrader says There was an error generating feedback of 'some-assignment'. with no details:

screenshot-2023-11-15@22:39:09

Steps to reproduce the behavior

Unknown, I have no idea what went wrong...

brichet commented 1 year ago

These empty error seems to occur when there is an exception on server side https://github.com/jupyter/nbgrader/blob/2ef4451572306b7a84605c18c4a459c24fe4eb31/nbgrader/server_extensions/formgrader/static/js/manage_assignments.js#L418

Can you look at the log on the server ?

lahwaacz commented 1 year ago

There is no error logged on the server side around the time when this happened.