Windows Subsystem for Linux error-- cannot communicate with local orca server process even though server process seems to be running
See original GitHub issueHello all,
I am trying to write an image to .svg format using a jupyterlab setup on Windows Subsystem for Linux (WSL). After installing gtk library, installing Xming, configuring env variable DISPLAY=:0, and disabling chrome sandbox, I am still running into issues. Right now, I’m getting the following error output in my python terminal:
For some reason plotly.py was unable to communicate with the
local orca server process, even though the server process seems to be running.
Please review the process and connection information below:
orca status
-----------
state: running
executable: /usr/bin/xvfb-run --auto-servernum --server-args -screen 0 640x480x24 +extension RANDR +extension GLX /usr/bin/orca
version: 1.2.1
port: 60427
pid: 29156
command: ['/usr/bin/xvfb-run', '--auto-servernum', '--server-args', '-screen 0 640x480x24 +extension RANDR +extension GLX', '/usr/bin/orca', 'serve', '-p', '60427', '--plotly', '/home/tyler/.local/share/virtualenvs/thesis-WAlznkOk/lib/python3.7/site-packages/plotly/package_data/plotly.min.js', '--graph-only', '--mathjax', 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js']
Any pieces of advice? Other than examining the server connection, which i’m not entirely sure what is meant by that, I’m wondering if there are any other WSL-compatibility shortcuts i might be able to take. It would be great if this library could include additional documentation/support for WSL
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Provides detailed information about common errors and issues people run into while running Linux on the Windows Subsystem for Linux.
Read more >Solving common issues — ORCA tutorials 5.0 documentation
A quite common initial source of error when trying to run ORCA is that your PATH variables are not set. The PATH and...
Read more >Cannot communicate with server - snapd - snapcraft.io
I'm running Ubuntu on Windows 10. Yes, I'm using WSL. Ok, I uderstood what is the problem (I think).
Read more >Cisco AnyConnect Secure Mobility Client Administrator Guide ...
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT. LIMITATION, LOST PROFITS ......
Read more >Cylance Endpoint Security Setup Guide - BlackBerry Docs
CylancePROTECT Desktop cannot process files secured by user data ... The CylanceOPTICS agent will try to communicate first as the Local System, then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just tried here and can confirm your procedure works @raulf2012!
Some aditional missing shared libraries had to be installed:
sudo apt-get install libgtk2.0-0
sudo apt-get install libnss3-dev
Thanks for sharing!
Wow I can’t believe it, I got it to work
My steps:
conda install -c conda-forge nodejs
npm install -g electron@1.8.4 orca
libgconf-2.so.4
librarysudo apt-get install libgconf-2-4
After these steps, attempting to perform a
fig.write_image("figure.pdf")
worked properly!@schlich I’m a bit puzzled by your initial comments on this thread:
I didn’t really have to mess around with any of this, I do already have Xming setup properly but the gtk library and chrome sandbox bits are unfamiliar to me
If anybody else can try to confirm the procedure I outlined above and let everybody know if it works that would be great