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

Cannot get past splash screen #5416

Closed
mwhaap opened this issue Oct 7, 2017 · 8 comments
Closed

Cannot get past splash screen #5416

mwhaap opened this issue Oct 7, 2017 · 8 comments
Assignees
Labels
Milestone

Comments

@mwhaap
Copy link

mwhaap commented Oct 7, 2017

Description of your problem

What steps will reproduce the problem?

  1. When starting Spyder the splash screen will pop up and make variable amounts of progress then close but the application itself doesn't open.

  2. If I try to open Spyder again I get the "Spyder crashed during last session." popup warning.

  3. I then reset to defaults by running Spyder with the command line option 'spyder --reset

  4. Thee splash screen image pops up for a sec disappears and then nothing happens

  5. I try to open Spyder again and end up at step 1 again.

What is the expected output? What do you see instead?
The expected outcome is for the main window to load instead I just get the splash screen to pop up for a minute.

Please provide any additional information below

If i try running spyder again using the command prompt 'spyder --show-console'
I get the following error
AttributeError: 'QHeaderView' object has no attribute 'setSectionsClickable'

I have tried restarting my desktop and I have tried uninstalling and reinstalling spydering using the anaconda prompt 'conda uinstall spyder' and 'conda install spyder' to no avail

The last time the main window was open it crashed with a kernel error in the console as soon as it opened

Versions and main components

  • Spyder Version: 3.2.3
  • Python Version: 2.7.12
  • Qt Version: 4.8.7
  • PyQt Version: 4.11.4
  • Operating system: Windows 10

Dependencies

Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

@jnsebgosselin
Copy link
Member

jnsebgosselin commented Oct 7, 2017

@mwhaap Thank you very much for the well written and complete bug report.

@andfoy I think the error originates in the find in files module here. The setClickable method in QHeaderView has been replaced in Qt4 by setSectionsClickable in Qt5.

So something is not working as expected in his qtpy to patch this in qheaderview. Maybe he is using a version of qtpy that is too old?

@jnsebgosselin
Copy link
Member

jnsebgosselin commented Oct 7, 2017

Sorry for all that noise 🙁 , I've kind of understood too late this was more of a dependency issue than a bug.

@jnsebgosselin
Copy link
Member

@ccordoba12 I think we need to increase the version of qtpy in the requirements from 1.1.0 to at least 1.2.0 where a patch was introduced for the QHeaderView class in qtpy.

@mwhaap
Copy link
Author

mwhaap commented Oct 7, 2017

I tried switching from pyqt4 to pyqt5 and it fixed the problem, however I need to use pyqt4 instead of 5 for compatibility with libraries such as Traits UI. Going back to Spyder version 3.1.0 and it worked so somthing thats been added to spyder since then is the source of the problem when running qt4

@ccordoba12 ccordoba12 added this to the v3.2.5 milestone Oct 7, 2017
@ccordoba12
Copy link
Member

@mwhaap, please update qtpy to fix this problem, as @jnsebgosselin suggested.

@mwhaap
Copy link
Author

mwhaap commented Oct 7, 2017

Ok thanks for the quick help

@mwhaap mwhaap closed this as completed Oct 7, 2017
@mwhaap mwhaap reopened this Oct 7, 2017
@jnsebgosselin
Copy link
Member

jnsebgosselin commented Oct 7, 2017

Going back to Spyder version 3.1.0 and it worked so somthing thats been added to spyder since then is the source of the problem when running qt4

@mwhaap You are right, this bug was introduced in version 3.2.0 in this commit.

Updating your qtpy version to at least 1.2.0 should solve the issue.

@ccordoba12 ccordoba12 modified the milestones: v3.2.5, v3.2.4 Oct 9, 2017
@ccordoba12
Copy link
Member

@dalthviz, please work on this one. We need to update our qtpy requirement in setup.py, README, docs and our conda recipe.

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

No branches or pull requests

4 participants