-
Notifications
You must be signed in to change notification settings - Fork 258
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
Kernel dead when running notebook in a server #37
Comments
What is the output of: # before importing anything
print(get_ipython())
from vtkplotter import settings
print(settings.notebookBackend)
print(settings.notebook_plotter) |
I got this
|
..looks normal.. ..so this is already crashing?
|
Yes, it crashes. Could it be a Chrome-related problem? |
might be.. what if you run this instead: import k3d
vertices = [
-10, 0, -1,
10, 0, -1,
10, 0, 1,
-10, 0, 1,
]
indices = [
0, 1, 3,
1, 2, 3
]
plot = k3d.plot()
plot += k3d.mesh(vertices, indices)
plot.display() PS vp = Plotter(screensize=(500,500)) |
Both codes worked! Just by specifying |
Are you saying my 13inch screen isn't too big for the default screensize? :) |
LOL ..no, that's because of a vtk call trying to get the physical size of your screen (which in your case does not exist since it on a server).. It will be fixed in the next release, thanks for spotting the problem! |
I have a Jupyter notebook running on a server on a specific port and IP. The notebook runs fine locally however, the kernel dies when I run the notebook from another computer. The line that crashes is
vp = Plotter(title='My title goes here')
.I am running the notebook in the server with
jupyter notebook --no-browser --port=8080 --ip 10.xxx.xx.xx
. Access is done viahttp://10.xxx.xx.xx:8080/?token=xxx
. Could you guys think of something else I can try? Thanks.The text was updated successfully, but these errors were encountered: