On 07/16/2015 07:55 AM, SN1984jm wrote:
I seem to have run into a problem when using Spyder to execute a gsissh
command (through popen()).
The command is like the following:
gsissh -C remote.stuff 'ls /home/username/*.dat'
I have run the same script from ipython in the terminal and even from an
ipython notebook in my firefox browser. In both cases it works just fine.
However, when I run the same code from Spyder, the stdout is empty and
the following is printed to stderr:
OpenSSL version mismatch. Built against 1000005f, you have 1000106f
The way I call my command in python:
|
fromsubprocess importPopen,PIPE
p =Popen(command,stdout=PIPE,stderr=PIPE,shell=True)
printp.stderr.readlines()
||
|printp.stdout.readlines()|
|
Does anyone know what is causing this and perhaps how to fix it or
circumvent it?
What Spyder version?
What OS and version?
How was Spyder installed, in particular in relation to IPython?
Best guess is you are running Spyder in some sort of isolated
environment and calling the command in another location, hence the
version mismatch. Without more information it is just guess.
Cheers
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
Adrian Klaver
[email protected]
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.