question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder v3.0.0b3 gives QOpenGLShader errors during startup

See original GitHub issue

First of all, thanks a lot for the fast fixes regarding the (Py)Qt5 problems. I really appreciate it.

What steps will reproduce the problem?

  1. Initiate spyder from the terminal
  2. Splashscreen counts the tasks and disappear
  3. A proper titlebar and a window is setup however inside is completely empty (black)

What is the expected output? What do you see instead? Instead of the window panes nothing appears and the terminal repeats the following

""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""

Versions and main components

  • Spyder Version: 3.0.0b3
  • Python Version: 3.5.1
  • Operating system: Linux Mint 17
  • PyQt5 : 5.6 (via PyQt5.QtCore.PYQT_VERSION_STR)
  • QT5 : 5.5.1 (via PyQt5.QtCore.QT_VERSION_STR)

I also have Python 3.4 installed and I’m not sure which one is picked up by Spyder but python3 maps to 3.4.

Dependencies

N/A

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:40 (3 by maintainers)

github_iconTop GitHub Comments

42reactions
xxblxcommented, Oct 10, 2016

I have same issue. Fedora 24, x86_64, Nvidia GTX 550 Ti with driver NVIDIA 367.44

Instructions by @ilayn doesn’t work for me. But I found another solution.

Adding

from OpenGL import GL

into site-packages/spyder/app/start.py solves problem. Now Spyder starts fine. But it creates +1 dependency - pyopengl.

8reactions
billwhiteleycommented, Apr 25, 2018

just installing PyOpenGL worked for me

conda install pyopengl

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top issues for spyder-ide/spyder GitHub project - Bleep Coder
Spyder crashes with segmentation fault on startup in Anaconda 4.5.0 ... Spyder v3.0.0b3 gives QOpenGLShader errors during startup. Linux Bug. ilayn picture ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found