question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:69 (26 by maintainers)

github_iconTop GitHub Comments

40reactions
Reldeycommented, Aug 12, 2020

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.

30reactions
jbtulecommented, Oct 4, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Github desktop is showing an error? - Stack Overflow
... unable to read askpass response from 'C:\Users\Alca\AppData\Local\GitHubDesktop\app-0.8.0\resources\app\static\ask-pass-trampoline.bat' ...
Read more >
问题:ask-pass-trampoline.bat: No such file or directory fatal ...
使用idea上传gitee代码报错unable to read askpass response from 'C:\Users…\intellij-git-askpass.bat' failed to execute prompt script (exit ...
Read more >
Intermittent failure using Git: unable to read askpass
Sometimes when I try to pull or push with a git repository, it fails with an error message. Other times it works fine....
Read more >
$ git push -u origin main git@github.com: permission denied ...
When I try to push my commits or fetch origin on GitHub Desktop 2.5.5 on Windows 10 Home, it pops up with an...
Read more >
Sourcetree unable to read askpass response from jobs
Search for jobs related to Sourcetree unable to read askpass response from or hire on the world's largest freelancing marketplace with 22m+ jobs....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found