Launching Spyder either via terminal or menu, opens the same version. In the KDE menu editor I see that the command for the Spyder shortcut is "spyder %F". Not sure what the %F does, haven't looked it up, but if I run that same command from a terminal, the code runs fine again.
In the advanced settings I checked "Run in terminal", but that did not seem to make a difference. Is there anything else I can try in this configuration window? What else is different between running something from the terminal and via the menu? Does it load a different environment perhaps? On 17 July 2015 at 17:29, Adrian Klaver <[email protected]> wrote: > On 07/17/2015 02:09 AM, SN1984jm wrote: > >> Thanks, I had no idea. I though such packages would be automatically >> checked for updates. I wonder what else is horribly out of date. >> > > Well that is how distribution releases work, they 'pin' packages at a > major version and only do bug fix/minor version updates. Spyder 2.2.x --> > 2.3 would be considered a major update. This is not necessarily a bad thing > as new is often buggy. To see what is the version for each release see here: > > https://launchpad.net/ubuntu/+source/spyder > > To allow for major updates Debian/Ubuntu have backports repos for bringing > newer packages from subsequent releases. So for 14.04 you can get 2.3.0 > from (K)Ubuntu 14.10. In all cases the actual updates minor or major depend > on someone actually doing the packaging. The time frame for that tends to > be inversely proportional to the size of the user base for the package. If > you want to stay more update then pip install and pip install --upgrade are > the way to go. > > >> I installed the newest Spyder version and still had the same problem. >> What does work though is opening Spyder from a terminal. >> >> Can anyone explain why there would be an OpenSSL version mismatch when >> running Spyder from the kde "start menu", while there is no issue when >> running it from a terminal? >> > > Do you have two versions of Spyder installed now? When you start from the > menu or terminal look in Help --> About Spyder. > > If you right click on the Start icon there is an Edit Applications item. > Click on it and find Spyder. On my machine it is under Development --> > Integrated Environment. If you click on the Spyder icon it will show how it > is launched in the right panel. > > > >> On Thursday, July 16, 2015 at 9:47:26 PM UTC+2, Adrian Klaver wrote: >> >> 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] <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 a topic in the > Google Groups "spyder" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/spyderlib/jG4l5A19BkI/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
