Created attachment 800929 [details] spyder project file that makes spyder crash every time Description of problem: If I set up a workspace, create a project, close spyder and then open it again, it crashes every time with EOFError. Version-Release number of selected component (if applicable): spyder-2.2.2-1.fc19.noarch How reproducible: every time Steps to Reproduce: 1. Install spyder, open it 2. set up workspace, project 3. close it and open again Actual results: $ spyder loaded the Generic plugin Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2106, in main mainwindow = run_spyder(app, options, args) File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2001, in run_spyder main.setup() File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 779, in setup self.projectexplorer = ProjectExplorer(self) File "/usr/lib/python2.7/site-packages/spyderlib/plugins/projectexplorer.py", line 36, in __init__ self.load_config() File "/usr/lib/python2.7/site-packages/spyderlib/plugins/projectexplorer.py", line 136, in load_config self.set_workspace(self.get_option('workspace', None)) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 1265, in set_workspace self.treewidget.set_workspace(path) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 669, in set_workspace self.workspace.set_root_path(root_path) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 277, in set_root_path self.load() File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 306, in load setattr(self, attr, data[attr]) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 256, in _set_project_paths self.add_project(root_path) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 381, in add_project project.set_root_path(root_path) File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 85, in set_root_path self.load() File "/usr/lib/python2.7/site-packages/spyderlib/widgets/projectexplorer.py", line 124, in load data = cPickle.loads(fdesc.read()) EOFError Expected results: spyder running without problems Additional information: If I remove the .spyderworkspace and .spyderproject and run spyder again, it runs without problems. But if I repeat mentioned steps to reproduce it crashes again.
Created attachment 800930 [details] Proposed patch
upstream bug http://code.google.com/p/spyderlib/issues/detail?id=1570 BTW, there is also a new version 2.2.4 available...
Hi Tomas, I can confirm that the patch solves the problem. Good work Petr
spyder-2.2.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/spyder-2.2.4-1.fc20
spyder-2.2.4-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/spyder-2.2.4-1.fc19
spyder-2.2.4-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/spyder-2.2.4-1.fc18
Package spyder-2.2.4-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing spyder-2.2.4-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-17738/spyder-2.2.4-1.fc19 then log in and leave karma (feedback).
spyder-2.2.4-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
spyder-2.2.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
spyder-2.2.4-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.