Skip to content

NotImplementedError: WindowConfig.on_render not implemented #45

Description

@habemus-papadum

Hi, I tried installing jupylet to new venv, and I get the following error both on Mac and Linux when trying to run the hello-jupylet notebook in examples. Is it possible that upstream changes in moderngl_window are breaking the current version of jupylet? thanks

2025-04-17 15:15:10,718 - jupylet.clock - ERROR - Traceback (most recent call last):
  File "/Users/nehal/src/jupylet/jupylet/jupylet/clock.py", line 122, in call
    foo(t1, t1 - t0, **kwargs)
  File "/Users/nehal/src/jupylet/jupylet/jupylet/app.py", line 410, in _redraw_windows
    self.window.render(ct, dt)
  File "/Users/nehal/src/jupylet/.venv/lib/python3.12/site-packages/moderngl_window/context/base/window.py", line 778, in render
    self.render_func(time, frame_time)
  File "/Users/nehal/src/jupylet/.venv/lib/python3.12/site-packages/moderngl_window/context/base/window.py", line 1195, in on_render
    raise NotImplementedError("WindowConfig.on_render not implemented")
NotImplementedError: WindowConfig.on_render not implemented
Package                   Version        Editable project location
------------------------- -------------- --------------------------------
anyio                     4.9.0
appnope                   0.1.4
argon2-cffi               23.1.0
argon2-cffi-bindings      21.2.0
arrow                     1.3.0
asttokens                 3.0.0
async-lru                 2.0.5
attrs                     25.3.0
babel                     2.17.0
beautifulsoup4            4.13.4
bleach                    6.2.0
certifi                   2025.1.31
cffi                      1.17.1
charset-normalizer        3.4.1
comm                      0.2.2
contourpy                 1.3.2
cycler                    0.12.1
dataclasses-json          0.6.7
debugpy                   1.8.14
decorator                 5.2.1
defusedxml                0.7.1
executing                 2.2.0
fastjsonschema            2.21.1
fonttools                 4.57.0
fqdn                      1.5.1
glcontext                 3.0.0
glfw                      2.9.0
gltflib                   1.0.13
h11                       0.14.0
httpcore                  1.0.8
httpx                     0.28.1
idna                      3.10
ipyevents                 2.0.2
ipykernel                 6.29.5
ipython                   9.1.0
ipython-pygments-lexers   1.1.1
ipywidgets                8.1.6
isoduration               20.11.0
jedi                      0.19.2
jinja2                    3.1.6
json5                     0.12.0
jsonpointer               3.0.0
jsonschema                4.23.0
jsonschema-specifications 2024.10.1
jupylet                   0.9.2          /Users/nehal/src/jupylet/jupylet
jupyter                   1.1.1
jupyter-client            8.6.3
jupyter-console           6.6.3
jupyter-core              5.7.2
jupyter-events            0.12.0
jupyter-lsp               2.2.5
jupyter-server            2.15.0
jupyter-server-terminals  0.5.3
jupyterlab                4.4.0
jupyterlab-pygments       0.3.0
jupyterlab-server         2.27.3
jupyterlab-widgets        3.0.14
kiwisolver                1.4.8
markupsafe                3.0.2
marshmallow               3.26.1
matplotlib                3.10.1
matplotlib-inline         0.1.7
mido                      1.3.3
mistune                   3.1.3
moderngl                  5.12.0
moderngl-window           3.1.1
mypy-extensions           1.0.0
nbclient                  0.10.2
nbconvert                 7.16.6
nbformat                  5.10.4
nest-asyncio              1.6.0
notebook                  7.4.0
notebook-shim             0.2.4
numpy                     2.2.4
overrides                 7.7.0
packaging                 24.2
pandocfilters             1.5.1
parso                     0.8.4
pexpect                   4.9.0
pillow                    11.2.1
platformdirs              4.3.7
prometheus-client         0.21.1
prompt-toolkit            3.0.51
psutil                    7.0.0
ptyprocess                0.7.0
pure-eval                 0.2.3
pycparser                 2.22
pyglet                    2.1.3
pyglm                     2.8.2
pygments                  2.19.1
pyopengl                  3.1.9
pyparsing                 3.2.3
python-dateutil           2.9.0.post0
python-json-logger        3.3.0
python-rtmidi             1.5.8
pyyaml                    6.0.2
pyzmq                     26.4.0
referencing               0.36.2
requests                  2.32.3
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
rpds-py                   0.24.0
scipy                     1.15.2
send2trash                1.8.3
setuptools                78.1.0
six                       1.17.0
slimgui                   0.1.0
sniffio                   1.3.1
soundcard                 0.4.4
sounddevice               0.5.1
soundfile                 0.13.1
soupsieve                 2.6
stack-data                0.6.3
terminado                 0.18.1
tinycss2                  1.4.0
tornado                   6.4.2
tqdm                      4.67.1
traitlets                 5.14.3
types-python-dateutil     2.9.0.20241206
typing-extensions         4.13.2
typing-inspect            0.9.0
uri-template              1.3.0
urllib3                   2.4.0
wcwidth                   0.2.13
webcolors                 24.11.1
webencodings              0.5.1
websocket-client          1.8.0
widgetsnbextension        4.0.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions