{ "id": "162735", "key": "TIMOB-23800", "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": "18290", "name": "windowslib 0.4.19", "archived": false, "released": true, "releaseDate": "2016-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-25T19:59:03.000+0000", "created": "2016-08-22T17:49:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-6.0.0", "regression" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-05T16:05:24.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building to a Windows Mobile device or emulator that already has a different Titanium application installed the CLI will hang on the install of the application, it appears that similar to TIMOB-23762 the error code/message has been changed in the new tooling.\r\nRunning winappdeploycmd manually gives me the below. Code appears to be {{2148734208}}\r\n\r\n{code}\r\nC:\\Users\\Ewan\\Documents\\Appcelerator_Studio_Workspace\\preprodalloy>\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" install -file C:\\Users\\Ewan\\Documents\\Appcelerator_Studio_Workspace\\preprodalloy\\build\\windows\\win10.ARM\\AppPackages\\Preprodalloy\\Preprodalloy_1.0.0.0_Debug_Test\\Preprodalloy_1.0.0.0_ARM_Debug.appxbundle -ip 127.0.0.1\r\nWindows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nOpening connection to device at '127.0.0.1'.\r\n\r\nInstalling app...\r\nDisconnecting.\r\n\r\n0x80131500 - Failed to install or update package: Unspecified error\r\n0x80131500 - Unspecified error\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Build an application to a Windows mobile device or emulator\r\n# Without uninstalling the previous app, build a different app to a Windows mobile device or emulator\r\n\r\nh5.Actual result\r\n\r\nThe CLI seems to hang on install\r\n\r\nh5.Expected result\r\n\r\nAs with previous SDKs the CLI should log an error to the user telling them to uninstall the other app", "attachment": [], "flagged": false, "summary": "Windows: CLI hangs on install of app when a different app is installed", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro \r\nAppc core: 6.0.0-26 \r\nAppc NPM: 4.2.8-5 \r\nTi SDK: 6.0.0.v20160822001523\r\nLumia 930: 10.0 ", "closedSprints": [ { "id": 695, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2016-08-13T00:00:16.620Z", "endDate": "2016-08-27T00:00:00.000Z", "completeDate": "2016-08-29T03:18:08.942Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "393904", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/windowslib/pull/54\r\n\r\nNote: This needs to be pushed to {{titanium_mobile 6_0_X}} in order to close this ticket.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-23T05:52:00.000+0000", "updated": "2016-08-23T05:52:00.000+0000" }, { "id": "394477", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[6_0_X] https://github.com/appcelerator/titanium_mobile/pull/8272\r\n[master] https://github.com/appcelerator/titanium_mobile/pull/8275\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-26T05:16:15.000+0000", "updated": "2016-08-26T05:16:15.000+0000" }, { "id": "395341", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nOS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-38\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160904203840\r\n\r\nCLI no longer hangs and the correct error message is now output\r\n\r\n{code}\r\n[ERROR] : Error: A debug application is already installed, please remove existing debug application\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.0.0.v20160901034311\\node_modules\\windowslib\\lib\\wptool.js:836:15)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at maybeClose (internal/child_process.js:829:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n{code}\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-05T16:05:17.000+0000", "updated": "2016-09-05T16:05:17.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }