These are chat archives for spyder-ide/public

10th
Feb 2019
VaziDavid
@VaziDavid
Feb 10 08:10
many thanks @CAM-Gerlach. Checking all that.
VaziDavid
@VaziDavid
Feb 10 09:17
Dear @CAM-Gerlach. I followed your guidelines which were perfect. Cufflinks is now installed properly. Merci my dear Friend
Victor Sonck
@thepycoder
Feb 10 14:38
Hi all, did anyone get the remote kernel setting working over ssh with keyfile? When I do it, spyder just freezes...
CAM Gerlach
@CAM-Gerlach
Feb 10 16:27
@thepycoder I assume you're using Spyder 3.3.2? A few bugs related to this were fixed in earlier versions. Does it work with username/password authentication? With other SSH servers? At what exact point does it freeze? What OS and Python version are you running on? Can you check that paramiko (conda list paramiko) is installed in your Spyder and kernel environment? Thanks.
Victor Sonck
@thepycoder
Feb 10 17:48
Hi @CAM-Gerlach , sorry for the lack of info. I'm running the 4.0.0.dev0 build from github on xubuntu 18.04 LTS. I haven't tried with username/password (work with google cloud and they don't allow that). But I'll test it more thoroughly , later this week and file an issue with more details!
CAM Gerlach
@CAM-Gerlach
Feb 10 17:52
Okay, thanks @thepycoder ! Can you check if the problem is also present in our stable branch (3.3.2)? Thanks.
Victor Sonck
@thepycoder
Feb 10 18:04
Yup, same thing
Spyder 3.3.2 on same system
GCP vm running the command python3 -m spyder_kernels.console, having copied over the correct json and supplied the connection info in the right format (login@host-ip:port) and selected a keyfile
CAM Gerlach
@CAM-Gerlach
Feb 10 18:07
Okay, thanks. At what exact point does it freeze? Do you have to kill the Spyder process and relaunch it or does it recover? Are you able to try a different destination server (maybe try a loopback to your own machine to test)?
Victor Sonck
@thepycoder
Feb 10 18:08
The exact moment I press connect, the dialog box dissapears and the rest of the UI is frozen. It does not recover, I have to kill the process each time. I'm setting up a local system now, to rule out the possibility of it being due to GCP firewalls
I'm using port 22 as it's ssh, but I'm not sure if that's correct? Also, after running python3 -m spyder_kernels.console I didn't do anything else. Do I have to bind the port of the kernel to 22 in any way?
stonebig
@stonebig
Feb 10 18:48
small question , with PyQt5-5.12-5.12.1, does Spyder need the "PyQtWebEngine" package ?
CAM Gerlach
@CAM-Gerlach
Feb 10 19:03

to rule out the possibility of it being due to GCP firewalls

@thepycoder Even if so, Spyder shouldn't hang completely if something goes wrong; just give an error message. When you're testing, make sure to run the bootstrap.py script with the --debug flag to see if it prints any errors that we can catch and pass/report.

I'm using port 22 as it's ssh, but I'm not sure if that's correct?

It should be; if not that's something on GCP's side.

Do I have to bind the port of the kernel to 22 in any way?

You shouldn't need to, but you could try it.

small question , with PyQt5-5.12-5.12.1, does Spyder need the "PyQtWebEngine" package ?

@ccordoba12 ?

Carlos Cordoba
@ccordoba12
Feb 10 21:41
@stonebig, yes, it does
stonebig
@stonebig
Feb 10 21:44
I don't succeed to start Spyder-3.3.3 with latest PyQt5-5.12-5.12.1 and PyQtWebEngine. don't I miss a patch in QtPy ?
Carlos Cordoba
@ccordoba12
Feb 10 21:44
I can start it just fine on Linux
CAM Gerlach
@CAM-Gerlach
Feb 10 21:48
@stonebig @ccordoba12 Might it have to do with this error in our pip builds that pull in PyQt 5.12?
Carlos Cordoba
@ccordoba12
Feb 10 21:49
That error is solved by installing PyQtWebEngine
stonebig
@stonebig
Feb 10 21:49
well, I have an error, still using pyqt-5.9 . let me retry
Carlos Cordoba
@ccordoba12
Feb 10 21:51
What's the error?
stonebig
@stonebig
Feb 10 21:52
doesn't show anything. where may I have a log file ?
Carlos Cordoba
@ccordoba12
Feb 10 21:54
I'm sure this is a problem with PyQt5, not Spyder. You should wait until they release a bugfix or use 5.11 instead
stonebig
@stonebig
Feb 10 21:57
hum, will do further experiments. qtconsole and pyzo do work, though.
Carlos Cordoba
@ccordoba12
Feb 10 21:58
Sure, but they are way less complex packages than Spyder
stonebig
@stonebig
Feb 10 21:59
oh yes. was trying to corner the problem.