{ "id": "130583", "key": "TIMOB-16979", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-16T23:30:22.000+0000", "created": "2014-05-16T23:27:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "38350", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "130451", "key": "TIMOB-16960", "fields": { "summary": "CLI: Rearchitect to analytics to allow atomic events and only one process to send payload", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-12T23:51:26.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Somehow, analytics events are being removed while being processed. It's as if another process is trying to send analytics at the same time. This is probably a very difficult issue to reproduce.\r\n\r\n{code}\r\nError: ENOENT, no such file or directory '/Users/ayeung/.titanium/events/2014-05-16T22:49:16.351Z_757.json'\r\n at Object.fs.unlinkSync (fs.js:760:18)\r\n at Request._callback (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/analytics.js:274:9)\r\n at Request.self.callback (/usr/local/lib/node_modules/titanium/node_modules/request/request.js:129:22)\r\n at Request.EventEmitter.emit (events.js:98:17)\r\n at Request. (/usr/local/lib/node_modules/titanium/node_modules/request/request.js:873:14)\r\n at Request.EventEmitter.emit (events.js:117:20)\r\n at IncomingMessage. (/usr/local/lib/node_modules/titanium/node_modules/request/request.js:824:12)\r\n at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\n at _stream_readable.js:920:16\r\n at process._tickCallback (node.js:415:13)\r\n{code}\r\n\r\nAs a fix, ensure that the file exists before trying to delete the file.", "attachment": [], "flagged": false, "summary": "CLI: Error thrown when analytics event file no longer exists", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "305383", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/node-appc/pull/90", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-16T23:27:56.000+0000", "updated": "2014-05-16T23:27:56.000+0000" }, { "id": "305556", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "More fixes: https://github.com/appcelerator/node-appc/pull/91", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-19T18:19:30.000+0000", "updated": "2014-05-19T18:19:30.000+0000" }, { "id": "308796", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and closing as part of testing TIMOB-16960.\r\nNo error, building the app. Events folder is empty.\r\n\r\nMac osx 10.9.3 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201406111156\r\nTitanium SDK, build: 3.3.0.v20140611084912 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-rc \r\nnpm@1.3.2 \r\ntitanium@3.3.0-rc \r\ntitanium-code-processor@1.1.1\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-12T23:51:21.000+0000", "updated": "2014-06-12T23:51:21.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }