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

Server/Virtual Environment Issue #15

Open
willrockout opened this issue Nov 26, 2020 · 7 comments
Open

Server/Virtual Environment Issue #15

willrockout opened this issue Nov 26, 2020 · 7 comments

Comments

@willrockout
Copy link

So I've run into a problem running the hca-util on our server inside a virtual environment. I'm able to add the credentials but as soon as I try to create, select, or list any uploading areas it just hangs. The server is running CentOS Linux, I'm using virtualenv version 15.1.0 and python 3.6.5.

@prabh-t
Copy link
Contributor

prabh-t commented Dec 9, 2020

Hi @willrockout, we're trying to reproduce the issue you're having but haven't been able to so far. Can you try removing the file .hca-util from your HOME and then try running the config command again: hca-util config <ACCESS> <SECRET>, or maybe just try in a new virtualenv again and post all steps here? thanks

@willrockout
Copy link
Author

Awesome that fixed the problem! Thanks, @prabh-t!

@willrockout
Copy link
Author

@prabh-t so the problem has reared its head again and nothing seems to help to get it to work. I created a new virtual env using the command virtualenv -p python3 hca-util-env then just pip installed hca-util and the config runs fine but when I try to list anything or create anything it just hangs. Also wanted to say I don't have a .hca-util file being created after running hca-util config.

@willrockout willrockout reopened this Dec 30, 2020
@lauraclarke
Copy link

@willrockout Prabhat isn't back from Christmas leave till Wednesday 6th

How urgent is this?

@willrockout
Copy link
Author

@lauraclarke not super urgent were just staging geo datasets

@prabh-t
Copy link
Contributor

prabh-t commented Jan 7, 2021

@willrockout no .hca-util suggests something is wrong. What was the output of running hca-util config? You can try to run the command again, it will overwrite the config which is fine, but you should have a .hca-util file created. I just tried in a new venv and it works for me, so I am not sure what is the issue with your installation. It may be to do with the python3 version. Can you check that the virtualenv is using python3.6+.

@willrockout
Copy link
Author

@prabh-t the output was credentials saved/ valid credentials for admin use. The weird thing is that it was working for a while then stopped. I'm running python 3.6.5

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

3 participants