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

Add support for Spyder to run on WSL #13034

Closed
10 tasks
angrosamund opened this issue Jun 16, 2020 · 2 comments
Closed
10 tasks

Add support for Spyder to run on WSL #13034

angrosamund opened this issue Jun 16, 2020 · 2 comments

Comments

@angrosamund
Copy link

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

I tried launching Spyder from a fresh Anaconda install, but it crashed almost immediately upon launching. I'm not too sure how to interpret the error message I got, and how to solve it. Would appreciate some advice on this, thank you!

What steps reproduce the problem?

  1. installed X11 for WSL
  2. append the following to .bashrc file
    DISPLAY=:0
    export DISPLAY
    LIBGL_ALWAYS_INDIRECT=1
    Export LIBGL_ALWAYS_INDIRECT
  3. installed Anaconda 2020.02 on Ubuntu 20.04 LTS
  4. launch spyder

What is the expected output? What do you see instead?

I see the spyder start-up screen that says 'initialising', but then it crashes almost soon after and I see the following error message.

Paste Traceback/Error Below (if applicable)

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-apeiyin'
[10430:10448:0616/122439.101045:FATAL:udev_linux.cc(29)] Check failed: 0 == ret (0 vs. -22)
#0 0x7ff83d3860be
#1 0x7ff83d3986c2
#2 0x7ff83ce44c18
#3 0x7ff83dc5654b
#4 0x7ff83d3fd9e3
#5 0x7ff83d3a1090
#6 0x7ff83d3a26e8
#7 0x7ff83d3a2a7b
#8 0x7ff83d3a4132
#9 0x7ff83d3a0438
#10 0x7ff83d3bce9b
#11 0x7ff83ceb70dc
#12 0x7ff83ceb72de
#13 0x7ff83d3d5678
#14 0x7ff83d3d16db
#15 0x7ff856f16609 start_thread
#16 0x7ff856e32103 clone

PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7
  • Qt version: 5.9.7
  • PyQt version:
  • Operating System name/version: Windows 10 (but using Ubuntu 20.04 LTS for WSL)

Dependencies

PASTE DEPENDENCIES HERE
@goanpeca
Copy link
Member

goanpeca commented Jun 16, 2020

Hi @angrosamund, thanks for the report.

We currently do not provide testing on WSL on Linux so things are most likely not going to work in the setup you describe.

@steff456 steff456 changed the title Error launching Spyder in Ubuntu 20.04 for WSL Add support for Spyder to run on WSL Jun 16, 2020
@ccordoba12
Copy link
Member

Duplicate of #13023.

@angrosamund, please do not open new issues about the same problem.

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

No branches or pull requests

4 participants