{"action":"created","issue":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/614","repository_url":"https://api.github.com/repos/Wox-launcher/Wox","labels_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/614/comments","events_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/614/events","html_url":"https://github.com/Wox-launcher/Wox/issues/614","id":154185753,"number":614,"title":"wox 1.3 exception: Couldn't acquire lock, is another instance running","user":{"login":"chris-peng","id":5279571,"avatar_url":"https://avatars.githubusercontent.com/u/5279571?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-peng","html_url":"https://github.com/chris-peng","followers_url":"https://api.github.com/users/chris-peng/followers","following_url":"https://api.github.com/users/chris-peng/following{/other_user}","gists_url":"https://api.github.com/users/chris-peng/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-peng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-peng/subscriptions","organizations_url":"https://api.github.com/users/chris-peng/orgs","repos_url":"https://api.github.com/users/chris-peng/repos","events_url":"https://api.github.com/users/chris-peng/events{/privacy}","received_events_url":"https://api.github.com/users/chris-peng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Wox-launcher/Wox/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":90,"created_at":"2016-05-11T08:19:18Z","updated_at":"2016-05-17T16:45:24Z","closed_at":null,"body":"# how to report this bug\r\n1. delete `%appdata%\\wox` and `%localappdata%\\wox`\r\n2. download  1.3.27 https://ci.appveyor.com/project/happlebao/wox/build/1.3.27/artifacts\r\n3. close `wox`\r\n4. execute `setup.exe`\r\n4. after exception / error window has been shown, upload `%APPDATA%\\Wox\\Logs\\1.3.27\\log` and `%LOCALAPPDATA%\\SquirrelTemp\\SquirrelSetup.log`\r\n\r\n# potential reason\r\n- [x] proxy\r\n- [ ] wrong register key\r\n- [ ] os 6.2.9200.0\r\n- [ ] `onactived` called too often\r\n\r\n# exception\r\nwox version：1.3\r\nos：win10\r\ngeneral：Couldn't acquire lock, is another instance running\r\nexceptions：\r\nexception type：System.Exception\r\nsource：Squirrel\r\nstack trace：\r\n   在 Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 位置 c:\\Users\\paulb\\code\\squirrel\\squirrel.windows\\src\\Squirrel\\Utility.cs:行号 737\r\n   在 Squirrel.UpdateManager.<acquireUpdateLock>b__1e() 位置 c:\\Users\\paulb\\code\\squirrel\\squirrel.windows\\src\\Squirrel\\UpdateManager.cs:行号 248\r\n   在 System.Threading.Tasks.Task`1.InnerInvoke()\r\n   在 System.Threading.Tasks.Task.Execute()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   在 Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext() 位置 c:\\Users\\paulb\\code\\squirrel\\squirrel.windows\\src\\Squirrel\\UpdateManager.cs:行号 56\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   在 Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext() 位置 c:\\Users\\paulb\\code\\squirrel\\squirrel.windows\\src\\Squirrel\\Utility.cs:行号 533\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   在 Squirrel.EasyModeMixin.<UpdateApp>d__11.MoveNext() 位置 c:\\Users\\paulb\\code\\squirrel\\squirrel.windows\\src\\Squirrel\\IUpdateManager.cs:行号 169\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   在 Wox.App.<OnActivated>d__13.MoveNext() 位置 C:\\projects\\wox\\Wox\\App.xaml.cs:行号 79\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n   在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)\r\n   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"},"comment":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/comments/219779252","html_url":"https://github.com/Wox-launcher/Wox/issues/614#issuecomment-219779252","issue_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/614","id":219779252,"user":{"login":"haltug","id":5527934,"avatar_url":"https://avatars.githubusercontent.com/u/5527934?v=3","gravatar_id":"","url":"https://api.github.com/users/haltug","html_url":"https://github.com/haltug","followers_url":"https://api.github.com/users/haltug/followers","following_url":"https://api.github.com/users/haltug/following{/other_user}","gists_url":"https://api.github.com/users/haltug/gists{/gist_id}","starred_url":"https://api.github.com/users/haltug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haltug/subscriptions","organizations_url":"https://api.github.com/users/haltug/orgs","repos_url":"https://api.github.com/users/haltug/repos","events_url":"https://api.github.com/users/haltug/events{/privacy}","received_events_url":"https://api.github.com/users/haltug/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T16:45:24Z","updated_at":"2016-05-17T16:45:24Z","body":"No issues any more since update to v1.3.27.\r\nSome bugs such as replacing the icon in the web search plugin exists still"}}