Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Failed to load model class 'CanvasModel' from module 'ipycanvas' in Binder #343

Open
@Voranto

Description

Doing an OCR project, which im using ipycanvas as a Canvas to draw the number, and the knn algorithm to guess the number. Im using binder to render the notebook, and everything seems to work except the canvas.

Error:

[Open Browser Console for more detailed log - Double click to close this message] Failed to load model class 'CanvasModel' from module 'ipycanvas' Error: No version of module ipycanvas is registered at f.loadClass (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1:74936) at f.loadModelClass (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1:10729) at f._make_model (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1:7517) at f.new_model (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1:5137) at f.handle_comm_open (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1:3894) at _handleCommOpen (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1:73473) at b._handleCommOpen (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/static/lab/jlab_core.c3f88431949a8243d08c.js?v=c3f88431949a8243d08c:2:1040031) at async b._handleMessage (https://notebooks.gesis.org/binder/jupyter/user/voranto-ocr-proyect-6hzwv5uh/static/lab/jlab_core.c3f88431949a8243d08c.js?v=c3f88431949a8243d08c:2:1042021)

Any issues on to why and any way to fix it?
image

Code for the project (don't think it adds much but if it helps):
https://github.com/Voranto/OCR-proyect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /