{ "id": "151745", "key": "TIMOB-19673", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "18017", "name": "windowslib 0.4.5", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-06T05:48:15.000+0000", "created": "2015-10-06T05:26:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "issuelinks": [ { "id": "49200", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151477", "key": "TIMOB-19576", "fields": { "summary": "Windows: CLI Support targeting Windows 10 platform", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-14T18:26:49.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": "10207", "name": "Tooling" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "{{windowslib.visualstudio.detect}} failed to detect Visual Studio 2015, when it is installed to the path which contains space. \r\n\r\n{code}\r\nPS > npm run-script test-visualstudio\r\n\r\n> windowslib@0.1.15 test-visualstudio windowslib\r\n> mocha --require test/init --reporter spec --check-leaks test/test-visualstudio\r\n\r\n\r\n\r\n visualstudio\r\n √ namespace should be an object\r\n 1) detect should find Visual Studio installations\r\n\r\n\r\n 1 passing (500ms)\r\n 1 failing\r\n\r\n 1) visualstudio detect should find Visual Studio installations:\r\n Uncaught AssertionError: expected null to be a string\r\n at Assertion.fail (windowslib\\node_modules\\should\\lib\\assertion.js:113:17)\r\n at Assertion.prop.(anonymous function) [as String] (windowslib\\node_modules\\should\\lib\\ass\r\nertion.js:39:14)\r\n at checkVisualStudio (windowslib\\test\\test-visualstudio.js:73:42)\r\n at windowslib\\test\\test-visualstudio.js:34:4\r\n at finalize (windowslib\\lib\\visualstudio.js:64:4)\r\n at windowslib\\lib\\visualstudio.js:218:5\r\n at done (windowslib\\node_modules\\async\\lib\\async.js:132:19)\r\n at windowslib\\node_modules\\async\\lib\\async.js:32:16\r\n at windowslib\\lib\\visualstudio.js:187:10\r\n at ChildProcess. (windowslib\\node_modules\\node-appc\\lib\\subprocess.js:60:3)\r\n at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n at maybeClose (child_process.js:753:16)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:5)\r\n{code}\r\n\r\nIt is because some spaces in {{vcvarsall}} variable is not properly escaped. \r\n\r\n{code}\r\n## output from console.log(vcvarsall);\r\nC:\\PROGRA~2\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\r\n{code}\r\n\r\nI was able to fix it locally, here's a PR: https://github.com/appcelerator/windowslib/pull/22", "attachment": [], "flagged": false, "summary": "windowslib: visualstudio.detect failed for VS 2015", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "* Windows 8.1 Pro, Windows 10 Pro\r\n* Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL\r\n* Microsoft Visual Studio Professional 2013 Version 12.0.31101.00 Update 4\r\n* Microsoft .NET Framework Version 4.6.00081\r\n", "closedSprints": [ { "id": 614, "state": "closed", "name": "2016 Sprint 07 SDK", "startDate": "2016-03-26T00:38:56.432Z", "endDate": "2016-04-09T00:38:00.000Z", "completeDate": "2016-04-11T04:41:08.231Z", "originBoardId": 114 }, { "id": 494, "state": "closed", "name": "2015 Sprint 20 SDK", "startDate": "2015-09-26T00:29:19.845Z", "endDate": "2015-10-10T00:29:00.000Z", "completeDate": "2015-10-12T05:33:30.964Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "366042", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/windowslib/pull/22", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T07:39:20.000+0000", "updated": "2015-10-07T07:39:20.000+0000" }, { "id": "368874", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro\r\nAppc Core: 5.1.0-42\r\nAppc NPM: 4.2.1\r\nTi SDK: 5.1.0.v2015102819002\r\n\r\nWhen running {{appc ti info}} Visual Studio 2015 is detected and when running the Visual Studio tests in windowslib they now pass\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-11-03T21:22:41.000+0000", "updated": "2015-11-03T21:22:41.000+0000" }, { "id": "381813", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "windowslib: https://github.com/appcelerator/windowslib/pull/35\r\ntitanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/7918\r\ntitanium_mobile_5_3_X: https://github.com/appcelerator/titanium_mobile/pull/7919", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-06T01:15:18.000+0000", "updated": "2016-04-06T01:15:18.000+0000" }, { "id": "382747", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, running {{appc ti info}} Visual Studio 2015 is detected. Additionally experienced in issue with MSBuild detection when Visual Studio was installed on a secondary drive, but this issue has now been addressed.\r\n\r\nTested on: \r\nWindows 10 Home & Pro \r\nAppc Studio: 4.6.0.201604141457\r\nTi SDK: 5.3.0.v20160414094426\r\nAppc NPM: 4.2.5-1 \r\nAppc Core: 5.3.0-12 \r\nNode: v4.4.2\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-14T18:21:40.000+0000", "updated": "2016-04-14T18:26:36.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }