Title: Jupyter in VS Code - Wait for websocket to connect · Issue #172 · vpython/vpython-jupyter · GitHub
Open Graph Title: Jupyter in VS Code - Wait for websocket to connect · Issue #172 · vpython/vpython-jupyter
X Title: Jupyter in VS Code - Wait for websocket to connect · Issue #172 · vpython/vpython-jupyter
Description: Hi, I am running a notebook in VS code with the tutorial commands: from vpython import * sphere() The first command finishes but the second hangs on this line from the stack trace: KeyboardInterrupt --------------------------------------...
Open Graph Description: Hi, I am running a notebook in VS code with the tutorial commands: from vpython import * sphere() The first command finishes but the second hangs on this line from the stack trace: KeyboardInterrup...
X Description: Hi, I am running a notebook in VS code with the tutorial commands: from vpython import * sphere() The first command finishes but the second hangs on this line from the stack trace: KeyboardInterrup...
Opengraph URL: https://github.com/vpython/vpython-jupyter/issues/172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Jupyter in VS Code - Wait for websocket to connect","articleBody":"Hi, I am running a notebook in VS code with the tutorial commands:\r\n```\r\nfrom vpython import *\r\nsphere()\r\n``` \r\nThe first command finishes but the second hangs on this line from the stack trace:\r\n```\r\nKeyboardInterrupt\r\n---------------------------------------------------------------------------\r\nKeyboardInterrupt Traceback (most recent call last)\r\n\u003cipython-input-2-b919c6b7ad5b> in \u003cmodule>\r\n----> 1 sphere()\r\n\r\n~/opt/anaconda3/lib/python3.7/site-packages/vpython/vpython.py in __init__(self, **args)\r\n 1148 args['_default_size'] = vector(2,2,2)\r\n 1149 args['_objName'] = \"sphere\"\r\n-> 1150 super(sphere, self).setup(args)\r\n 1151 self._sizing = False # no axis/size connection\r\n 1152 \r\n\r\n~/opt/anaconda3/lib/python3.7/site-packages/vpython/vpython.py in setup(self, args)\r\n 582 \r\n 583 def setup(self, args):\r\n--> 584 super(standardAttributes, self).__init__()\r\n 585 self._constructing = True ## calls to setters are from constructor\r\n 586 \r\n\r\n~/opt/anaconda3/lib/python3.7/site-packages/vpython/vpython.py in __init__(self, **kwargs)\r\n 236 baseObj._canvas_constructing):\r\n 237 if _isnotebook:\r\n--> 238 from .with_notebook import _\r\n 239 else:\r\n 240 from .no_notebook import _\r\n\r\n~/opt/anaconda3/lib/python3.7/site-packages/vpython/with_notebook.py in \u003cmodule>\r\n 151 baseObj.glow = GlowWidget(wsport=__SOCKET_PORT, wsuri='/ws')\r\n 152 while (not wsConnected):\r\n--> 153 time.sleep(0.1) # wait for websocket to connect\r\n 154 \r\n 155 baseObj.trigger() # start the trigger ping-pong process\r\n\r\nKeyboardInterrupt: \r\n```","author":{"url":"https://github.com/smrfeld","@type":"Person","name":"smrfeld"},"datePublished":"2021-08-30T18:38:51Z","url":"https://github.com/vpython/vpython-jupyter/issues/172"}
| 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:63f3ba76-3230-0d16-f3d8-13823cdaac0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94F0:215B38:395FA7:4E1550:6B006CE1 |
| html-safe-nonce | d57664b6205925987babace3ef26599524d06c93932c04e906e762db03b4b616 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEYwOjIxNUIzODozOTVGQTc6NEUxNTUwOjZCMDA2Q0UxIiwidmlzaXRvcl9pZCI6IjMxODM3Mzk1MDE3NDY4NzU2MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | af9ecdd303ead5f435c893d5e1d84f64fb5f0b04c57080f7c48fc6087fe2118c |
| hovercard-subject-tag | issue:983086468 |
| 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/vpython/vpython-jupyter/172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8650acb2559708d8da77cb73ce3a5c74cf3d1f9405d51c47d80ff3de2b5af312/vpython/vpython-jupyter/issues/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8650acb2559708d8da77cb73ce3a5c74cf3d1f9405d51c47d80ff3de2b5af312/vpython/vpython-jupyter/issues/172 |
| og:image:alt | Hi, I am running a notebook in VS code with the tutorial commands: from vpython import * sphere() The first command finishes but the second hangs on this line from the stack trace: KeyboardInterrup... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smrfeld |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/vpython/vpython-jupyter git https://github.com/vpython/vpython-jupyter.git |
| octolytics-dimension-user_id | 1280757 |
| octolytics-dimension-user_login | vpython |
| octolytics-dimension-repository_id | 187905226 |
| octolytics-dimension-repository_nwo | vpython/vpython-jupyter |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 187905226 |
| octolytics-dimension-repository_network_root_nwo | vpython/vpython-jupyter |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width