{ "id": "111153", "key": "TIMOB-13354", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-06T03:42:48.000+0000", "created": "2013-03-13T17:24:17.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "27658", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "112632", "key": "AC-2174", "fields": { "summary": "Studio: titanium status error", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29376", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "109822", "key": "TIMOB-12771", "fields": { "summary": "CLI: Logging out after already being logged out throws error", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T22:22:12.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": "1. Download Titanium Studio and install it.(on clean machine, it should be first attempt to install Titanium)\r\n2. Allow Studio install everything it asks (SDK, Alloy, etc.)\r\n3. Open shell and try execute titanium -v. And you will see error.\r\nTypeError: Cannot call method 'match' of undefined\r\n\r\nWorkaround:\r\nexecute in console\r\ntitanium setup \r\nand configure your appcelerator account\r\n\r\nshould note that in Titanium Studio I was successfully logged in before. But CLI ignores this login\r\n\r\nFull error log:\r\naod@ubntu:~/tizen-sdk/tools/ide/bin$ node -v\r\nv0.8.18\r\naod@ubntu:~/tizen-sdk/tools/ide/bin$ titanium -v\r\n3.0.24\r\naod@ubntu:~/tizen-sdk/tools/ide/bin$ \r\n/usr/lib/node_modules/titanium/node_modules/node-appc/lib/analytics.js:180\r\n\t\t\t\tsessionCookie = status.cookie.match(/(PHPSESSID=[A-Za-z0-9]+)/),\r\n\t\t\t\t ^\r\nTypeError: Cannot call method 'match' of undefined\r\n at /usr/lib/node_modules/titanium/node_modules/node-appc/lib/analytics.js:180:35\r\n at async.parallel (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:476:17)\r\n at async.forEach (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:94:25)\r\n at async.parallel (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:473:21)\r\n at process.on.async.parallel.osinfo (/usr/lib/node_modules/titanium/node_modules/node-appc/lib/analytics.js:56:5)\r\n at module.exports.getOSInfo (/usr/lib/node_modules/titanium/node_modules/node-appc/lib/environ.js:215:4)\r\n at ChildProcess.exithandler (child_process.js:538:7)\r\n at ChildProcess.EventEmitter.emit (events.js:99:17)\r\n at maybeClose (child_process.js:638:16)\r\n at Process._handle.onexit (child_process.js:680:5)\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI commands does not work after setup", "creator": { "name": "aodukha", "key": "aodukha", "displayName": "Anatoliy Odukha", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aodukha", "key": "aodukha", "displayName": "Anatoliy Odukha", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ubuntu 12.04", "comment": { "comments": [ { "id": "256372", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-12771. This shouldn't be a problem if you \"titanium login\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-06T03:42:48.000+0000", "updated": "2013-06-06T03:42:48.000+0000" }, { "id": "414092", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:22:12.000+0000", "updated": "2017-03-20T22:22:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }