-
Notifications
You must be signed in to change notification settings - Fork 38
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
Exceptions aren't shown when using apython in Ubuntu #11
Comments
Thanks for your report! I didn't manage to reproduce this issue on a linux terminal. Are you using windows? |
I'm using Ubuntu 16.04, and I just re-verified that the issue happens. I'm not sure |
It ignores sys.excepthook (set by ubuntu apport for instance) Fix issue #11
I've been able to reproduce the issue, it's actually caused by the ubuntu "apport" thing. It is now fixed starting with release v0.1.5. Make sure you update your aioconsole package by running:
Thanks again for the report! |
Thanks very much. This seems to fix the issue for me. I'd love to see a more detailed description of what was going on here though. How was apport interfering with apython's exception reporting? |
That's because I was relying on if sys.excepthook is sys.__excepthook__:
self.write(''.join(lines)) Because of apport, See the source here. |
Thanks, that's very good to know. |
apython doesn't seem to show exceptions when they happen.
For example:
I was hoping to be able to use apython for interactively debugging async Python code, but this makes it not nearly so useful.
The text was updated successfully, but these errors were encountered: