question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder 4.1 quits when closing browser tab from vpython

See original GitHub issue

Description

What steps will reproduce the problem?

When using the python code below, the display is correct, but closing the browser tabe with the vpython display will cause Spyder to crash without error message. This only occurs for Windows 10, not macOS. Only Firefox has been tested as a browser. Versions used: python 3.7.7, Spyder 4.1.2, vpython 7.6.1. This bug does NOT occur with Spyder 4.0.1!


from vpython import canvas, color, sphere, vector

def provoke(): scene=canvas(title=“view”,width=800,height=800) scene.background=color.white c = vector(0.8, 0.0, 0.6) p = vector(0,0,0) s = sphere(pos=p, radius=8.0, color=c)

provoke()

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7.5
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.13.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.7.0 (OK)
pygments >=2.0               :  2.6.1 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.9 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.7.0 (OK)
qtconsole >=4.6.0            :  4.7.2 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.4 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  None (NOK)
matplotlib >=2.0.0           :  None (NOK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  None (NOK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  None (NOK)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
RussAtkinsoncommented, Apr 15, 2020

Also, for some reason this happens with Windows 10 but not macOS. That might help focus the search on OS dependent differences.

On Wed, Apr 15, 2020 at 8:36 AM Carlos Cordoba notifications@github.com wrote:

Ok, that means this is a problem with our kernel. Therefore, I think you need to check the PRs that were merged between 1.8.1 and 1.9.0 and try to detect what code in them could have introduced this bug (I’m not really sure which one could be the culprit, sorry).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/12300#issuecomment-614208539, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJPQDYWK55YQMTE3XDRVEKLRMX5EVANCNFSM4MGWZRRA .

1reaction
ccordoba12commented, Apr 15, 2020

Ok, that means this is a problem with our kernel. Therefore, I think you need to check the PRs that were merged between 1.8.1 and 1.9.0 and try to detect what code in them could have introduced this bug (I’m not really sure which one could be the culprit, sorry).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vpython using Spyder : how to prevent browser tab from ...
1 Answer 1 ... There is work in progress to prevent the opening of a browser tab when there are no 3D objects...
Read more >
PySimpleGUI
Python GUI For Humans - Transforms tkinter, Qt, Remi, WxPython into portable ... WIN_CLOSED or event == 'Cancel': # if user closes window...
Read more >
conda install spyder solving environment failed - You.com | The ...
To workaround this problem, you need to close Spyder and run the following commands in the Anaconda Prompt (or your system terminal on...
Read more >
snowflake-connector-python - PyPI
Fixed a bug where GET commands would fail to download files from sub directories from stages. Added a feature where where the connector...
Read more >
Software — Hoffman2 Documentation 2019/10/09 ... - UCLA
As many third party python packages are available on the Hoffman2 Cluster, which are not ... Close current window (if more than one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found