{ "id": "145057", "key": "TIMOB-18604", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-02-23T19:01:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engTriage", "qe-3.5.1" ], "versions": [ { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-07T00:24:40.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" }, { "id": "10207", "name": "Tooling" } ], "description": "h5.Description\r\n\r\nWhen navigating to the LiveView folder within the Studio plugins and running the command ./liveview-server status all the LiveView servers that have been started since LiveView was installed are listed. \r\n\r\nHowever if you run *ps aux | grep node* it will show only one or none LiveView processes running.\r\n\r\nIf you try to kill the servers using ./liveview-server stop then it will attempt to kill the servers and will print out the following for each server.\r\n\r\n{code}\r\n[LiveView] Closing file/event server process id: 10716\r\n[LiveView] Error closing server { [Error: kill ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'kill' }\r\n{code}\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. From Studio build a few projects with LiveView enabled, making sure to terminate them once the app has launched and LiveView has connected\r\n2. Navigate to the LiveView folder at /Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1424300841/node_modules/liveview/bin \r\n\r\n3. Run ./liveview-server status\r\n4. Run .ps aux | grep node\r\n5. Run ./liveview-server stop\r\n\r\nh5.Actual Result\r\n\r\n3. Multiple liveview servers will be listed\r\n4. Only one liveview server will be shown as running, as expected\r\n5. LiveView will attempt to kill the servers but it will fail\r\n\r\nh5.Expected Result\r\n\r\nLiveView should not list inactive servers as active", "attachment": [ { "id": "54234", "filename": "consoleOutput.txt", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-02-23T19:05:46.000+0000", "size": 10985, "mimeType": "text/plain" } ], "flagged": false, "summary": "LiveView: Running liveview-server status shows that LiveView servers are running when they are not", "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": "Mac OSX 10.10.2\r\nAppcelerator Studio, build: 3.4.2.201502181619\r\nTitanium SDK build: 3.5.1.v20150219140555\r\nTitanium CLI, build: 3.4.2-alpha\r\nAlloy: 1.5.1\r\nLiveView 1.0.7", "comment": { "comments": [ { "id": "374573", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is still an issue. Just discovered it, but nothing changed in performance of my machine after killing about 40 servers (you would expect cpu/memory usage drop). Got the error too. ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-01-14T14:50:53.000+0000", "updated": "2016-01-14T14:50:53.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }