-
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
Jitify compilation errors are not visible in notebooks #10
Comments
Older ipython versions will also consume any |
Updating
|
Decisions:
|
Including missing compiler errors with older ipykernels and Google collab workaround Part of #10
This issues is still present, with google collab still running ipykernel 5.3.4
I opened an issue about this / requesting an update with googlecollab at the time: googlecolab/colabtools#2230 |
Logs can be viewed by We could potentially ammend the error message in python land if running in jupyter too, if detection and ipython version detection is possible? |
When running pyflamegpu from a notebook, jitify compile errors are not shown to the user
I.e. all that is seen is:
This is not the case for running python outside of a notebook
This appears to be resolved by running a more recent version of ipython/jupyter, but a workaround is still required for collab where we cannot update this.
Todo
ipykernel >= 6.0.0a5
outputs the stdout when an exception is thrownNotes
Locally,
jupyter lab
andjupyter notebook
both show stdout on Ubuntu 21.04, python 3.9 with the following jupyter packages:And from About juptyer notebook:
The Innstance hub jupyter notebook is running:
Installing the exact versions as found on the intancehub hosted copy, the
stdout
being consumed can be reproduced:Colab is running the following:
Installing differnt versions of
ipykernel
has identified6.0.0a5
(Released: Apr 26, 2021) as the first pypi release version which fixes this issue / introduces the change. This may help find a workaround.The closed issues for milestone 6.0 for the ipykernel project may provide some insight.
The diff between 6.0.0a4 and 6.0.0a5 can also be found: ipython/ipykernel@6.0.0a4...6.0.0a5
ipython/ipykernel#630 is the relevant PR.
The text was updated successfully, but these errors were encountered: