-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Windows 7 installation error #3368
Comments
Was this an upgrade? Do any previous versions install without problems? If so, could you pinpoint which snapshot is the first one where it broke? |
I'm having the same exact problem using Windows Server 2016 trying to upgrade from 2.32 to 2.33. |
We've had an earlier report about the exact same error message on windows 10 during a different part of And it seems I can reproduce the issue by installing 32bit Git for Windows 2.33.0 on 64bit Windows 10. I think we're accidentally trying to load an external Function for |
@dscho I did have git some time ago, then removed PS Issue is not critical, it might be a warning? git itself is fully functional |
No, it is not a warning, it is a real error. Your Git might work most of the time, though. Without digging deeper, I cannot say what operations might be affected. |
Not sure if it matters, but when I recreated the error, the only options I chose were to use Visual Studio Code as the default editor and to override the branch name to |
That sounds quite plausible... However, the installer is 32-bit. So I would expect the same problems no matter whether installing a 32-bit or a 64-bit Git for Windows. |
It doesn't happen for me with the 64bit installer, but it happens reliably with the 32bit installer. No matter what options I choose I always get the error message. If I choose to install the terminal fragment it happens on that step, otherwise on the explorer integration step. |
I'm using the 64-bit installer and I get the error in the Explorer Integration step. |
If I select neither LFS nor the terminal fragment it happens on "Removing bundled Git LFS". |
Could you rebuild the installer, with |
Yes. |
I am having the same error message too. May I know if this is still usable or should I just reinstall? |
We don't currently know how usable this is.
That'll likely produce the same error again. |
Also experiencing this on Windows 10.
|
Same issue as OP, but OS is Windows 8 Pro.
Had an update notification, clicked on it, and this was the error at the end. Went to the website and downloaded the latest installer (64-bit) and received the exact same error. |
I have the same error on Microsoft Windows [Version 10.0.19043.1165]. I tested it in clean installation of Widows in VM: So I reinstall OpenSSH client Windows capability on my main PC, and git successfully installed now. Hope this help others. |
It seems mere existence of |
Looks like this is root of the issue:
|
but please notice the context of the error is different for example in the above two comments: I'm guessing it's another context than the above two for this comment also: #3368 (comment) probably Removing bundled Git OpenSSH binaries |
@aicarambazigalo What exact difference you are pointing to? |
This comment has been minimized.
This comment has been minimized.
The progress text depends on the features you want to install, but it does seem to always be the last step before the openssh step. |
perhaps it's still the openssh step the culprit, but the context text doesn't get updated as fast, and maybe that's why it seems like it's previous steps?? |
And the potential fix by @PetSerAl supports that, as it would happen right before the Text switches to the openssh text. |
My understanding of the issue is as follows: here is proposed fix: (ref to underlined added code) With this addage setup finishes smoothly |
Excellent analysis! @Okeanos thank you so much for implemeting and testing git-for-windows/build-extra#374! |
I have turned back to git version 2.32.0.windows.2 |
Please note that this comment does not really add anything to value to the discussion. What would add value is if you had built an installer and verified the fix yourself. As it happens, I intend to merge an existing PR (or to find a nice and easy change I can open a PR for) so that a new snapshot can be built that y'all are respectfully asked to test. It will probably be a good idea to release a new Git for Windows version, after I get a couple more reactions that verify the fix. |
@dscho where is the latest build with the fix? but it has the same error as reported in this issue thread... I've seen that v2.33.0 milestone is closed, so should we xpected a 2.33.1 or event 2.34? |
I do not have any as of yet. I started a
The v2.33.0 milestone is closed because that version has been released ;-) I am thinking about releasing a v2.33.0(2) soon-ish, including this fix. |
Okay, there is now a current snapshot with this fix. |
This one fix issue for me. |
Agreed. |
Confirmed working now: installed over the existing one without errors(i've noticed this did the auto removed prev. version), then I manually uninstalled it and installed it again w/o errors(Windows Explorer Integration was selected, if it matters, and use OpenSSH library). used the aforementioned snapshot "Mon, 23 Aug 2021 16:47:37 +0200
I thank everyone involved for your work and time! |
All of you who worked on thorough bug reports, on the analysis and finally on the fix of this bug, and on verifying the fix: you are amazing. Thank you so much! It is a bit too late in the day for me to start the release process, and besides, I want to make sure first that there might not be an upstream v2.33.1 lurking around the corner. My current plan, therefore, is to first make sure I get a feel about the upstream situation, and then go ahead and release v2.33.0(2). Hopefully tomorrow, definitely this week, I promise 😄... |
Thank you as well from my side to the reporters, in particular @PetSerAl, for pointing out what broke during my pull request and enabling me to offer a fix so quickly. Also a mea culpa for not testing the changes on an expected configuration (Windows pre Win32 OpenSSH) that could've prevented this ordeal. |
A [bug](git-for-windows/git#3368) affecting older Windows versions that caused the installer to show the error message "Could not call proc" [was fixed](#374). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@Okeanos for the record: I do not see anything "tua culpa" about this. It was a really good contribution, a bug snuck in that nobody noticed, not even during -rc0, -rc1 and -rc2, then it was identified and fixed efficiently. I could not wish for any better. Experiences like this one let me keep going, with gratitude. My sincere thanks go to you, to @greenozon, @rimrul, @PetSerAl, and everybody who jumped on verifying the analysis and the fix! Here is the outcome of your lovely effort: https://github.com/git-for-windows/git/releases/tag/v2.33.0.windows.2 |
This was apparently also what I was seeing on Windows 10 ARM64, as the "Could not call proc" error is gone there too with 2.33.0(2) |
I wish to unsubscribe please |
I had the same issue. We install it with SCCM. We choose plink. The solution was to create the "HKEY_CURRENT_USER" "SOFTWARE\SimonTatham\PuTTY\Sessions\Default%20Settings..." Keys for the system Account. |
Setup
The text was updated successfully, but these errors were encountered: