{ "id": "160786", "key": "TIMOB-23480", "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": "17972", "name": "Release 5.3.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-08T17:05:04.000+0000", "created": "2016-06-04T05:42:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51974", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "160912", "key": "AC-3803", "fields": { "summary": "Can't build for Android on Windows with 5.3.0.GA SDK", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "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": "51975", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153420", "key": "TIMOB-20057", "fields": { "summary": "Windows: Unable to build for any platform if there is no Visual Studio installed", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51976", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "160919", "key": "TIMOB-23484", "fields": { "summary": "windowslib: don't hard error when detecting devices if Visual Studio is not installed", "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": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-06-17T13:23:13.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" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h3. Steps to Reproduce\nJust install the application Appcelerator to try it o Windows 10\nImport any project\nRun it\n\n\nh3. Actual Result\nFailed with the same log, regardless of the emulator (web, android)\n\nh3. Expected Result\nThat the app runs !\nI remove and re-install countless, no change. I don't make any change on the code, i'm just starting to try the product.", "attachment": [ { "id": "59493", "filename": ".log", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-04T05:42:33.000+0000", "size": 105920, "mimeType": "text/plain" }, { "id": "59491", "filename": ".log", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-04T05:42:23.000+0000", "size": 2789, "mimeType": "text/plain" }, { "id": "59497", "filename": "DAappcinfo.txt", "author": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-05T12:09:34.000+0000", "size": 28698, "mimeType": "text/plain" }, { "id": "59492", "filename": "diagnostic1734682621029102725.log", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-04T05:42:31.000+0000", "size": 22728, "mimeType": "text/plain" }, { "id": "59496", "filename": "info.log", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-05T06:24:19.000+0000", "size": 1679, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: Can't launch any app (Android, Mobileweb) on Windows 10 OS", "creator": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "environment": "Appcelerator Studio 4.6.0", "closedSprints": [ { "id": 641, "state": "closed", "name": "2016 Sprint 12 SDK", "startDate": "2016-06-04T00:30:28.612Z", "endDate": "2016-06-18T00:30:00.000Z", "completeDate": "2016-06-20T04:25:16.065Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "387562", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "Error comes when launching with Titanium 5.3.0.\r\nJust try to change the version to Titanium 5.2.2 and it's working. \r\nDoesn't understand the issue.", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-04T05:56:15.000+0000", "updated": "2016-06-04T05:56:15.000+0000" }, { "id": "387564", "author": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "body": "I have the same issue building on Mac with 5.3.0.\r\nEmulator works fine but trying to run on an iPhone gives gives:\r\n\r\n[ERROR] : An error occurred during build after 1m 9s 138ms\r\n[ERROR] : Failed to start \"com.apple.syslog_relay\" service (0xe800007f)\r\n[ERROR] : Try reconnecting your device and try again.\r\n\r\nSwitch back to 5.2.2 and it works fine.\r\nHave tried reconnecting device, rebooting mac and iPhone multiple times but same error.\r\nin the past just reconnecting iPhone used to fix the Failed to start \"com.apple.syslog_relay\" service error.\r\n\r\n", "updateAuthor": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-04T11:56:12.000+0000", "updated": "2016-06-04T11:57:26.000+0000" }, { "id": "387581", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nThanks for reporting. However it is not possible to identify the problem with so little information. Please give us some more information. We would like to see your environment details. You can get that with the following command in CLI.\r\n{code}\r\nappc info\r\n{code}\r\nThanks in advance\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-05T04:47:46.000+0000", "updated": "2016-06-05T04:47:46.000+0000" }, { "id": "387587", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "The appc info results.", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-05T06:24:27.000+0000", "updated": "2016-06-05T06:24:27.000+0000" }, { "id": "387588", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "here you go : info.log.\r\nIt seems that the Titanium 5.3.0 doesn't work. Works perfectly with the 5.2.2 version.\r\n\r\n", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-05T06:25:12.000+0000", "updated": "2016-06-05T06:25:12.000+0000" }, { "id": "387589", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nIn that case it may be that the SDK is not installed properly. Please re-install the SDK with the following command.\r\n{{appc ti sdk install 5.3.0.GA --force}}\r\n\r\nThanks", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-05T08:46:58.000+0000", "updated": "2016-06-05T08:46:58.000+0000" }, { "id": "387590", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "No, it doesn't work. \r\nThe SDK is well installed and has a problem :\r\n2016-06-05T09:56:05.317Z | ERROR | An uncaught exception was thrown!\r\nCannot read property 'options' of undefined\r\n2016-06-05T09:56:05.318Z | ERROR | Cannot read property 'options' of undefined\r\n2016-06-05T09:56:05.318Z | TRACE | TypeError: Cannot read property 'options' of undefined\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:65:11\r\n at Array.forEach (native)\r\n at set (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:64:24)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:100:6\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\mobileweb\\cli\\commands\\_build.js:105:4\r\n at CLI._fireHookCallback (C:\\Users\\ONYX\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:267:3)\r\n at C:\\Users\\ONYX\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:248:10\r\n at C:\\Users\\ONYX\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:697:13\r\n at C:\\Users\\ONYX\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:52:16\r\n at C:\\Users\\ONYX\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:267:21", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-05T10:00:37.000+0000", "updated": "2016-06-05T10:00:37.000+0000" }, { "id": "387591", "author": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "body": "My appc info results attached as DAappcinfo.txt\r\n\r\nHave tried reinstalling sdk but still having the issue", "updateAuthor": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-05T12:10:51.000+0000", "updated": "2016-06-05T12:11:28.000+0000" }, { "id": "387646", "author": { "name": "fedebot", "key": "fedebot", "displayName": "Federico Botta", "active": true, "timeZone": "Europe/Rome" }, "body": "I have the same issue, \"Cannot read property 'options' of undefined\".\r\nAppcelerator Studio 4.6.0\r\nSDK 5.3.0GA\r\nWindows 10\r\n\r\nAll works well on SDK 5.2.2GA", "updateAuthor": { "name": "fedebot", "key": "fedebot", "displayName": "Federico Botta", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-06-06T14:06:56.000+0000", "updated": "2016-06-06T14:24:13.000+0000" }, { "id": "387647", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nFirst, create a new project with SDK 5.3.0.GA and try to run the project in simulator, device, what have you. If the error still persists, I would recommend installing SDK manually. Download the SDK http://builds.appcelerator.com/mobile-releases/5.3.0/mobilesdk-5.3.0.GA-osx.zip from here. 1. Go to your SDK directory and delete the SDK 5.3.0.GA that is already there. Now, extract the content of the downloaded file. Put the 5.3.0.GA folder in the SDK directory. Or, Go to studio help/install appcelerator SDK/ select the downloaded zip file. Now, restart the studio and try to run the project again.\r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-06T15:10:07.000+0000", "updated": "2016-06-06T15:10:07.000+0000" }, { "id": "387668", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "Still got the same problem. WIth the 5.3.0 and the 6.0.0 SDK.", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-06T18:30:42.000+0000", "updated": "2016-06-06T18:30:42.000+0000" }, { "id": "387761", "author": { "name": "fedebot", "key": "fedebot", "displayName": "Federico Botta", "active": true, "timeZone": "Europe/Rome" }, "body": "The same here, even with a new project and after installing SDK manually.", "updateAuthor": { "name": "fedebot", "key": "fedebot", "displayName": "Federico Botta", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-06-07T15:14:44.000+0000", "updated": "2016-06-07T15:14:44.000+0000" }, { "id": "387849", "author": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "body": "Tried manually installing SDK 5.3.0 GA but still the same.\r\n\r\nNot sure if any use but opening the xcode project created by titanium and building/running from xcode to my iPhone does work for 5.3.0 ", "updateAuthor": { "name": "dave25", "key": "dave25", "displayName": "David Ames", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-08T13:49:55.000+0000", "updated": "2016-06-08T13:49:55.000+0000" }, { "id": "387850", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Can reproduce the issue using the following:\r\n\r\nWindows 10\r\nTi SDK: 5.3.0.GA\r\nAppc Core: 5.3.0\r\nAppc NPM: 4.2.6\r\n*Only Android tools installed*\r\n\r\nWhen Visual Studio and Windows SDK tools are not installed on a Windows machine, building for Android/Mobileweb errors out with the below\r\n\r\n{code}\r\n2016-06-08T15:10:55.412Z | TRACE | TypeError: Cannot read property 'options' of undefined\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:65:11\r\n at Array.forEach (native)\r\n at set (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:64:24)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:100:6\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\mobileweb\\cli\\commands\\_build.js:105:4\r\n at CLI._fireHookCallback (C:\\Users\\ewan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:267:3)\r\n at C:\\Users\\ewan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:248:10\r\n at C:\\Users\\ewan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:697:13\r\n at C:\\Users\\ewan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:52:16\r\n at C:\\Users\\ewan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:267:21\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-06-08T15:11:49.000+0000", "updated": "2016-06-08T15:11:49.000+0000" }, { "id": "387863", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This error occurs due to a change in windowslib where it is returning an error if Visual Studio is not installed instead of just returning the detection results. I've created a ticket to properly fix it: TIMOB-23484.\r\n\r\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-06-08T17:45:11.000+0000", "updated": "2016-06-08T17:45:11.000+0000" }, { "id": "388215", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "*The build that contains this fix can be obtained by running {{appc ti sdk install -b 5_3_X -d}}*\r\n\r\nVerified using:\r\n\r\nWindows 10 Pro\r\nTi SDK: 5.3.1.v20160609013346\r\nAppc NPM: 4.2.7-2 \r\nAppc CLI: 5.3.1-2 \r\n\r\nThe following configurations:\r\n\r\n\r\n||Android tools installed||Visual Studio installed||Universal App tools installed||Windows Phone 8.0/8.1 tools installed||\r\n|(/)|(x)|(x)|(x)|\r\n|(/)|(/)|(x)|(x)|\r\n|(/)|(/)|(/)|(x)|\r\n|(/)|(/)|(/)|(/)|\r\n\r\nBuilding for Android and Mobileweb works in all of the configurations above\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-06-13T18:41:57.000+0000", "updated": "2016-06-13T18:41:57.000+0000" }, { "id": "388224", "author": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "body": "Yes it worked now !\r\nBut not with the 5.3.0 GA installed by the application.\r\nthe Ti SDK: 5.3.1.v20160609013346 installed manually worked.", "updateAuthor": { "name": "dev@naoclis.com", "key": "dev@naoclis.com", "displayName": "Nicolas Castelli", "active": true, "timeZone": "Europe/Paris" }, "created": "2016-06-13T19:46:14.000+0000", "updated": "2016-06-13T19:46:14.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }