{ "id": "118461", "key": "TIMOB-14877", "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": "15695", "description": "2013 Sprint 20", "name": "2013 Sprint 20", "archived": true, "released": true, "releaseDate": "2013-10-04" }, { "id": "15698", "description": "2013 Sprint 20 Tooling", "name": "2013 Sprint 20 Tooling", "archived": true, "released": true, "releaseDate": "2013-10-04" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-09-30T17:20:08.000+0000", "created": "2013-08-13T22:53:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.2" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "31470", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119080", "key": "TIMOB-14959", "fields": { "summary": "Android: LiveView related Exception occurs while building android project intermittently", "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": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-28T23:51:19.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h5. Description:\r\nWhen trying to launch a liveview instance on Windows 7 in the emulator, the command was unrecognized and the launch failed. Here is the console output:\r\n{code}\r\n[INFO] : Emulator process exited successfully\r\n'\"C:\\Users\\tester\\AppData\\Local\\Appcelerator Studio\\plugins\\com.appcelerator.titanium.liveview.core_1.0.0.1375925433\\node_modules\\liveview\\bin\\liveview-server\"' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n[INFO] : Project built successfully in 2s 633ms\r\n[INFO] : Emulator not running, exiting...\r\n[LiveView] version 0.1.32\r\n[LiveView] { [Error: listen EADDRINUSE] code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen' }\r\n[LiveView] File Server Started on Port 8324\r\nAddress in use, retrying...\r\n[LiveView] [Error: Not running]\r\n{code}\r\n\r\nSubsequent attempts on device also failed with the same error. Attempts on our windows 8 machines also failed with the same error on device and emulator.\r\n\r\nh5. Steps to reproduce:\r\n1) Ensure the plugin version of liveview is uninstalled\r\n2) Update to the latest RC studio version for windows\r\n3) Launch an emulator or device build with liveview enabled\r\n\r\nh5. Result:\r\nFailure to install/launch and errors in the console\r\n\r\nh5. Expected Result:\r\nEmulator or device build launches, liveview event/file servers working, liveview functions as expected on device or emulator.", "attachment": [], "flagged": false, "summary": "Liveview: Unable to launch liveview enable session for device or emulator on windows", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.8.4\r\nSafari: 6.0.4\r\nXcode 4.6.2\r\nCLI: 3.1.2-alpha\r\nAlloy: 1.2.0-alpha6\r\nAppcelerator Studio, build: 3.1.2.201308091728\r\nTitanium SDK version 3.1.2.v20130807171139", "comment": { "comments": [ { "id": "266343", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Praveen investigated and found that cleaning the project did help to resolve the issue. It lowers the priority some, but we should still look into potential cause for why liveview-server command wasn't being recognized.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T23:19:39.000+0000", "updated": "2013-08-13T23:19:39.000+0000" }, { "id": "268496", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem was observed by a customer as well, and cleaning the project didn't help for them. Also they were actually not trying to run the app with LiveView, but because the liveview hook is already in \"ti config\", the liveview-server executable is still being referenced somehow and causes the app to fail. The only workaround for them is to remove the liveview hook manually from the command prompt.\n\n[~csullivan] Could you take a look at this for 3.1.3? Thanks.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-27T23:27:10.000+0000", "updated": "2013-08-27T23:27:10.000+0000" }, { "id": "272996", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mxia] I have tested on windows 7 & 8 and I am able to run liveview fine, but I think there might be an issue with how the cli is handling the hook if it is executing liveview even if it is not enabled. Any ideas [~cbarber] ?", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-26T17:35:41.000+0000", "updated": "2013-09-26T17:35:41.000+0000" }, { "id": "272997", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~csullivan] [~mxia] If a CLI plugin is in the global paths.plugins setting, then all plugins found in those paths are loaded for every CLI command. The only time a plugin is conditionally loaded is when it's being loaded via the tiapp.xml.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-09-26T17:44:09.000+0000", "updated": "2013-09-26T17:44:09.000+0000" }, { "id": "273199", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce can we please get a bit more info from the customer.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-27T17:13:44.000+0000", "updated": "2013-09-27T17:13:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }