desktop: Unable to read askpass response from ask-pass-trampoline.bat

Description

Attempting to push commits to my GitHub using the Desktop client results in this message:

The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\Alca\AppData\Local\GitHubDesktop\app-0.8.0\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled

No changes occur.

Similar issue as #1916.

Version

GitHub Desktop version: 0.8.0

OS version: Windows 7 (6.1.7601 SP1)

Steps to Reproduce

  1. Make a commit.
  2. Push the commit.
  3. Error message pops up.

image

Expected behavior: The commit should be pushed.

Actual behavior: The aforementioned error message pops up.

Reproduces how often: 100% of the time.

Logs

2017-09-06T06:15:40.333Z - error: [ui] `git -c credential.helper= push origin master:master --progress` exited with an unexpected code: 128.
The system cannot find the path specified.
error: unable to read askpass response from 'C:\Users\Alca\AppData\Local\GitHubDesktop\app-0.8.0\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Additional Information

The file at that location most definitely does exist. It has persisted through multiple versions of Desktop.

I’ve tried commenting out core.askpass=git-gui--askpass from my git config.

Issue created by request of Stacey Burns @staceb

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 70 (26 by maintainers)

Most upvoted comments

Just wanted to comment that a previous installation of Miniconda had created an AutoRun key at HKEY_CURRENT_USER\Software\Microsoft\Command Processor
(Another user has stated Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor was where it was located for them. It may be different depending on how Miniconda was installed. Deleting the key fixed this problem for me.

For myself. I’ve solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun

Just wanted to comment that a previous installation of Miniconda had created a AutoRun key at HKEY_CURRENT_USER\Software\Microsoft\Command Processor\

Deleting the key fixed this problem for me.

Resolved this issue for me. Thanks Reldey!

Anyone unable to find “Command Processor” tab under HKEY_CURRENT_USER\Software\Microsoft?

Anyone unable to find “Command Processor” tab under HKEY_CURRENT_USER\Software\Microsoft?

I was also unable to find that key. But i found that in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor . It was there maybe because I installed it conda for all users and not just for me. And after deleting that autorun key my issue was solved.

Just wanted to comment that a previous installation of Miniconda had created a AutoRun key at HKEY_CURRENT_USER\Software\Microsoft\Command Processor\

Deleting the key fixed this problem for me.

Thank you so much ! I resolved my problem true

I am new to GitHub. I just created a private sandbox repository and was not able to clone it with GitHub Desktop 1.0.13: error: unable to read askpass response from ‘C:\Users.…\ask-pass-trampoline.bat’ fatal: could not read Username for ‘https://github.com’: terminal prompts disabled Just for testing I create a public repository, and tried the same steps. That worked just fine. How do I make it work for a private repository?

@AlcaDesign the whole log file would be helpful - I’m not even sure what version you’re running currently

For myself. I’ve solved it, it was not github desktop. Another program had added something stupid to the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\autorun

Thanks, I just removed the Autorun entry that was created by Conda and it is working correctly now

Just wanted to comment that a previous installation of Miniconda had created a AutoRun key at HKEY_CURRENT_USER\Software\Microsoft\Command Processor\

Deleting the key fixed this problem for me.

I was having the same issue and this solved it. Thanks 👍

@shiftkey I’m getting on fine with a combination of Desktop and Atom for my git stuff. I’ve been meaning to start with a new Windows install on a fresh disk at some point. The problem for me will probably disappear at that point.

@AlcaDesign ok, so it’s not that. Thanks for following up.

Hey @AlcaDesign,

I don’t know what could cause that error but I figure we should start by eliminating some things and take it from there.

Could you please open a command prompt and run set PATH and copy the output here?

Do you have any anti-virus software running on your machine, and if so, could you temporarily disable it and try again?

Have you ever been able to use any older versions of GitHub Desktop to push?