{ "id": "145798", "key": "TIMOB-18706", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-17T00:24:16.000+0000", "created": "2015-03-16T20:53:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-4.0.0", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-20T00:00:45.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Details:* Cannot build Titanium project on a Windows machine; longjohn error is returned.\r\n\r\n*Note:* This is a *regression* from SDK build 3.5.1.GA i.e. I can build a Titanium project with SDK 3.5.1.GA.\r\n\r\n*Steps to reproduce:*\r\n1. Create a Titanium project from CLI\r\n2. Run: {{ti build}}\r\n\r\n*Actual:* Longjohn error is returned:\r\n{code}\r\nC:\\Users\\QE\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Object.keys called on non-object\r\n at Function.keys (native)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\lib\\windowsphone.js:89:16\r\n at done (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\node_modules\\async\\lib\\async.js:135:19)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\node_modules\\async\\lib\\async.js:32:16\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\lib\\windowsphone.js:85:5\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\node-appc\\lib\\subprocess.js:60:3)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:766:16)\r\n at Socket. (child_process.js:979:11)\r\n---------------------------------------------\r\n at Object.run (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\node-appc\\lib\\subprocess.js:59:8)\r\n at async.each.results.issues.push.id (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\lib\\windowsphone.js:64:20)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\node_modules\\async\\lib\\async.js:125:13\r\n at Array.forEach (native)\r\n at _each (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\node_modules\\async\\lib\\async.js:46:24)\r\n at async.each (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\node_modules\\async\\lib\\async.js:124:9)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\lib\\windowsphone.js:63:9\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.v20150313181810\\node_modules\\windowslib\\lib\\utilities.js:48:3\r\n{code}\r\n\r\n*Expected:* Should be able to build and run the Titanium project on a Windows machine.", "attachment": [], "flagged": false, "summary": "Windows: Build- Cannot build Titanium project on a Windows machine", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK build: 4.0.0.v20150313181810\r\nCLI build: 3.4.2\r\nOS: Windows 8 (64-bit)\r\nNode: 0.10.36", "comment": { "comments": [ { "id": "346121", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is windowslib supposed to be on 4.0.0? I wonder if we need to fix something based on the titanium_prep changes we made.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T20:58:46.000+0000", "updated": "2015-03-16T20:58:46.000+0000" }, { "id": "346133", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~wluu] when was this last tested?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T22:08:57.000+0000", "updated": "2015-03-16T22:08:57.000+0000" }, { "id": "346134", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Today, before 12:00 pm. I was verifying a ticket in Arrow.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T22:14:03.000+0000", "updated": "2015-03-16T22:14:03.000+0000" }, { "id": "346141", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~wluu] Did it fail then? I mean, when is the last time it worked?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T22:45:53.000+0000", "updated": "2015-03-16T22:45:53.000+0000" }, { "id": "346144", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Ooo. I'm not sure when it last worked on SDK 4.0.0 branch. But, it did work on SDK 3.5.1.GA.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T22:50:49.000+0000", "updated": "2015-03-16T22:50:49.000+0000" }, { "id": "346145", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Problem :\r\nThe Windows Phone SDK isn't installed causing the registry paths to be invalid. This causes\r\n\r\n_results.windowsphone_ to still be _null_ when it hits\r\n\r\n_windowsphone.js_\r\n{quote}\r\nL89: if (!Object.keys(results.windowsphone).length) {\r\n{quote}\r\n\r\nSolution :\r\nInitialize _results.windowsphone_ to not be _null_\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/6730", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T22:52:21.000+0000", "updated": "2015-03-16T22:53:14.000+0000" }, { "id": "346156", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR : https://github.com/appcelerator/windowslib/pull/12", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-17T00:01:07.000+0000", "updated": "2015-03-17T00:01:07.000+0000" }, { "id": "346160", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/6731\r\n4_0_X: https://github.com/appcelerator/titanium_mobile/pull/6732", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-03-17T01:02:08.000+0000", "updated": "2015-03-17T01:02:08.000+0000" }, { "id": "346343", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR ok. PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-18T06:44:59.000+0000", "updated": "2015-03-18T06:44:59.000+0000" }, { "id": "346617", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that you can build a Titanium project on a Windows machine.\r\n\r\nTested on:\r\n\r\nSDK build: 4.0.0.v20150317234215\r\nCLI build: 4.0.0-alpha\r\nOS: Windows 8 (64-bit) ", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-19T23:47:10.000+0000", "updated": "2015-03-19T23:47:10.000+0000" }, { "id": "346621", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed. Thanks!", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-20T00:00:08.000+0000", "updated": "2015-03-20T00:00:08.000+0000" }, { "id": "346622", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "No problem!", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-20T00:00:38.000+0000", "updated": "2015-03-20T00:00:38.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }