-
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
Unable to install Windows Terminal Fragment to C:\ProgramData\Microsoft\Windows Terminal\Fragments\Git\git-bash.json
error while updating
#3312
Comments
Unable to install Windows Terminal Fragment to C:\ProgramData\Microsoft\Windows Terminal\Fragments\Git\git-bash.json
error while updating
I saw this too. It seems to be an upgrade situation when the fragment was installed by old version and is trying to be installed by the new version. Re-running the installer resulted in it successfully installing the fragment. |
Hmm. I guess we cannot rely on the directory to exist when It would probably paper over the issue if we called |
|
No, the
and contains just 1 file, |
I do get the same error message. Let me know if you need system details which help to narrow the root cause. |
Sorry, I wasn't clear there. I didn't mean to say the directory exists on your computer. I meant to clarify to dscho that our understanding of what part of the |
I found a slight discrepancy between We check I don't think |
Oh, I think I know what it is: during an upgrade, we uninstall the previous version. That also happens during I actually started putting together a PR (using the occasion for some other improvements in the installer I've been meaning to work on for ages), but got side-tracked by a vaccination. Watch this space for updates from my side. |
Here is the update: git-for-windows/build-extra#363 |
The installer no longer [shows an error dialog](git-for-windows/git#3312) when upgrading while the Windows Terminal Profile option is checked. Signed-off-by: Johannes Schindelin <[email protected]>
Once the Git artifacts run has completed, the Snapshots release pipeline should be triggered automatically to upload a new snapshot. @darkred once this snapshot is available, could I ask you to test? |
@dscho Yes, of course, I'd gladly help! So, I just ran the new snapshot from here, both as an update and as clean install(after uninstalling), |
Yay! Thanks for verifying the fix. |
Hello dear people. I encounter this error in the latest v2.33.0-rc1 Runtime Error (at 325:19181) Thanks a lot :) !! |
That error message, as you most likely guessed, does not help. A full bug report, with as much information as you can provide, would most likely help more. |
(For the record, I cannot reproduce the reported issue.) |
Hello dear friend, sorry I don't know (yet) how to dump a full bug report :( I've just installed the new version 2.33.0 RC2, previously (on version 2.33.0 RC0) I checked the option to install the Git Bash of the Windows Terminal (Release version - Not Preview version). Everything did well. But since the installation of 2.33.0 RC1 I'm facing this issue. I still have the Git Bash on Windows Terminal |
Looking at the code, from the shown status message "Writing Windows Terminal Profile" I deduce that this error must happen some time during the But I can't see where it would cause a "Could not call proc", as we're not calling any native function directly. I also don't see this error in my setup, therefore I assume that there is something very special about your setup. Searching around for "could not call proc", I could imagine that you try to run this via Wine or Crossover? |
Hello dear friend, first, thank you very much for your reply 😃 No dear @dscho, I'm using: The part of my Windows Terminal settings where Git Bash is configured is:
When I open Windows Terminal and the Git Bash Console, I'm facing this issue: |
I guess it doesn't like only-read mode. |
@Ronald-G-Andrade For my curiosity: how do you turn this mode on or off? |
🤔😕
|
Now I understand better what you meant by "Host File", but I am more puzzled why this should have anything to do with writing the Windows Terminal Profile... Strange. |
Dear mate @dscho the bug is still present 😞 |
I just got this error message upgrading from 2.32.0.2 to 2.33.0 installing the 32-bit version on a Raspberry Pi 4 running Windows 10 21H1 ARM64. I don't know if it matters, but I had Windows Terminal open at the time. After the install, the Git Bash profile was still present in Windows Terminal, even after restarting it. |
For the record, I cannot reproduce with the 64-bit version, even after setting the |
Setup
defaults?
to the issue you're seeing?
(nothing)
Details
MINGW64
Minimal, Complete, and Verifiable example
this will help us understand the issue.
I just ran Git-2.32.0.2-64-bit.exe to upgrade from Git-2.32.0-64-bit.exe
No error, just to complete.
I got this error:
Note: there is no
C:\ProgramData\Microsoft\Windows Terminal
path in my system.But, I have Windows Terminal 1.8.1521.0 installed via Microsoft Store.
URL to that repository to help us with testing?
(nothing)
The text was updated successfully, but these errors were encountered: