{ "id": "108381", "key": "TIMOB-12373", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-22T18:33:47.000+0000", "created": "2013-01-22T18:31:25.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-01-22T22:54:11.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": "The following error occurs when ~/.titanium doesn't already exist. Simply create the directory if it doesn't exist.\r\n\r\n{code}\r\n[ERROR] Error: ENOENT, no such file or directory '/Users/USERNAME/.titanium/auth_session.json'\r\n at Object.fs.openSync [as openSync] (fs.js:338:18)\r\n at Object.fs.writeFileSync [as writeFileSync] (fs.js:756:15)\r\n at createLoggedOutSessionFile (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:255:5)\r\n at Object.exports.status [as status] (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:200:12)\r\n at processConf (/usr/local/lib/node_modules/titanium/lib/cli.js:802:25)\r\n at loadCommand (/usr/local/lib/node_modules/titanium/lib/cli.js:887:3)\r\n at /usr/local/lib/node_modules/titanium/lib/cli.js:1003:10\r\n at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:454:21)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)\r\n at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13)\r\n---------------------------------------------\r\n at Object.exports.execFile [as execFile] (child_process.js:590:9)\r\n at exports.exec (child_process.js:477:18)\r\n at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)\r\n at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)\r\n at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3\r\n at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)\r\n at Module.Module._compile [as _compile] (module.js:449:26)\r\n at Object.Module._extensions..js [as .js] (module.js:467:10)\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Authentication library errors if ~/.titanium folder does not exist", "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, "comment": { "comments": [ { "id": "235413", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\r\nTested and verified fix with:\r\nMac OSX 10.8.2 Mountain Lion\r\nCLI 3.0.23\r\n\r\nSteps:\r\nDeleted folder ~/.titanium\r\nRan ti -v\r\n\r\nActual result:\r\n~/.titanium was created, no Error", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-22T22:53:30.000+0000", "updated": "2013-01-22T22:53:52.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }