Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter kernel doesn't start in 2.90.1 #5

Open
konstantin-anori opened this issue Nov 5, 2020 · 4 comments
Open

Jupyter kernel doesn't start in 2.90.1 #5

konstantin-anori opened this issue Nov 5, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@konstantin-anori
Copy link

In blender 2.90.1 jupyter kernel hangs and after some time raises an exception: RuntimeError: Kernel didn't respond to kernel_info_request

There is a workaround: If after blender starts you create a new file (File->New->General) jupyter works fine.

It seems like the timer hack in kernel.py doesn't work any more. Kernel is started by loadHandler() when you create a new file.

I'd be very glad to fix it myself but don't know blender API well enough.

@cheng-chi
Copy link
Collaborator

Interesting, I will take a look this weekend.

@cheng-chi cheng-chi self-assigned this Nov 5, 2020
@cheng-chi cheng-chi added the bug Something isn't working label Nov 5, 2020
@cheng-chi
Copy link
Collaborator

@konstantin-anori Sorry for the extreeeeeme delay. Just letting you know that I have started working on it. According to my experiment, 2.91 works if you launch it directly from a terminal (and launch kernel in browser), but fails if launched from vscode. Still investigating.

@cheng-chi
Copy link
Collaborator

@konstantin-anori Unable to reproduce your error

@john-rogers
Copy link

Many thanks for this cheng-chi, it's just what i needed. Although i experienced the same issue as konstantin-anori his fix worked for me. I'm using Blender 2.92 and python 3.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants