{ "id": "119905", "key": "TIMOB-15705", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15710", "description": "2013 Sprint 23 Tooling", "name": "2013 Sprint 23 Tooling", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-13T02:22:33.000+0000", "created": "2013-09-13T11:59:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam", "windows" ], "versions": [], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-14T17:51:51.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" } ], "attachment": [], "flagged": false, "summary": "Appcelerator Studio: Titanium CLI command not recognized in Studio terminal", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS : windows \r\nAppcelerator Studio : 3.1.2.201308091728\r\nSDK : 3.1.1.GA", "closedSprints": [ { "id": 22, "state": "closed", "name": "2013 Sprint 23", "startDate": "2013-11-04T23:11:21.521Z", "endDate": "2013-11-16T04:11:00.000Z", "completeDate": "2013-11-21T16:47:18.248Z" } ], "comment": { "comments": [ { "id": "271087", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is related to the terminal shell installed and used by Studio. Need investigation.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-13T18:17:35.000+0000", "updated": "2013-09-13T18:17:35.000+0000" }, { "id": "275357", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~mxia] Hi, any updates on this?\n\nThanks\nRadamantis", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2013-10-16T22:47:13.000+0000", "updated": "2013-10-16T22:47:13.000+0000" }, { "id": "275993", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rtlechuga] We will take a look at it in the next sprint for 3.2.0.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T19:45:09.000+0000", "updated": "2013-10-21T19:45:09.000+0000" }, { "id": "279285", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "When I started investigating the problem, I assumed the error is cropping up from Windows, or bash shell environment used by Studio due to incorrect PATH being set.\r\n\r\nHowever, as I investigated this one, this error turns out to be coming from CLI itself. While it parses the input args and commands, it assumes the process attached to titanium command is only 'node', and does not consider the windows process 'node.exe'. Though it tries to slice the 1st arg (node) process, since Windows has the complete path (C:\\Program Files\\NodeJS\\node.exe), it fails to slice it and then, it fails as it could not find titanium as a valid command.\r\n\r\nThe fix should be to consider node.exe (slicing the last 8 chars) as a valid process along with node. However, looking at the latest 3_1_X code, the fix is already in place to handle the case for 'node.exe'.\r\n\r\n[~cbarber] - please add if you have any inputs for this.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T02:21:54.000+0000", "updated": "2013-11-13T02:22:50.000+0000" }, { "id": "279286", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as Fixed., as the latest CLI 3_1_X looks already fixed this issue.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T02:22:33.000+0000", "updated": "2013-11-13T02:22:33.000+0000" }, { "id": "279564", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nWindows 7\nAppcelerator Studio, build: 3.2.0.201311140721\nTitanium SDK, build: 3.2.0.v20131113183932\nCLI: 3.2.0\nAlloy: 1.3.0\n\nTitanium commands work in Studio terminal.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T17:51:45.000+0000", "updated": "2013-11-14T17:51:45.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }