Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after saving layouts #15129

Closed
jonaswagner2826 opened this issue Apr 6, 2021 · 5 comments
Closed

Error after saving layouts #15129

jonaswagner2826 opened this issue Apr 6, 2021 · 5 comments
Assignees
Milestone

Comments

@jonaswagner2826
Copy link

Description

What steps will reproduce the problem?

idk... but mabye set to matlab layout and move around some windows... then saved layout... and it failed

Traceback

Traceback (most recent call last):
  File "C:\Users\Jonas\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\layout\container.py", line 131, in <lambda>
    triggered=lambda: self.show_save_layout(),
  File "C:\Users\Jonas\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\layout\container.py", line 307, in show_save_layout
    self.save_current_window_settings('layout_{}/'.format(index),
AttributeError: 'LayoutContainer' object has no attribute 'save_current_window_settings'

Versions

  • Spyder version: 5.0.0
  • Python version: 3.7.9
  • Qt version: 5.12.10
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  1.6.0 (OK)
cookiecutter >=1.6.0          :  1.7.2 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree                  :  None (OK)
IPython >=7.6.0               :  7.22.0 (OK)
jedi =0.17.2                  :  0.17.2 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  23.0.1 (OK)
nbconvert >=4.0               :  6.0.7 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.7.2 (OK)
parso =0.7.0                  :  0.7.0 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.8.0 (OK)
pygments >=2.0                :  2.8.1 (OK)
pylint >=1.0                  :  2.7.4 (OK)
pyls >=0.36.2;<1.0.0          :  0.36.2 (OK)
pyls_black >=0.4.6            :  0.4.6 (OK)
pyls_spyder >=0.3.2           :  0.3.2 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=0.5.7             :  1.0.2 (OK)
qtconsole >=5.0.3             :  5.0.3 (OK)
qtpy >=1.5.0                  :  1.9.0 (OK)
rtree >=0.8.3                 :  0.9.4 (OK)
setuptools >=39.0.0           :  54.2.0 (OK)
sphinx >=0.6.6                :  3.5.3 (OK)
spyder_kernels >=2.0.1,<2.1.0 :  2.0.1 (NOK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog                      :  1.0.2 (OK)
zmq >=17                      :  22.0.3 (OK)

# Optional:
cython >=0.21                 :  0.29.22 (OK)
matplotlib >=2.0.0            :  3.4.1 (OK)
numpy >=1.7                   :  1.19.3 (OK)
pandas >=1.1.1                :  1.2.3 (OK)
scipy >=0.17.0                :  1.6.2 (OK)
sympy >=0.7.3                 :  1.7.1 (OK)
@ccordoba12
Copy link
Member

Hey @jonaswagner2826, thanks for reporting.

@dalthviz, please take a look at this one to see if you can reproduce it.

@jonaswagner2826
Copy link
Author

jonaswagner2826 commented Apr 6, 2021 via email

@ccordoba12
Copy link
Member

It's ok @jonaswagner2826, and thanks for taking the time reporting the problem you saw above. @dalthviz will try to reproduce it with the description you give us above. If that's not possible, he'll close this issue.

@dalthviz
Copy link
Member

dalthviz commented Apr 6, 2021

Hi @jonaswagner2826 @ccordoba12 I was able to reproduce this. Will do a fix!

@ccordoba12 ccordoba12 changed the title error after changing windows Error after changing layouts Apr 6, 2021
@ccordoba12 ccordoba12 changed the title Error after changing layouts Error after saving layouts Apr 6, 2021
@ccordoba12 ccordoba12 added this to the v5.0.1 milestone Apr 6, 2021
@ccordoba12
Copy link
Member

Great! Thanks for your help @dalthviz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants