Bug 1010568

Summary: Spyder fails to start and ends with EOFError
Product: [Fedora] Fedora Reporter: Tomáš Hozza <thozza>
Component: spyderAssignee: Tomáš Hozza <thozza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: phracek, rnovacek
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spyder-2.2.4-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 00:39:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
spyder project file that makes spyder crash every time
none
Proposed patch none

Description Tomáš Hozza 2013-09-21 14:39:00 UTC
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.

Comment 1 Tomáš Hozza 2013-09-21 14:48:49 UTC
Created attachment 800930 [details]
Proposed patch

Comment 2 Tomáš Hozza 2013-09-21 14:49:47 UTC
upstream bug http://code.google.com/p/spyderlib/issues/detail?id=1570

BTW, there is also a new version 2.2.4 available...

Comment 3 Petr Hracek 2013-09-23 14:33:44 UTC
Hi Tomas,

I can confirm that the patch solves the problem.

Good work
Petr

Comment 4 Fedora Update System 2013-09-25 20:59:04 UTC
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

Comment 5 Fedora Update System 2013-09-25 21:00:31 UTC
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

Comment 6 Fedora Update System 2013-09-25 21:01:46 UTC
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

Comment 7 Fedora Update System 2013-09-27 00:46:47 UTC
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).

Comment 8 Fedora Update System 2013-09-30 00:39:15 UTC
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.

Comment 9 Fedora Update System 2013-10-02 06:32:25 UTC
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.

Comment 10 Fedora Update System 2013-10-06 01:30:01 UTC
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.