{ "id": "160919", "key": "TIMOB-23484", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18198", "name": "windowslib 0.4.15", "archived": false, "released": true, "releaseDate": "2016-07-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-11T04:54:58.000+0000", "created": "2016-06-08T17:34:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "52994", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "163601", "key": "TIMOB-23976", "fields": { "summary": "Windows: Unable to build to a Windows 10 device if no Windows 10 emulators are 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 } } } }, { "id": "51976", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "160786", "key": "TIMOB-23480", "fields": { "summary": "CLI: Can't launch any app (Android, Mobileweb) on Windows 10 OS", "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": "52871", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "161877", "key": "TIMOB-23662", "fields": { "summary": "Windows: can't detect Windows Phone SDK if no emulator 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 } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-11T04:55:05.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 uses a custom tool called \"wptool\" to detect connected Windows Phone devices. \"wptool\" uses assemblies that are distributed with Visual Studio and it was designed such that \"wptool\" is compiled before executing. This obviously requires Visual Studio. If VS is not installed, it returns the error:\r\n\r\n{code}\r\nError: Did not find support for WP SDK 8.0. Cannot enumerate devices.\r\n{code}\r\n\r\nWhile the device detection API may return an error, {{windowslib.detect()}} should ignore the error and return successfully.", "attachment": [], "flagged": false, "summary": "windowslib: don't hard error when detecting devices if Visual Studio is not installed", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "388097", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I am also getting this error but on Windows 7. Is that to be expected w/ this issue? Thanks!", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2016-06-10T21:04:19.000+0000", "updated": "2016-06-10T21:04:19.000+0000" }, { "id": "388099", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~brentonhouse] Yeah, this affects all versions of Windows. It's already fixed if you pull a CI build.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-06-10T21:13:46.000+0000", "updated": "2016-06-10T21:13:46.000+0000" }, { "id": "388101", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "[~cbarber] Thanks!!", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2016-06-10T21:27:13.000+0000", "updated": "2016-06-10T21:27:13.000+0000" }, { "id": "388995", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "windowslib: https://github.com/appcelerator/windowslib/pull/48", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-24T02:00:43.000+0000", "updated": "2016-06-24T02:00:43.000+0000" }, { "id": "392104", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*TEST CASE*\r\n1. Remove Visual Studio\r\n2. Detect devices {{appc ti info}}\r\n\r\n*Before Fix*\r\n- Detecting devices would fail with an error\r\n\r\n*After Fix*\r\n- Detecting devices should not throw an error", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-01T09:27:53.000+0000", "updated": "2016-08-01T09:30:00.000+0000" }, { "id": "394128", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro\r\nAppc CLI: 6.0.0-31\r\nAppc NPM: 4.2.8-5\r\nTi SDK: 6.0.0.v20160823163945\r\n\r\nWhen VS is not installed, appc ti info now outputs Windows information and does not error on detecting devices.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-08-24T17:59:13.000+0000", "updated": "2016-08-24T17:59:13.000+0000" }, { "id": "395076", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening ticket:\r\n\r\nWindows 10 Pro \r\nAppc CLI: 6.0.0-36\r\nAppc NPM: 4.2.8-6 \r\nTi SDK: 6.0.0.v20160901004900\r\nLumia 930 10.0\r\n\r\nWith only Windows 10 tooling installed I am unable to build to device. I have traced the issue back to an error being thrown [here|https://github.com/appcelerator/windowslib/blob/master/lib/wptool.js#L233]. As an error is being thrown the [device is not returned|https://github.com/appcelerator/windowslib/blob/master/lib/device.js#L56] so devices [here|https://github.com/appcelerator/windowslib/blob/master/lib/device.js#L140] is empty and the build process will error out with {{\\[ERROR\\] Unable to find a Windows Phone device with the UDID \"00000015-4e57-1877-0000-000000000000\"}}\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-01T10:42:12.000+0000", "updated": "2016-09-01T10:42:12.000+0000" }, { "id": "397501", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Can {{ti info \\-p windows \\-o json}} detect devices for you? Is there any difference between {{ti info \\-p windows \\-o json}} and {{appc ti info \\-p windows \\-o json}}? Do you see same error when you specify {{--wpsdk 10.0}}? I have experienced similar issue too that happens intermittently and it's not frequent.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-28T12:20:19.000+0000", "updated": "2016-09-28T12:20:19.000+0000" }, { "id": "397654", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kota] I've tried to reproduce this again today but for the life of me could not\r\n\r\nTo answer your questions currently:\r\n\r\n* Device is detected with no issues, no difference between appc ti and ti\r\n* I see no difference between building with and without {{--wp-sdk 10.0}}\r\n* I've also seen this error intermittently before but this time was different, usually it goes after one build, however this stuck with me for hours. Additionally, when I reopened this ticket the error would happen before it begins installing the app to device, when I've seen this before it happens during the checks that take place during/before the build.\r\n\r\nTo answer (what I can) from your questions for when I reopened this ticket\r\n\r\n* Device was detected with no issues in appc ti info, not sure of any difference between appc ti and ti\r\n* I did try with {{--wp-sdk 10.0}} but from what I remember there was no difference\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-29T17:02:50.000+0000", "updated": "2016-09-29T17:02:50.000+0000" }, { "id": "397683", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks [~eharris]. I have experienced very similar issue too. It happens intermittently, and the place where the error raises tends to change for each build. Sometimes it's before the build, and sometimes it happens just before the installation. I strongly suspect Windows deployment tool fails to connect or it crashes/freezes during the build. I discussed with Kiat and EricM about this and we might want to remove the {{6.0.0}} label for now and keep following this up for later release.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T22:29:37.000+0000", "updated": "2016-09-29T22:29:37.000+0000" }, { "id": "398230", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "sounds good to me (y)", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-06T13:44:11.000+0000", "updated": "2016-10-06T13:44:11.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }