-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Unable to read askpass response from ask-pass-trampoline.bat #2623
Comments
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 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? |
Path
Formatted:
I went through and removed paths that didn't exist any longer from the path. Anti-virus?Nope Old Version of GitHub Desktop?Yes, before I switched to the "beta" pushing worked. |
This also started happening to me last week. I just used the command prompt to get around it, but now it's getting annoying, I've been using GitHub Desktop for months without problems, I don't know if 0.8.0 started it, since updates happen so transparently. But 0.8.0 what I was running when I noticed the problem, and I've also manually downloaded and reinstalled with 0.8.2 and still have the issue. GitHub Desktop version: 0.8.0/0.8.2 Log:
|
I have some fresh theories on this, mostly due to this clue from the malformed characters from a more recent report:
The error message desktop/app/static/win32/ask-pass-trampoline.bat Lines 1 to 9 in 688303b
This feels a lot like #2624 but in a different location. |
hello i have tried to clone into C:\Dev but it didn't work either , so sure to what degree its some Unicode issue , i have also tried disabling avast but to no avail , to be added that you can still be right . this is happening on my laptop where i use a college version of W10 so my name and school number is my account name. However on my desktop my name has no Unicode characters and i did not encounter this issue. |
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 |
@jbtule that's weird - thanks for reporting back! @tiagojosemagalhaes @AlcaDesign can you check that registry entry too and see if something unexpected is registered there? |
@shiftkey There's no "autorun" entry at that location. |
Dropping myself off this while I don't have access to Windows hardware, in case someone else wants to take a swing at this. |
@AlcaDesign @shiftkey i don´t have any autorun entry at that location either. |
Alright, back and looking into this. I setup a test account named
I was able to clone and fetch a private repository down without issues, so there goes that theory. @tiagojosemagalhaes I overlooked this comment from earlier:
Could you open a PowerShell prompt, run this command and attach the output. I'd like to understand a bit more about your account setup on the machine that has the your name and school number for the account name: > Get-ChildItem Env: |
@AlcaDesign looking at the error message from your log, I'd like to check that the trampoline file is actually setup for success.
The files we depend on are these:
Adjust for whichever version of Desktop you are currently running. If any of those aren't where you expect them to be, please let me know - it will help to recreate this on my end. |
@shiftkey Those files definitely exist. |
@AlcaDesign could you attach a fresh log file? Maybe there's something different about the situation that will help me understand what's different your setup. |
|
@AlcaDesign the whole log file would be helpful - I'm not even sure what version you're running currently |
@shiftkey ALLUSERSPROFILE C:\ProgramData ` The log about my system you asked for. |
@AlcaDesign the best theory I've got so far about your setup is that the trampoline script isn't returning any output, for some reason. I added #3007 to log whether there is a token is actually set for the user when we perform Git operations - if you are able to reproduce this with the latest version 1.0.6, could you attach a fresh log? This should provide some more insight. |
@tiagojosemagalhaes I can reproduce the issue you are seeing using an account with a Let's see if I can put together a fix for it now. |
|
Aha, this looks interesting. Are you able to do the sign-in-and-out dance under the File | *Options menu, and see if that fixes it for you? I'm still not sure if the |
Resolved this issue for me. Thanks Reldey! |
Thank you so much ! I resolved my problem true |
Glad my solution is working for people. This may be above my pay grade, but I am wondering why Miniconda is fiddling with the registry at all? I would assume the only value the program should modify would be the PATH. Might be something to throw at them. |
It solved my issue. I used to add macros and did't know that it can impact on the work with Git Hub Desktop. Thank you! |
It solved my issue. ~~~///(^v^)\~~~ |
Should there be a key of Auto run or not |
Sorry, I am not sure, but it works. |
Anyone unable to find "Command Processor" tab under HKEY_CURRENT_USER\Software\Microsoft? |
Thanks much - I'm amazed that you were able to discover that 👍 |
Cheers, worked for me as well - Thanks |
I was having the same issue and this solved it. Thanks 👍 |
Had the same problem! they should fix this on conda's side... |
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. |
I had to reinstall GitHub Desktop to fix this problem; the registry key |
Forgot to mention, this has disassociated with the SSH protocol not working; it is now singularly focused on askpass.bat, as I am lazy to create a new issue. |
@Onoshe same problem here. mine also no any autorun |
I updated the Github desktop to latest version. then error was gone. now i'm able to push the code |
@Onoshe I've been suffering the same problem, have you tried looking through the help document! Hopefully, the help document can be of assistance. If not, try joining our open issue at #10363! |
@DLionApps I'm already using the latest version. I tried everything but the problem still persist. Am just 😫 |
@Onoshe I am also on the latest version (2.5.6). You should try everything that @steveward told me in the comments of #10363 |
In the registry editor(pc\HKEY_CURRENT_USER\Software\Microsoft\Command Processor), just remove all the custom string value. |
I currently cannot view that registry entry for some reason, it does not exist on my file system, |
Thanks, I just removed the Autorun entry that was created by Conda and it is working correctly now |
Geez, I had this issue couple a days now and this actually helped. Also Conda Autorun entry in the registry removed and works like heaven now. Thanks |
Delete |
Description
Attempting to push commits to my GitHub using the Desktop client results in this message:
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
Expected behavior: The commit should be pushed.
Actual behavior: The aforementioned error message pops up.
Reproduces how often: 100% of the time.
Logs
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
The text was updated successfully, but these errors were encountered: