plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
294 stars 40 forks source link

orca leaves running processes after shutdown #255

Closed ma1ro closed 4 years ago

ma1ro commented 4 years ago

Ubuntu 18.04

from plotly.io import orca
...
    orca.config.executable = CFG['orca']['executable'].value
    orca.ensure_server()
    orca.shutdown_server()
ps -ef | grep orca
rv+ 25715     1  7 09:18 ?        00:00:00 ...virtualenv/bin/orca-1.2.1-x86_64.AppImage --help
rv+ 25737     1  8 09:18 ?        00:00:00 ...virtualenv/bin/orca-1.2.1-x86_64.AppImage --version
rv+ 25759     1  0 09:18 ?        00:00:00 ...virtualenv/bin/orca-1.2.1-x86_64.AppImage serve -p 34427 --plotly ...virtualenv/lib/python3.6/site-packages/plotly/package_data/plotly.min.js --graph-only --mathjax https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js

(paths truncated)

It also leaves processes when invoking from command line:

~/d/t/py> orca-1.2.1-x86_64.AppImage --version
1.2.1
~/d/t/py> ps -ef | grep orca
rv+ 26245     1 11 09:22 ?        00:00:00 orca-1.2.1-x86_64.AppImage --version
ma1ro commented 4 years ago

I don't know what it was but I cannot reproduce it anymore.