-
Notifications
You must be signed in to change notification settings - Fork 0
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
Scene rendering is broken #1
Comments
Interestingly, this bug exists for vtk 6.3.0 as well when compiling with 2019 PyChaste and 2019 Chaste on Ubuntu 18.04. Rebuilding an old vtk in #2 may not necessarily resolve the broken rendering. |
The last working version seems to be the one used in the docker image from 2016 i.e. Pychaste v3.4.2 which uses Boost Python bindings. From v3.4.3, PyChaste was migrated to PyBind11. |
|
After the merge of #5, animations can be displayed in the notebook, but there is a memory leak which quickly (in the order of 30 seconds - few minutes) crashes the host machine. Steps to Fix
FixedThe vtkRenderWindows being created each frame were not GC'd. Fixed by having a single render window as a class member of JupyterNotebookManager |
Describe the bug
See PyChaste/issues/5:
To Reproduce
Build and install PyChaste from source with
VTK ==7.1.1
, which is the oldest available version on Ubuntu 22.04.In a Jupyter notebook:
Error
The text was updated successfully, but these errors were encountered: