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

verdi quicksetup does not work on WSL #4748

Closed
2 tasks done
zhubonan opened this issue Feb 12, 2021 · 1 comment
Closed
2 tasks done

verdi quicksetup does not work on WSL #4748

zhubonan opened this issue Feb 12, 2021 · 1 comment
Labels

Comments

@zhubonan
Copy link
Contributor

Describe the bug

verdi quicksetup does not work on WSL due to DEAFULT_TRY_SUDO being False by default.
It might be difficult to detect WSL as the platform.versions function does not return a string containing Ubuntu, which
is used as an option to try the sudo commands.

It would be useful to have an option in verdi quicksetup to manually let the program to try sudo regardless.

Steps to reproduce

Steps to reproduce the behavior:

  1. setup a WSL1/WSL2 environment
  2. run verdi quicksetup

Expected behavior

Quick profile setup can be performed

Your environment

  • Operating system: Ubuntu 18.04 on WSL1
  • Python version [e.g. 3.7.1]: 3.7
  • aiida-core version [e.g. 1.2.1]: 1.5.2

Other relevant software versions, e.g. Postgres & RabbitMQ

Postgres10

@ltalirz
Copy link
Member

ltalirz commented Mar 11, 2021

This was fixed in aiidateam/pgsu#25 and is released as part of pgsu v0.2.0

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

No branches or pull requests

2 participants