{ "id": "103195", "key": "TIMOB-11433", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-16T21:43:23.000+0000", "created": "2012-10-12T08:30:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "js", "qe-ios100112", "regression" ], "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-11T03:17:06.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "This is a regression bug.\r\n\r\nSteps to reproduce :\r\n1.Lanunch Titanium Studio.\r\n2.Create > New > Titanium Project.\r\n3.Enter project name > enter App id > Press \"Finish\".\r\n\r\nActual Result:\r\n\"Unable to create Project \" error is thrown . Screenshot attached .\r\n", "attachment": [ { "id": "32551", "filename": "logs.rtf", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-12T08:30:11.000+0000", "size": 1652, "mimeType": "text/rtf" }, { "id": "32550", "filename": "Screen Shot 2012-10-12 at 1.09.54 PM.png", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-12T08:30:11.000+0000", "size": 339232, "mimeType": "image/png" } ], "flagged": false, "summary": "Unable to create Titanium Project", "creator": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio, build: 3.0.0.201210101947\r\nTitanium SDK : 3.0.0.v20121009034227\r\nOS : Mountain Lion 10.8.2; Windows 7, Lion 10.7.5", "comment": { "comments": [ { "id": "223255", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does this happen from the command line?", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T14:31:15.000+0000", "updated": "2012-10-12T14:31:15.000+0000" }, { "id": "223287", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The error indicates the CLI could not find ~/.titanium/config.json file, and I got it to reproduce by manually deleting the file. The problem persists even after I reinstall the CLI. It seems CLI should create one when needed if the file doesn't exist.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T18:44:42.000+0000", "updated": "2012-10-12T18:44:42.000+0000" }, { "id": "223363", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "You're probably using an old version of the CLI. This was an issue several days, maybe a week ago. I'll re-verify.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T02:45:02.000+0000", "updated": "2012-10-13T02:45:02.000+0000" }, { "id": "223404", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This has already been fixed (I think when I fixed the setup command) by this commit: https://github.com/appcelerator/titanium/commit/6e541e391a689cdff40faa6e234fdd46f2311eae.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T18:15:10.000+0000", "updated": "2012-10-13T18:15:10.000+0000" }, { "id": "223751", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I just want to make sure that we don't required the user to run the setup command, as they won't be doing so from inside Studio.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T07:56:28.000+0000", "updated": "2012-10-16T07:56:28.000+0000" }, { "id": "223789", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Ingo, I confirmed, you do NOT need to run setup to create a new project.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-16T15:46:57.000+0000", "updated": "2012-10-16T15:46:57.000+0000" }, { "id": "223854", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug persists, blocking critical workflow.\r\n\r\nTitanium Studio: 3.0.0.201210151149\r\nTitanium SDK: 3.0.0.v20121015174610\r\nTitanium CLI: 3.0.5\r\nOS: Lion 10.7.5\r\n\r\nerror when running titanium from command line:\r\n\r\n{code}\r\nsfeloneyMBA:~ sfeloney$ titanium\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111\r\n throw e;\r\n ^\r\nError: ENOENT, no such file or directory '/Users/sfeloney/.titanium/config.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 path.existsSync (/usr/local/lib/node_modules/titanium/lib/titanium.js:47:7)\r\n at config.user.config.user (/usr/local/lib/node_modules/titanium/lib/titanium.js:38:5)\r\n at ChildProcess.exithandler (child_process.js:534:7)\r\n at ChildProcess.EventEmitter.emit [as emit] (events.js:91:17)\r\n at maybeClose (child_process.js:634:16)\r\n at Socket.ChildProcess.spawn.stdin (child_process.js:805:11)\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:37:4)\r\n at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:44:3)\r\n at /usr/local/lib/node_modules/titanium/lib/titanium.js:67:3\r\n at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:69: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}", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T20:32:58.000+0000", "updated": "2012-10-16T20:32:58.000+0000" }, { "id": "223858", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The work-around is to manually add a .titanium folder in the user directory.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T20:37:35.000+0000", "updated": "2012-10-16T20:37:35.000+0000" }, { "id": "233933", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK: 3.1.0.v20130110133402, 3.0.1.v20130109180643\r\nStudio:3.0.1.201212181159\r\n\r\nAble to create the titanium project successfully.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-11T03:17:06.000+0000", "updated": "2013-01-11T03:17:06.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }