Skip to content

GitHub Desktop unable to locate Git (although installed), Git Bash (although installed), or Atom (although installed)... #5278

Closed

Description

@drmstwizard

Description

Although I can open and run GitHub Desktop, Git, Git Bash, and Atom all on their own and they work fine, GitHub Desktop is unable to locate Git, Git Bash, or Atom from within the program. (Screenshots below.)

image1

image2

I have checked my registry keys for all programs and they seem to match the recommended settings in previous Bug Reports for similar problems, but I am new to programming and am not 100% sure. I'm obviously missing SOMETHING...

Version

  • GitHub Desktop: 1.2.6
  • Operating system: Microsoft Windows 6.1.7601

Steps to Reproduce

Expected Behavior

Actual Behavior

Additional Information

Logs

2018-07-29T16:32:20.702Z - info: [main] Received possible protocol arguments: 2
2018-07-29T16:32:51.941Z - info: [ui] [AppStore] loading 3 repositories from store
2018-07-29T16:32:51.941Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T16:32:55.649Z - warn: [ui] Error refreshing pull requests for 'finduntaggedtumblrposts.com'
Error: Unable to find path to repository on disk.
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\node_modules\dugite\build\lib\git-process.js:87:1
at exithandler (child_process.js:289:5)
at ChildProcess.errorhandler (child_process.js:301:5)
at emitOne (events.js:115:13)
at ChildProcess.emit (events.js:210:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
2018-07-29T16:32:55.866Z - error: [ui] Error performing periodic fetch
Error: Unable to find path to repository on disk.
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\node_modules\dugite\build\lib\git-process.js:87:1
at exithandler (child_process.js:289:5)
at ChildProcess.errorhandler (child_process.js:301:5)
at emitOne (events.js:115:13)
at ChildProcess.emit (events.js:210:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
2018-07-29T16:32:57.564Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T16:32:57.565Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T16:33:01.397Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 5.484s)
2018-07-29T16:33:02.156Z - error: [ui] Error checking for updates
Error: Command failed: 4294967295
System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running
at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
at Squirrel.UpdateManager.b__32_0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<CheckForUpdate>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.Exception: Couldn't acquire lock, is another instance running at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Update.Program.d__8.MoveNext()<---

at AutoUpdater.emitError (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:58:24)
at squirrelUpdate.checkForUpdate (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:34:21)
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:89:14
at ChildProcess.<anonymous> (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:71:14)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

2018-07-29T16:33:20.515Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/drmstwizard/finduntaggedtumblrposts.com.git - drmstwizard (has token)
2018-07-29T16:33:32.380Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/drmstwizard/finduntaggedtumblrposts.com.git C:\Users\USERNAME\Documents\GitHub\finduntaggedtumblrposts.com (took 11.825s)
2018-07-29T16:34:43.611Z - info: [main] Received possible protocol arguments: 2
2018-07-29T16:34:45.750Z - info: [ui] [AppStore] loading 3 repositories from store
2018-07-29T16:34:45.751Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T16:34:48.522Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.767s)
2018-07-29T16:34:48.530Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 2.729s)
2018-07-29T16:34:48.531Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 2.736s)
2018-07-29T16:34:48.536Z - info: [ui] Executing getRemotes: git remote -v (took 2.706s)
2018-07-29T16:34:48.718Z - info: [ui] Executing getRemotes: git remote -v (took 2.898s)
2018-07-29T16:34:49.733Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T16:34:49.733Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T16:34:49.736Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.205s)
2018-07-29T16:34:49.741Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 1.297s)
2018-07-29T16:34:49.743Z - info: [ui] Executing getCommits: git log 16063171d5e820dece3079d7995572720788b1e1 --date=raw --max-count=1 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only) -z --no-color -- (took 1.219s)
2018-07-29T16:34:49.770Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 1.316s)
2018-07-29T16:34:49.775Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.313s)
2018-07-29T16:34:51.034Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.291s)
2018-07-29T16:34:51.149Z - info: [ui] Executing getRemotes: git remote -v (took 1.211s)
2018-07-29T16:34:51.184Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.413s)
2018-07-29T16:34:51.700Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 2.942s)
2018-07-29T16:34:53.293Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.046s)
2018-07-29T16:35:51.656Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/new-xkit/XKit.git - drmstwizard (has token)
2018-07-29T16:36:00.333Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/new-xkit/XKit.git C:\Users\USERNAME\Desktop\XKit (took 8.669s)
2018-07-29T16:36:00.397Z - info: [ui] [AppStore] adding repository at C:\Users\USERNAME\Desktop\XKit to store
2018-07-29T16:36:40.555Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:40:37.062Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.014s)
2018-07-29T16:41:10.155Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune upstream (took 1.002s)
2018-07-29T16:41:55.131Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: XKit - drmstwizard (has token)
2018-07-29T16:43:07.865Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: XKit - drmstwizard (has token)
2018-07-29T16:43:29.497Z - info: [main] opening in browser: https://github.com/new-xkit/XKit/compare/master
2018-07-29T16:44:54.391Z - info: [main] opening in browser: https://atom.io/
2018-07-29T16:45:46.523Z - info: [ui] Opt in reported.
2018-07-29T16:49:16.510Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 7.140s)
2018-07-29T16:50:29.896Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:53:30.422Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:54:34.097Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:56:52.674Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:58:23.712Z - info: [main] opening in browser: https://help.github.com/articles/set-up-git/#setting-up-git
2018-07-29T16:59:26.038Z - info: [ui] [AppStore] loading 4 repositories from store
2018-07-29T16:59:26.038Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T16:59:26.792Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T16:59:26.792Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T16:59:27.650Z - info: [ui] Stats reported.
2018-07-29T16:59:30.045Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 3.413s)
2018-07-29T16:59:35.033Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: XKit - drmstwizard (has token)
2018-07-29T17:00:08.591Z - error: [ui] Error performing periodic fetch
Error: Unable to find path to repository on disk.
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\node_modules\dugite\build\lib\git-process.js:87:1
at exithandler (child_process.js:289:5)
at ChildProcess.errorhandler (child_process.js:301:5)
at emitOne (events.js:115:13)
at ChildProcess.emit (events.js:210:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
2018-07-29T17:00:09.063Z - warn: [ui] Error refreshing pull requests for 'drmstwizardtry1'
Error: Unable to find path to repository on disk.
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\node_modules\dugite\build\lib\git-process.js:87:1
at exithandler (child_process.js:289:5)
at ChildProcess.errorhandler (child_process.js:301:5)
at emitOne (events.js:115:13)
at ChildProcess.emit (events.js:210:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
2018-07-29T17:01:17.699Z - info: [main] Received possible protocol arguments: 2
2018-07-29T17:01:20.901Z - info: [ui] [AppStore] loading 3 repositories from store
2018-07-29T17:01:20.901Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T17:01:21.704Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T17:01:21.704Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T17:01:22.848Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 1.310s)
2018-07-29T17:01:22.892Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 1.948s)
2018-07-29T17:01:22.899Z - info: [ui] Executing getRemotes: git remote -v (took 1.915s)
2018-07-29T17:01:23.324Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.785s)
2018-07-29T17:01:23.376Z - info: [ui] Executing getRemotes: git remote -v (took 2.407s)
2018-07-29T17:01:23.382Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 2.433s)
2018-07-29T17:01:23.383Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.476s)
2018-07-29T17:01:23.430Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 1.888s)
2018-07-29T17:01:24.363Z - error: [ui] Error checking for updates
Error: Command failed: 4294967295
System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running
at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
at Squirrel.UpdateManager.b__32_0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<CheckForUpdate>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.Exception: Couldn't acquire lock, is another instance running at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Update.Program.d__8.MoveNext()<---

at AutoUpdater.emitError (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:58:24)
at squirrelUpdate.checkForUpdate (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:34:21)
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:89:14
at ChildProcess.<anonymous> (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:71:14)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

2018-07-29T17:01:24.391Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 2.719s)
2018-07-29T17:06:49.793Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.169s)
2018-07-29T17:08:38.984Z - warn: [ui] deserialize: invalid JSON found at 'http://drmstwizard.github.com/api/v3/meta' - status: 404, length: '(missing)' id: '(missing)'
SyntaxError: Unexpected token < in JSON at position 0
2018-07-29T17:08:39.362Z - error: [ui] fetchMetadata: unable to load metadata from 'http://drmstwizard.github.com/api/v3/meta' as a fallback
Error: API error http://drmstwizard.github.com/api/v3/meta: Not Found (404)
at Object.t.parsedResponse (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\src\lib\http.ts:157:26)
at
2018-07-29T17:08:49.000Z - warn: [ui] deserialize: invalid JSON found at 'https://drmstwizard.github.com/api/v3/meta' - status: 404, length: '(missing)' id: '(missing)'
SyntaxError: Unexpected token < in JSON at position 0
2018-07-29T17:08:49.001Z - error: [ui] fetchMetadata: unable to load metadata from 'https://drmstwizard.github.com/api/v3/meta' as a fallback
Error: API error https://drmstwizard.github.com/api/v3/meta: (404)
at Object.t.parsedResponse (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\webpack:\app\src\lib\http.ts:157:26)
at
2018-07-29T17:09:25.288Z - info: [main] opening in browser: https://atom.io/
2018-07-29T18:08:41.233Z - info: [main] Received possible protocol arguments: 2
2018-07-29T18:08:41.288Z - info: [main] Received possible protocol arguments: 2
2018-07-29T18:08:47.558Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T18:08:47.559Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T18:08:51.619Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.029s)
2018-07-29T18:08:51.653Z - info: [ui] Executing getRemotes: git remote -v (took 3.623s)
2018-07-29T18:08:51.666Z - info: [ui] Executing getRemotes: git remote -v (took 3.615s)
2018-07-29T18:08:51.667Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 4.018s)
2018-07-29T18:08:51.667Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 4.011s)
2018-07-29T18:08:53.238Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T18:08:53.238Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T18:08:55.142Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 2.005s)
2018-07-29T18:08:55.794Z - info: [ui] Executing getAheadBehind: git rev-list --left-right --count d56543328d323f187083a15ff14bba83c0a32777...b50f61e0d76979f31b10d286da08a7f537ed9230 -- (took 1.528s)
2018-07-29T18:22:50.183Z - info: [main] Received possible protocol arguments: 2
2018-07-29T18:22:50.815Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T18:22:50.816Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T18:22:51.314Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T18:22:51.314Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T18:23:06.832Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.033s)
2018-07-29T19:46:47.326Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T19:46:47.356Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T19:46:51.780Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.433s)
2018-07-29T19:46:51.816Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 4.372s)
2018-07-29T19:46:51.822Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 4.375s)
2018-07-29T19:46:51.846Z - info: [ui] Executing getRemotes: git remote -v (took 4.216s)
2018-07-29T19:46:53.551Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.733s)
2018-07-29T19:46:53.571Z - info: [ui] Executing getCommits: git log 16063171d5e820dece3079d7995572720788b1e1 --date=raw --max-count=1 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only) -z --no-color -- (took 1.777s)
2018-07-29T19:46:54.736Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.164s)
2018-07-29T19:46:54.775Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --no-index --patch-with-raw -z --no-color -- /dev/null ipykernel-master/.gitignore (took 1.161s)
2018-07-29T19:46:56.725Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.241s)
2018-07-29T19:46:56.999Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T19:46:57.000Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T19:46:58.220Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 1.362s)
2018-07-29T19:47:06.226Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.081s)
2018-07-29T19:47:11.302Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.006s)
2018-07-29T19:47:11.373Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.049s)
2018-07-29T20:12:37.053Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T20:12:37.054Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T20:12:38.366Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T20:12:38.366Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T20:12:40.165Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 1.250s)
2018-07-29T20:12:40.190Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.247s)
2018-07-29T20:12:41.025Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.557s)
2018-07-29T20:12:42.365Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 5.298s)
2018-07-29T20:12:42.718Z - info: [ui] Executing getRemotes: git remote -v (took 5.093s)
2018-07-29T20:12:42.718Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 5.660s)
2018-07-29T20:12:42.728Z - info: [ui] Executing getRemotes: git remote -v (took 5.209s)
2018-07-29T20:12:42.738Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 5.698s)
2018-07-29T20:12:43.299Z - info: [ui] Executing getAheadBehind: git rev-list --left-right --count d56543328d323f187083a15ff14bba83c0a32777...b50f61e0d76979f31b10d286da08a7f537ed9230 -- (took 1.669s)
2018-07-29T20:12:43.962Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 5.785s)
2018-07-29T20:16:11.484Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T20:16:11.485Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T20:16:12.050Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T20:16:12.051Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T20:16:18.397Z - info: [main] opening in browser: https://atom.io/
2018-07-29T20:36:27.424Z - info: [main] Received possible protocol arguments: 2
2018-07-29T20:36:28.646Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T20:36:28.647Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T20:36:29.262Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T20:36:29.263Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T20:36:31.040Z - info: [ui] Executing getRemotes: git remote -v (took 2.153s)
2018-07-29T20:36:31.367Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 2.074s)
2018-07-29T20:36:31.367Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.085s)
2018-07-29T20:36:31.377Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 2.088s)
2018-07-29T20:36:31.382Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 2.614s)
2018-07-29T20:36:31.382Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.734s)
2018-07-29T20:36:31.387Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 2.615s)
2018-07-29T20:36:31.387Z - info: [ui] Executing getRemotes: git remote -v (took 2.516s)
2018-07-29T20:36:32.240Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 3.030s)
2018-07-29T20:36:34.310Z - error: [ui] Error checking for updates
Error: Command failed: 4294967295
System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running
at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
at Squirrel.UpdateManager.b__32_0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<CheckForUpdate>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.Exception: Couldn't acquire lock, is another instance running at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Update.Program.d__8.MoveNext()<---

at AutoUpdater.emitError (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:58:24)
at squirrelUpdate.checkForUpdate (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\auto-updater-win.js:34:21)
at C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:89:14
at ChildProcess.<anonymous> (C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\resources\electron.asar\browser\api\auto-updater\squirrel-update-win.js:71:14)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

2018-07-29T20:36:47.376Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.518s)
2018-07-29T21:03:26.870Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T21:03:26.872Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T21:03:27.353Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T21:03:27.354Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T21:10:15.661Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T21:10:15.662Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T21:10:16.139Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T21:10:16.140Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T21:11:05.325Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: XKit - drmstwizard (has token)
2018-07-29T21:11:17.513Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: XKit - drmstwizard (has token)
2018-07-29T21:12:05.961Z - info: [main] opening in browser: https://github.com/new-xkit/XKit
2018-07-29T21:14:43.786Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T21:14:43.788Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T21:14:44.078Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T21:14:44.079Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T21:17:00.205Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T21:17:00.206Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T21:17:00.691Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T21:17:00.692Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'
2018-07-29T21:17:58.453Z - info: [main] opening in browser: https://github.com/new-xkit/XKit
2018-07-29T21:26:17.510Z - info: [ui] [AppStore] loading 2 repositories from store
2018-07-29T21:26:17.512Z - info: [ui] [AppStore] found account: drmstwizard (drmstwizard)
2018-07-29T21:26:17.953Z - info: [ui] launching: 1.2.6 (Windows 6.1.7601)
2018-07-29T21:26:17.953Z - info: [ui] execPath: 'C:\Users\USERNAME\AppData\Local\GitHubDesktop\app-1.2.6\GitHubDesktop.exe'

Activity

  1. shiftkey commented on Jul 30, 2018

    @shiftkey
    Member

    @drmstwizard thanks for the report.

    I think I stumbled upon this yesterday when I was testing a Git for Windows installation when I didn't add it PATH. That's this step of the installer:

    screen shot 2018-07-30 at 7 42 36 am

    This check doesn't need to be run when launching Git Bash, because Git Bash will change it's PATH to add where to find Git - so that message is not accurate. There's a bit of work to refactor things in this area so we can conditionally look for Git, but for now you can ignore that warning as Git Bash will continue to work without having Git on your PATH.

    I'm not clear on whether there's a different issue here with Git Bash, but let me know.

    I gather you used the Atom installer from https://atom.io, but I'll point you to an earlier issue #2585 where Atom wasn't installing it's atom.cmd command line program to this location:

    > %LOCALAPPDATA%\Atom\bin\atom.cmd
    

    If that file doesn't exist, Desktop doesn't consider the app "installed" because it can't launch it. You should be able to re-add it by running these commands from cmd:

    cd %LOCALAPPDATA%\Atom\
    atom --squirrel-updated
    
  2. added
    more-info-needed
    windows
    on Jul 30, 2018
  3. shiftkey commented on Aug 8, 2018

    @shiftkey
    Member

    I've moved the Git Bash warning out to #5358 as that is something that needs to be addressed. I'm still not clear on whether the workaround for Atom I've suggested here is the right one - please let me know.

  4. billygriffin commented on Aug 14, 2018

    @billygriffin
    Contributor

    Thanks for the report and helping to surface the issue. Since I think this is captured in #5358 and we haven't heard back with any additional info, I'm going to close this, but please feel free to let us know if there's anything outstanding that's not captured or whether the workaround @shiftkey suggested is not working for you, and we'll be happy to reopen and explore further.

  5. R12-cookies commented on Nov 10, 2019

    @R12-cookies

    i have the same issue

  6. harshakolar commented on May 9, 2020

    @harshakolar

    sorry I did not understand the resolution here. When I open Git CMD and type "git --version" it shows the version installed. The issue is when I try to open GitHub Desktop and from there try to open Command Prompt the above error message comes. Not sure if its an issue but certainly not clean.

  7. thunhan commented on Jun 30, 2020

    @thunhan

    @harshakolar, @R12-cookies

    sorry I did not understand the resolution here. When I open Git CMD and type "git --version" it shows the version installed. The issue is when I try to open GitHub Desktop and from there try to open Command Prompt the above error message comes. Not sure if its an issue but certainly not clean.

    In Github Desktop, click "File - Options - Integrations - Shell" and choose "Git bash"

  8. Ragini26 commented on Sep 3, 2020

    @Ragini26

    I have installed the latest git version but I am not able to see the git version If I do git pull it is not returning anything.
    I have installed the old versions as well, still, I am facing the same issue.

  9. Marz38 commented on Jan 27, 2021

    @Marz38

    @harshakolar I also ran into this issue, specifically with Git Bash. I had to make sure Git was added to my PATH during installation (3rd option in the above screenshot). Once I did that and restarted Github Desktop I was able to launch Git Bash using the 'Repository' -> 'Open in Git Bash' option.

  10. Sattva-108 commented on Apr 29, 2023

    @Sattva-108

    i have installed for Windows 10 all default settings of installer.
    from here https://git-scm.com/download/win
    and i have same issue. Open without GIT works but i always get the warning that i don't have Git.

  11. Xonatron commented on Apr 21, 2024

    @Xonatron

    I am having this issue too -- only it works when I click past the error:

    image

    When I click "Open without Git" it opens Git Bash with Git (as it's installed).

    Is there a current issue open on this, or should I create one?

  12. dreamReason commented on Aug 27, 2024

    @dreamReason

    If you installed Git recently while Github Desktop is open, it won't know about Git until you close Github Desktop and restart it. I just did that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-info-neededwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions