On 07/16/2015 10:37 AM, SN1984jm wrote:
I'm sorry, I forgot about that crucial information.
It is Spyder version 2.2.5. I use Python 2.7 and ipython 1.2.1.
All of these were installed using apt-get install on Kubuntu 14.04.2 LTS.
Well 2.2.5 is an ancient version. I would apt-get remove Spyder and then
pip install spyder to get up to the 2.3.5.x series.
When I run Spyder I do it via the Kubuntu "start menu", but I run
ipython from the terminal.
I'll try and run Spyder from a terminal and see if that makes a difference.
I still don't know why that could make a difference though.
On Thursday, July 16, 2015 at 5:02:29 PM UTC+2, Adrian Klaver wrote:
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] <javascript:>
> <mailto:[email protected] <javascript:>>.
> To post to this group, send email to [email protected]
<javascript:>
> <mailto:[email protected] <javascript:>>.
> Visit this group at http://groups.google.com/group/spyderlib.
> For more options, visit https://groups.google.com/d/optout.
--
Adrian Klaver
[email protected] <javascript:>
--
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.