• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 1.6.20
    • None

      Git for Windows v2.5.0 was officially released a few days ago. After upgrading, SourceTree now crashes when I click the Terminal button (see attached stack trace).

      When I try to use the Fetch, Pull, or Push buttons, SourceTree doesn't crash, but I get the following error message:

      error: cannot spawn C:\Program Files (x86)\Atlassian\SourceTree\tools\openssh_wrapper.sh: No such file or directory

            [SRCTREEWIN-3633] Errors and crashes after upgrading Git to v2.5.0

            minnsey added a comment -

            Thanks for reporting this, however I'm closing it as a duplicate of SRCTREEWIN--3367. PLease watch that issue for updates and workarounds

            minnsey added a comment - Thanks for reporting this, however I'm closing it as a duplicate of SRCTREEWIN--3367. PLease watch that issue for updates and workarounds

            minnsey added a comment -

            Error from log

            2015-08-19T15:06:29: Stack trace: 
               at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
               at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
               at SourceTree.Utils.GeneralHelper.OpenTerminal(String path, RepoType repoType) in C:\projects\bitbucket.org\atlassian\sourcetreewin\Utils\GeneralHelper.cs:line 1264
            

            minnsey added a comment - Error from log 2015-08-19T15:06:29: Stack trace: at System .Diagnostics. Process .StartWithShellExecuteEx(ProcessStartInfo startInfo) at System .Diagnostics. Process .Start(ProcessStartInfo startInfo) at SourceTree.Utils.GeneralHelper.OpenTerminal( String path, RepoType repoType) in C:\projects\bitbucket.org\atlassian\sourcetreewin\Utils\GeneralHelper.cs:line 1264

            theodorejb added a comment -

            Apparently this issue was caused by references to the old Git path (in C:\Program Files (x86)) in %USERPROFILE%\AppData\Local\Atlassian\SourceTree.exe_Url_yjhzxxhcu2ommegrdorjf3q1oqllqxiq\1.6.20.0\user.config.

            Git v2.5.0 is now 64-bit and installed under C:\Program Files. I was able to fix the issue by deleting the entire AppData\Local\Atlassian folder and re-installing SourceTree.

            theodorejb added a comment - Apparently this issue was caused by references to the old Git path (in C:\Program Files (x86)) in %USERPROFILE%\AppData\Local\Atlassian\SourceTree.exe_Url_yjhzxxhcu2ommegrdorjf3q1oqllqxiq\1.6.20.0\user.config. Git v2.5.0 is now 64-bit and installed under C:\Program Files. I was able to fix the issue by deleting the entire AppData\Local\Atlassian folder and re-installing SourceTree.

              Unassigned Unassigned
              3bfd8e113d42 theodorejb
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: