{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/695","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/695/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/695/events","html_url":"https://github.com/electron-userland/electron-builder/pull/695","id":172669532,"number":695,"title":"fix: file already in use error during unzip","user":{"login":"heinzbeinz","id":7147334,"avatar_url":"https://avatars.githubusercontent.com/u/7147334?v=3","gravatar_id":"","url":"https://api.github.com/users/heinzbeinz","html_url":"https://github.com/heinzbeinz","followers_url":"https://api.github.com/users/heinzbeinz/followers","following_url":"https://api.github.com/users/heinzbeinz/following{/other_user}","gists_url":"https://api.github.com/users/heinzbeinz/gists{/gist_id}","starred_url":"https://api.github.com/users/heinzbeinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heinzbeinz/subscriptions","organizations_url":"https://api.github.com/users/heinzbeinz/orgs","repos_url":"https://api.github.com/users/heinzbeinz/repos","events_url":"https://api.github.com/users/heinzbeinz/events{/privacy}","received_events_url":"https://api.github.com/users/heinzbeinz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T10:56:22Z","updated_at":"2016-08-26T06:40:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/electron-userland/electron-builder/pulls/695","html_url":"https://github.com/electron-userland/electron-builder/pull/695","diff_url":"https://github.com/electron-userland/electron-builder/pull/695.diff","patch_url":"https://github.com/electron-userland/electron-builder/pull/695.patch"},"body":"I got an error in Windows during 7zip invokation (The process cannot access the file because it is being used by another process). I changed the finish stream event to close to ensure that the file descriptor is closed after download."},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/242643018","html_url":"https://github.com/electron-userland/electron-builder/pull/695#issuecomment-242643018","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/695","id":242643018,"user":{"login":"heinzbeinz","id":7147334,"avatar_url":"https://avatars.githubusercontent.com/u/7147334?v=3","gravatar_id":"","url":"https://api.github.com/users/heinzbeinz","html_url":"https://github.com/heinzbeinz","followers_url":"https://api.github.com/users/heinzbeinz/followers","following_url":"https://api.github.com/users/heinzbeinz/following{/other_user}","gists_url":"https://api.github.com/users/heinzbeinz/gists{/gist_id}","starred_url":"https://api.github.com/users/heinzbeinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heinzbeinz/subscriptions","organizations_url":"https://api.github.com/users/heinzbeinz/orgs","repos_url":"https://api.github.com/users/heinzbeinz/repos","events_url":"https://api.github.com/users/heinzbeinz/events{/privacy}","received_events_url":"https://api.github.com/users/heinzbeinz/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T06:40:51Z","updated_at":"2016-08-26T06:40:51Z","body":"Here is the stacktrace:\r\n\r\nExtracting archive: C:\\Users\\$userdir\\.cache\\winCodeSign\\530-156c59193f4-1.7z\r\n\r\nCan't open as archive: 1\r\nFiles: 0\r\nSize:       0\r\nCompressed: 0\r\n\r\nError output:\r\nERROR: C:\\Users\\$userdir\\.cache\\winCodeSign\\530-156c59193f4-1.7z\r\nCan not open the file as archive\r\n\r\nThe process cannot access the file because it is being used by another process.\r\n\r\n    at ChildProcess.childProcess.once.code (C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\util\\util.ts:154:14)\r\n    at ChildProcess.g (events.js:286:16)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:850:16)\r\n    at Socket.<anonymous> (internal/child_process.js:323:11)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at Pipe._handle.close [as _onclose] (net.js:492:12)\r\nFrom previous event:\r\n    at Object.spawn (C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\util\\util.ts:117:9)\r\n    at C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\util\\binDownload.ts:62:14\r\n    at next (native)\r\n    at emitNone (events.js:91:20)\r\n    at WriteStream.emit (events.js:185:7)\r\n    at finishMaybe (_stream_writable.js:488:14)\r\n    at afterWrite (_stream_writable.js:362:3)\r\n    at onwrite (_stream_writable.js:352:7)\r\n    at WritableState.onwrite (_stream_writable.js:89:5)\r\n    at fs.js:1866:5\r\n    at FSReqWrap.wrapper [as oncomplete] (fs.js:741:5)\r\nFrom previous event:\r\n    at tsAwaiter (C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\util\\awaiter.ts:10:47)\r\n    at Object.build (C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\builder.ts:195:52)\r\n    at Object.<anonymous> (C:\\projects\\rl3\\client\\node_modules\\electron-builder\\src\\build-cli.ts:27:28)\r\n    at Module._compile (module.js:541:32)\r\n    at Object.Module._extensions..js (module.js:550:10)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Function.Module.runMain (module.js:575:10)\r\n    at startup (node.js:160:18)\r\n    at node.js:449:3\r\nchild process exited with code 4294967295ed in the documentation, that after clos"}}
{"actor":{"display_login":"heinzbeinz"}}