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

NICP hangs in Jupyter notebook #87

Open
apapaion opened this issue Nov 17, 2022 · 0 comments
Open

NICP hangs in Jupyter notebook #87

apapaion opened this issue Nov 17, 2022 · 0 comments

Comments

@apapaion
Copy link

When NICP (non_rigid_icp etc) is called in a Jupyter notebook, the operation hangs.
Tested in ipykernel 6.3.1 with ipython 7.27.0 and and ipython 8.4. There is no such issue in Ipykernel 5.5.3 and ipython 7.22.0.
The issue is with sys.stdout.close(), which hangs (perhaps it has to do with issue 868 at ipykernel project). Also, in the same matter, fileno has a different behaviour in the newer versions as it does not raise an UnsupportedOperation exception. Perhaps is it better to check __IPYTHON__ instead of fileno ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant