Title: ipython3 crash: nested exceptions? · Issue #13586 · ipython/ipython · GitHub
Open Graph Title: ipython3 crash: nested exceptions? · Issue #13586 · ipython/ipython
X Title: ipython3 crash: nested exceptions? · Issue #13586 · ipython/ipython
Description: I just recently started getting seemingly random crashes - complete crash of the kernel, requring restart -- that appear to be related to exceptions occurring within the exception handler. The trigger appears completely random, but alway...
Open Graph Description: I just recently started getting seemingly random crashes - complete crash of the kernel, requring restart -- that appear to be related to exceptions occurring within the exception handler. The trig...
X Description: I just recently started getting seemingly random crashes - complete crash of the kernel, requring restart -- that appear to be related to exceptions occurring within the exception handler. The trig...
Opengraph URL: https://github.com/ipython/ipython/issues/13586
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ipython3 crash: nested exceptions?","articleBody":"I just recently started getting seemingly random crashes - complete crash of the kernel, requring restart -- that appear to be related to exceptions occurring within the exception handler. The trigger appears completely random, but always starts with some sort of reasonable error at the console, followed by a long stack trace. Something like this, where the \"Original exception\" is my mistake:\r\n```\r\nOriginal exception was:\r\nTraceback (most recent call last):\r\n File \"/home/mazer/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py\", line 3361, in run_code\r\n exec(code_obj, self.user_global_ns, self.user_ns)\r\n File \"\u003cipython-input-131-ddf36e5e5914>\", line 1, in \u003ccell line: 1>\r\n File \"/home/mazer/src/taut/notebooks/jamie/graph-audio/debugger.py\", line 238, in run_pipeline\r\n sup.title(f'sentence # {sampleno}')\r\nNameError: name 'sup' is not defined\r\n....\r\n```\r\nDuring handling of the above exception caused by my typo, another exception occurrs inside ipython:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/mazer/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py\", line 1979, in showtraceback\r\n stb = value._render_traceback_()\r\nAttributeError: 'NameError' object has no attribute '_render_traceback_'\r\n```\r\nfollowed by along, inconsistent stack trace that always ends with:\r\n```\r\n File \"/home/mazer/.local/lib/python3.8/site-packages/stack_data/core.py\", line 628, in executing_piece\r\n return only(\r\n File \"/home/mazer/.local/lib/python3.8/site-packages/executing/executing.py\", line 164, in only\r\n raise NotOneValueFound('Expected one value, found 0')\r\nexecuting.executing.NotOneValueFound: Expected one value, found 0\r\n```\r\nJust started getting this since I did a fresh update/install of the virtualenv I'm using.\r\n\r\nAnybody seen this or have any ideas about what might be causing this?\r\n\r\nThanks,\r\nJamie\r\n\r\n","author":{"url":"https://github.com/mazer-ai","@type":"Person","name":"mazer-ai"},"datePublished":"2022-03-11T22:17:24Z","url":"https://github.com/ipython/ipython/issues/13586"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2143969c-d15b-b3af-c132-20b9288d27f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C78A:395430:40C2BC:579491:6B00C920 |
| html-safe-nonce | 7f8c0d0f21a315ee55228243eebaf8f9b57f09ab3ef7efa60bd5658aebc1ae9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzhBOjM5NTQzMDo0MEMyQkM6NTc5NDkxOjZCMDBDOTIwIiwidmlzaXRvcl9pZCI6Ijc3MzA0NTQ2NjA4Mjk0NjQ4NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a8d2b8efb6cfaae4912f3e17e52179d52adc5f14e967c87f6ec2902ee9d9ad0 |
| hovercard-subject-tag | issue:1166929242 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ipython/ipython/13586/issue_layout |
| twitter:image | https://opengraph.githubassets.com/def4e169a12470893b4fe16168bc46b88090742a17cc6166c2baf51c62900a58/ipython/ipython/issues/13586 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/def4e169a12470893b4fe16168bc46b88090742a17cc6166c2baf51c62900a58/ipython/ipython/issues/13586 |
| og:image:alt | I just recently started getting seemingly random crashes - complete crash of the kernel, requring restart -- that appear to be related to exceptions occurring within the exception handler. The trig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mazer-ai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/ipython/ipython git https://github.com/ipython/ipython.git |
| octolytics-dimension-user_id | 230453 |
| octolytics-dimension-user_login | ipython |
| octolytics-dimension-repository_id | 658518 |
| octolytics-dimension-repository_nwo | ipython/ipython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 658518 |
| octolytics-dimension-repository_network_root_nwo | ipython/ipython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width