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.

Error when attempting to close a split panel in the editor window

See original GitHub issue

Description

What steps will reproduce the problem?

  1. In the editor, I have used ‘split vertically’ to have source on the top and bottom. The split screen works fine.
  2. On the bottom (second panel), I click on the gears icon to close to the panel and I get a popup error message suggesting to submit to github.

What is the expected output? What do you see instead? I expect to get a pop-up menu with the option to close the panel. What I see instead is an error window suggesting to submit the bug to github. The outcome is that I can’t close the split panel unless I restart Spyder.

Please provide any additional information below

File “/usr/local/lib/python3.5/dist-packages/spyder/widgets/editor.py”, line 1236, in __setup_menu add_actions(self.menu, list(actions)+self.__get_split_actions()) File “/usr/local/lib/python3.5/dist-packages/spyder/utils/qthelpers.py”, line 309, in add_actions action = action.no_icon_action File “/usr/local/lib/python3.5/dist-packages/spyder/utils/qthelpers.py”, line 443, in getattribute attr = super(SpyderAction, self).getattribute(name) File “/usr/local/lib/python3.5/dist-packages/spyder/utils/qthelpers.py”, line 462, in no_icon_action return self._action_no_icon File “/usr/local/lib/python3.5/dist-packages/spyder/utils/qthelpers.py”, line 445, in getattribute if hasattr(attr, ‘call’) and name not in [‘triggered’, ‘toggled’, RuntimeError: wrapped C/C++ object of type SpyderAction has been deleted

Version and main components

  • Spyder Version: 3.2.0
  • Python Version: 3.5.2
  • Qt Versions: 4.8.7, PyQt4 (API v2) 4.11.4 on Linux

Dependencies

pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.2 (OK)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
andfoycommented, Jul 31, 2017

I’m glad to hear you can run Spyder once again! Can you give a test to the patch on PR #4869?

1reaction
andfoycommented, Jul 31, 2017

Yes! Finally I could reproduce it

Read more comments on GitHub >

github_iconTop Results From Across the Web

PI72841: IBM RATIONAL DEVELOPER FOR Z SYSTEMS (IDZ ...
Steps to reproduce: From the CARMA view select a COBOL program when prompted open it in Read Only mode. Select Window > Editor...
Read more >
DBeaver on Twitter: "@LiamCaffrey There are two main ...
There are two main workarounds for this issue: 1. You can split your editor horizontally or vertically and get two independent editors (Window...
Read more >
Split Screen mode in the Editor » MATLAB Community
You can split your Editor window into two sections, either vertically or horizontally, and then navigate independently in the file's two views.
Read more >
Split an editor window into 2 views of the same file - YouTube
With Code Composer Studio v6.1 and later you can split an editor view either vertically or horizontally so that you can have 2...
Read more >
VS Code Quick Tips | Remove split-screen | more - YouTube
VS Code Quick tips1. Command Pallete to change the settings and behavior of the IDE2. Using workspaces3. How to remove VS code split...
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