Title: qt browser does not work on python 3.8 · Issue #74 · vpython/vpython-jupyter · GitHub
Open Graph Title: qt browser does not work on python 3.8 · Issue #74 · vpython/vpython-jupyter
X Title: qt browser does not work on python 3.8 · Issue #74 · vpython/vpython-jupyter
Description: When I try the program below on python 3.8 I get the error traceback that is below the program. to reproduce, run this from vpython import * set_browser(type='pyqt') b = box() Error traceback Traceback (most recent call last): File " Open Graph Description: When I try the program below on python 3.8 I get the error traceback that is below the program. to reproduce, run this from vpython import * set_browser(type='pyqt') b = box() Error traceback Trace...
X Description: When I try the program below on python 3.8 I get the error traceback that is below the program. to reproduce, run this from vpython import * set_browser(type='pyqt') b = box() Error traceba...
Opengraph URL: https://github.com/vpython/vpython-jupyter/issues/74
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"qt browser does not work on python 3.8","articleBody":"When I try the program below on python 3.8 I get the error traceback that is below the program.\r\n\r\n## to reproduce, run this\r\n\r\n```python\r\nfrom vpython import *\r\nset_browser(type='pyqt')\r\nb = box()\r\n```\r\n\r\n## Error traceback\r\n\r\n```python-traceback\r\nTraceback (most recent call last):\r\n File \"\u003cstring>\", line 1, in \u003cmodule>\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 116, in spawn_main\r\n exitcode = _main(fd, parent_sentinel)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 125, in _main\r\n prepare(preparation_data)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 236, in prepare\r\n _fixup_main_from_path(data['init_main_from_path'])\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 287, in _fixup_main_from_path\r\n main_content = runpy.run_path(main_path,\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/runpy.py\", line 263, in run_path\r\n return _run_module_code(code, init_globals, run_name,\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/runpy.py\", line 96, in _run_module_code\r\n _run_code(code, mod_globals, init_globals,\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/runpy.py\", line 86, in _run_code\r\n exec(code, run_globals)\r\n File \"/Users/mattcraig/development/vpython-jupyter/Demos_no_notebook/qt.py\", line 3, in \u003cmodule>\r\n b = box()\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/vpython.py\", line 1099, in __init__\r\n super(box, self).setup(args)\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/vpython.py\", line 579, in setup\r\n super(standardAttributes, self).__init__()\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/vpython.py\", line 236, in __init__\r\n from .no_notebook import _\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/no_notebook.py\", line 265, in \u003cmodule>\r\n __m.start()\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/process.py\", line 121, in start\r\n self._popen = self._Popen(self)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/context.py\", line 224, in _Popen\r\n return _default_context.get_context().Process._Popen(process_obj)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/context.py\", line 283, in _Popen\r\n return Popen(process_obj)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/popen_spawn_posix.py\", line 32, in __init__\r\n super().__init__(process_obj)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/popen_fork.py\", line 19, in __init__\r\n self._launch(process_obj)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/popen_spawn_posix.py\", line 42, in _launch\r\n prep_data = spawn.get_preparation_data(process_obj._name)\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 154, in get_preparation_data\r\n _check_not_importing_main()\r\n File \"/Users/mattcraig/miniconda3/envs/vptest/lib/python3.8/multiprocessing/spawn.py\", line 134, in _check_not_importing_main\r\n raise RuntimeError('''\r\nRuntimeError:\r\n An attempt has been made to start a new process before the\r\n current process has finished its bootstrapping phase.\r\n\r\n This probably means that you are not using fork to start your\r\n child processes and you have forgotten to use the proper idiom\r\n in the main module:\r\n\r\n if __name__ == '__main__':\r\n freeze_support()\r\n ...\r\n\r\n The \"freeze_support()\" line can be omitted if the program\r\n is not going to be frozen to produce an executable.\r\nException ignored in: \u003cfunction standardAttributes.__del__ at 0x7f8a780971f0>\r\nTraceback (most recent call last):\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/vpython.py\", line 1092, in __del__\r\n super(standardAttributes, self).__del__()\r\n File \"/Users/mattcraig/development/vpython-jupyter/vpython/vpython.py\", line 317, in __del__\r\n cmd = {\"cmd\": \"delete\", \"idx\": self.idx}\r\nAttributeError: 'box' object has no attribute 'idx'\r\n```","author":{"url":"https://github.com/mwcraig","@type":"Person","name":"mwcraig"},"datePublished":"2020-02-17T00:03:10Z","url":"https://github.com/vpython/vpython-jupyter/issues/74"}
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:6f21d814-fa33-3f83-dcd3-4026578cfd1d current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 945C:74FE4:35B4E5:49B014:6B006CD4 html-safe-nonce 6a473e88171ae451d39cc718c970a80f742dc156b0bbdf1c2226742ddb511c1c visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDVDOjc0RkU0OjM1QjRFNTo0OUIwMTQ6NkIwMDZDRDQiLCJ2aXNpdG9yX2lkIjoiNzYyMTgyNDc4NDYxMDkxMzQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac b049347daceee40c36693e746290e50ea2ac8c82992deee8c8740ef2a9c27f0d hovercard-subject-tag issue:565994317 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/74/issue_layout twitter:image https://opengraph.githubassets.com/219c129b4b2d924b0c51ba787fb6b116e3715f41da6c2dc8e27e899ef47a06cb/vpython/vpython-jupyter/issues/74 twitter:card summary_large_image og:image https://opengraph.githubassets.com/219c129b4b2d924b0c51ba787fb6b116e3715f41da6c2dc8e27e899ef47a06cb/vpython/vpython-jupyter/issues/74 og:image:alt When I try the program below on python 3.8 I get the error traceback that is below the program. to reproduce, run this from vpython import * set_browser(type='pyqt') b = box() Error traceback Trace... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username mwcraig 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
URLs of crawlers that visited me.