Skip to content

Validation failed TypeError: t is undefined #1866

Open
@szazs89

Description

@szazs89

Operating system

Ubuntu 22.04.4 LTS

nbgrader --version

Python version 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
nbgrader version 0.9.1

jupyterhub --version (if used with JupyterHub)

4.0.2

jupyter notebook --version

7.1.0

Expected behavior

Clicking on the Validate button should check the notebook.

Actual behavior

Clicking on the Validate button results in an error window instantly popping up with the message:

Validation failed
Cannot check version: TypeError: t is undefined

Steps to reproduce the behavior

Open a new notebook, select kernel (I've tried python3, C and octave). Click on Validate button.
I have also tried it on a notebook which was created with notebook 6.x.x a year ago, and it worked well with nbgrader 0.6.9, but now it just pop ups this Validation failed message window.

Hence, I cannot release this notebook to my students, because they won't be able to validate their works.

pip list
Package                            Version
---------------------------------- ---------------
agate                              1.9.1
agate-dbf                          0.2.2
agate-excel                        0.4.1
agate-sql                          0.7.2
aiofiles                           22.1.0
aiosqlite                          0.20.0
alembic                            1.13.1
anyio                              4.3.0
argon2-cffi                        23.1.0
argon2-cffi-bindings               21.2.0
arrow                              1.3.0
asttokens                          2.4.1
async-generator                    1.10
async-lru                          2.0.4
attrs                              23.2.0
Babel                              2.14.0
beautifulsoup4                     4.12.3
bleach                             6.1.0
certifi                            2024.2.2
certipy                            0.1.3
cffi                               1.16.0
chardet                            5.2.0
charset-normalizer                 3.3.2
colorama                           0.4.6
comm                               0.2.1
contourpy                          1.2.0
cryptography                       42.0.4
csvkit                             1.4.0
cycler                             0.12.1
dbfread                            2.0.7
dbus-python                        1.2.18
debugpy                            1.8.1
decorator                          5.1.1
defusedxml                         0.7.1
entrypoints                        0.4
et-xmlfile                         1.1.0
exceptiongroup                     1.2.0
executing                          2.0.1
fastjsonschema                     2.19.1
fonttools                          4.49.0
fqdn                               1.5.1
gitdb                              4.0.11
GitPython                          3.1.42
gnuplot-kernel                     0.4.1
greenlet                           3.0.3
h11                                0.14.0
html5lib                           1.1
httpcore                           1.0.3
httpx                              0.26.0
idna                               3.6
importlib-metadata                 7.0.1
iniconfig                          2.0.0
ipykernel                          6.29.2
ipympl                             0.9.3
ipyparallel                        8.6.1
ipython                            8.21.0
ipython-genutils                   0.2.0
ipywidgets                         8.1.2
isodate                            0.6.1
isoduration                        20.11.0
jdcal                              1.0
jedi                               0.19.1
jhub-shibboleth-user-authenticator 0.1.6
Jinja2                             3.1.3
json5                              0.9.17
jsonpointer                        2.4
jsonschema                         4.21.1
jsonschema-specifications          2023.12.1
jupyter-c-kernel                   1.2.2
jupyter_client                     7.4.9
jupyter_core                       5.7.1
jupyter-events                     0.9.0
jupyter-lsp                        2.2.2
jupyter_server                     2.12.5
jupyter_server_fileid              0.9.1
jupyter-server-mathjax             0.2.6
jupyter_server_terminals           0.5.2
jupyter_server_ydoc                0.8.0
jupyter-telemetry                  0.1.0
jupyter-ydoc                       0.2.5
jupyterhub                         4.0.2
jupyterhub-idle-culler             1.2.1
jupyterlab                         4.1.2
jupyterlab_git                     0.50.0
jupyterlab-latex                   4.0.0
jupyterlab_pygments                0.3.0
jupyterlab_rise                    0.42.0
jupyterlab_server                  2.25.3
jupyterlab_widgets                 3.0.10
kiwisolver                         1.4.5
leather                            0.3.4
lxml                               5.1.0
Mako                               1.3.2
MarkupSafe                         2.1.5
matplotlib                         3.8.3
matplotlib-inline                  0.1.6
metakernel                         0.30.1
mistune                            3.0.2
more-itertools                     10.2.0
mpmath                             1.3.0
nbclassic                          1.0.0
nbclient                           0.9.0
nbconvert                          7.16.1
nbdime                             4.0.1
nbformat                           5.9.2
nbgrader                           0.9.1
nest-asyncio                       1.6.0
notebook                           7.1.0
notebook_shim                      0.2.4
numpy                              1.26.4
oauthlib                           3.2.2
octave_kernel                      0.35.1
olefile                            0.47
openpyxl                           3.1.2
overrides                          7.7.0
packaging                          23.2
pamela                             1.1.0
pandocfilters                      1.5.1
parsedatetime                      2.6
parso                              0.8.3
pexpect                            4.9.0
pillow                             10.2.0
pip                                24.0
pkgconfig                          1.5.5
platformdirs                       4.2.0
pluggy                             1.4.0
prometheus_client                  0.20.0
prompt-toolkit                     3.0.43
psutil                             5.9.8
ptyprocess                         0.7.0
pure-eval                          0.2.2
py                                 1.11.0
pycparser                          2.21
pycurl                             7.45.3
Pygments                           2.17.2
PyGObject                          3.42.1
PyICU                              2.8.1
pyOpenSSL                          24.0.0
pyparsing                          3.1.1
pytest                             8.0.1
python-dateutil                    2.8.2
python-json-logger                 2.0.7
python-slugify                     8.0.4
pytimeparse                        1.1.8
pytz                               2024.1
PyYAML                             6.0.1
pyzmq                              25.1.2
rapidfuzz                          3.6.1
referencing                        0.33.0
requests                           2.31.0
rfc3339-validator                  0.1.4
rfc3986-validator                  0.1.1
rise                               5.7.1
rpds-py                            0.18.0
ruamel.yaml                        0.18.6
ruamel.yaml.clib                   0.2.8
scilab-kernel                      0.10.0
scipy                              1.12.0
Send2Trash                         1.8.2
setuptools                         69.1.0
six                                1.16.0
smmap                              5.0.1
sniffio                            1.3.0
soupsieve                          2.5
SQLAlchemy                         2.0.27
stack-data                         0.6.3
sympy                              1.12
terminado                          0.18.0
text-unidecode                     1.3
tinycss2                           1.2.1
toml                               0.10.2
tomli                              2.0.1
tornado                            6.4
tqdm                               4.66.2
traitlets                          5.14.1
types-python-dateutil              2.8.19.20240106
typing_extensions                  4.9.0
Unidecode                          1.3.8
uri-template                       1.3.0
urllib3                            2.2.1
wcwidth                            0.2.13
webcolors                          1.13
webencodings                       0.5.1
websocket-client                   1.7.0
wheel                              0.42.0
widgetsnbextension                 4.0.10
xlrd                               2.0.1
y-py                               0.6.2
ypy-websocket                      0.8.4
zipp                               3.17.0

</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions