Opening a new editor window results in an error
See original GitHub issueDescription
What steps will reproduce the problem?
Repros every time in --safe-mode
as well as normal. @ok97465 reported this on Gitter as well.
Perhaps we should include a simple regression test for this…
Traceback
File "C:\Users\C. A. M. Gerlach\Documents\dev\SpyderDev\spyder\spyder\plugins\editor\plugin.py", line 1289, in create_new_window
sort_files_alphabetically=oe_options['sort_files_alphabetically'])
File "C:\Users\C. A. M. Gerlach\Documents\dev\SpyderDev\spyder\spyder\plugins\editor\widgets\editor.py", line 2886, in __init__
sort_files_alphabetically)
File "C:\Users\C. A. M. Gerlach\Documents\dev\SpyderDev\spyder\spyder\plugins\editor\widgets\editor.py", line 2822, in __init__
unregister_editorstack_cb=self.unregister_editorstack)
File "C:\Users\C. A. M. Gerlach\Documents\dev\SpyderDev\spyder\spyder\plugins\editor\widgets\editor.py", line 2596, in __init__
self.register_editorstack_cb(self.editorstack)
File "C:\Users\C. A. M. Gerlach\Documents\dev\SpyderDev\spyder\spyder\plugins\editor\widgets\editor.py", line 2849, in register_editorstack
self.readwrite_status.readonly_changed)
AttributeError: 'ReadWriteStatus' object has no attribute 'readonly_changed'
Versions
- Spyder version: 4.0.0.dev0 719f56082
- Python version: 3.7.2
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Windows 8.1
Dependencies
pygments >=2.0 : 2.3.1 (OK)
qdarkstyle >=2.6.4: 2.6.5 (OK)
sphinx >=0.6.6 : 1.8.4 (OK)
pyls >=0.19.0 : 0.21.5 (OK)
nbconvert >=4.0 : 5.4.0 (OK)
pandas >=0.13.1 : 0.24.2 (OK)
numpy >=1.7 : 1.15.4 (OK)
sympy >=0.7.3 : 1.3 (OK)
cython >=0.21 : 0.29.4 (OK)
qtconsole >=4.2.0 : 4.4.3 (OK)
IPython >=4.0 : 7.2.0 (OK)
matplotlib >=2.0.0: 3.0.2 (OK)
pylint >=0.25 : 2.2.2 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Visual Studio Clicking Find Results Opens Code in Wrong ...
The problem is now when I click on one of the results, it opens in the same panel as the Find Results window...
Read more >An error is thrown when maximizing the Scene/Game view ...
1. Create a new project 2. Change the Layout in the Editor by moving and docking windows to different places 3. Close and...
Read more >Compiler log - clicking on an error opens up a new editor ...
The first tab test.sql is my "original" edit window. The new one was opened when I click on the error. This is an...
Read more >Double clicking on find results opens in wrong window
I have the find results window docked at the bottom of the screen. When I double click on a search result instead of...
Read more >Files opening in wrong window - MSDN - Microsoft
I have my screen set up in Visual Studio 2010 (C#) so that the main code editing Window is large, with he Solution...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep that was it. A leftover from a PR I did some weeks ago 😐
I think I know what the problem is.