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

Plugins: installation of plugin might prompt user to enter git credentials #1712

Open
dcdenu4 opened this issue Dec 16, 2024 · 1 comment
Open
Milestone

Comments

@dcdenu4
Copy link
Member

dcdenu4 commented Dec 16, 2024

When working with a colleague to install plugins on their Windows machine, they said that they got a pop up prompt to enter git credentials. Looking at their logs I do see:

[10:47:12.015] [undefined] adding plugin at https://github.com/natcap/schistosomiasis.git.
[10:47:12.016] [undefined] git [
  'clone',
  '--depth',
  '1',
  '--no-checkout',
  'https://github.com/natcap/schistosomiasis.git.',
  'C:/Users/username/AppData/Local/Temp/natcap-invest-Kvp3U8'
]

[10:47:12.230] [undefined] Cloning into 'C:/Users/username/AppData/Local/Temp/natcap-invest-Kvp3U8'...

[10:47:18.261] [undefined] Logon failed, use ctrl+c to cancel basic credential prompt.

[10:47:18.781] [undefined] bash: /dev/tty: No such device or address

[10:47:18.785] [undefined] error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error

The installation process seemingly continues on just fine.

@dcdenu4 dcdenu4 changed the title Plugins: someone without configured might be prompted to enter git credentials Plugins: installation of plugin might prompt user to enter git credentials Dec 16, 2024
@dcdenu4 dcdenu4 added this to the plugins milestone Dec 16, 2024
@emlys
Copy link
Member

emlys commented Feb 18, 2025

I could not reproduce this on mac. I wonder if this might be resolved now that we're using git installed from conda-forge, and not whatever git is already on the user's system. @dcdenu4 let me know if you see this again on windows.

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

2 participants