Skip to content
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

Login to Pavlovia fails in PsychoPy3 on Ubuntu 16.04 (and Fedora, and Linux Mint) with conda #2441

Closed
ghost opened this issue May 7, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented May 7, 2019

Hi All,
I have installed PsychoPy using conda on different machines, following the instructions on the official website. On one machine I have Debian 9, and there were no problems; on another one I have Ubuntu 18.04 and also here no problem...on two laptops (which unironically are those that I use at work, so the one on which I really need PsychoPy up and running) I have Ubuntu 16.04, and here whenever I try to login to Pavlovia from within PsychoPy I get this error

Unable to load page
Problem occurred while loading the URL https://gitlab.pavlovia.org/oauth/authorize?client_id=4bb79f0356a566cd7b49e3130c714d9140f1d3de4ff27c7583fb34fbfac604e0&redirect_uri=https://gitlab.pavlovia.org/&response_type=token&state=a28f6ed5-8003-41b3-95e0-84ea38ac5d30
TLS/SSL support not available; install glib-networking

Of course glib-networking is installed; and the url can be resolved in a browser or in the terminal. I have tried to update this or that package (e.g., downgrade PsychoPy to any version other than 3.0.1, or other packages such as openssl, python, certifi etc) but nothing seems to solve this problem.

Anyone has any suggestion on how to solve this? I have seen in previous Issues that this problem has also been reported in Fedora and Linux Mint, but as of now, no solution has been proposed....thanks!

@ghost
Copy link
Author

ghost commented May 7, 2019

Sorted! What happens is that libgio in conda is broken with regards to TLS/SSL support. Just delete the lib and symlink the ubuntu glib-networking lib to conda...in my case that looks like:

rm ~/miniconda3/envs/psypy3/lib/libgio*
ln -s /usr/lib/x86_64-linux-gnu/libgio* ~/miniconda3/envs/psypy3/lib/

and finally you'll be able to login to pavlovia from within psychopy. I bet that should work on Linux Mint or Fedora....hope it helps!
I hope conda devs will fix this in future releases...I'll open a bug report with them if someone hasn't yet.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants