spyder: Unable to save workspace on Linux

Problem Description

Unable to save workspace screenshot from 2018-05-24 17-15-10

What steps will reproduce the problem?

Just create a python list, and try to save using save data icon

Package Versions

  • Spyder version: 3.2.8
  • Python version: 3.6.3
  • Qt version: 5.6.2
  • PyQt5 version: 5.6
  • Operating system: Linux 4.13.0-43-generic

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.13.3 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
sympy >=0.7.3    :  1.0 (OK)
cython >=0.21    :  0.25.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  5.3.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 28 (20 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @bcolsen, Thank you for such a detailed description of potential fixes for the bug. I think I will start exploring the options 2 and 3 you mentioned and I will let you know how it goes. Thanks again.

Glad to hear it! Sometimes the simplest solutions are the easiest to miss; I know that all too well myself.

@CAM-Gerlach Very thnx. You saved my lot of time. Otherwise i was saving all variable using pickle. I am wondering, why this simple solution i didn’t try.

@hiteshnitetc As I mentioned,

if [you] manually add it to the filename in the save file dialog, (test_data.spydata) then everything saves and loads perfectly.

so just type .spydata after the filename (whatever you want to name it; I used test_data above) when saving and that’ll fix it for now. We’ll have a permanent fix in hopefully in the next version; its a very easy solution, I just need to get to it.