-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Orca CLI doesn't work with Python subprocess.Popen #95
Comments
Thanks for the report. Nothing appears suspicious. I ran from subprocess import call
import json
fig = {"data": [{"y": [1,2,1]}]}
call(['orca', 'graph', json.dumps(fig)]) as in the README instructions again in Python3.5 and things work fine. Maybe someone more familiar with python's subprocesses could help us out? |
@etpinard When I try to run your code piece, I get the
Well, then I get 0. |
If that |
Where does the image file should be created? |
in the same directory as where you're running your script. |
Yup, your code works. Thanks! But still the above code fails. |
I can confirm the above too. Not using the shell argument works, and file will save to the expected output. |
Well, I've just tried to create an image by using orca within the python api. However this code doesn't produce any image:
It returns: done with code 1 in 2.59 ms - failed or incomplete task(s)
The text was updated successfully, but these errors were encountered: