{ "id": "172012", "key": "TIMOB-26267", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-06-11T14:11:39.000+0000", "created": "2018-08-04T14:20:45.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-06-11T14:11:39.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": "When using {{liveview server stop}} to stop all connections, the following error occurs:\r\n{code}\r\n[LiveView] Closing file/event server process id: 39542\r\n [LiveView] Error closing server { Error: kill ESRCH\r\n at Object._errnoException (util.js:992:11)\r\n at process.kill (internal/process.js:183:18)\r\n at /Users/hknoechel/Documents/dev/liveview/lib/fserver.js:97:12\r\n at Array.forEach ()\r\n at Object.FServer.stop (/Users/hknoechel/Documents/dev/liveview/lib/fserver.js:92:7)\r\n at Object. (/Users/hknoechel/Documents/dev/liveview/bin/liveview-server:45:25)\r\n at Module._compile (module.js:652:30)\r\n at Object.Module._extensions..js (module.js:663:10)\r\n at Module.load (module.js:565:32)\r\n at tryModuleLoad (module.js:505:12) code: 'ESRCH', errno: 'ESRCH', syscall: 'kill' }\r\n{code}\r\nIt seems to error out, but after checking with {{liveview server status}}, they have been killed properly.", "attachment": [], "flagged": false, "summary": "LiveView: Calling \"liveview server stop\" causes exception, but stops connections", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "LiveView 1.2.2.", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "439800", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Liveview doesn't always clean up after itself properly, so the liveview process will be killed but the pid file will not be removed which causes an ESRCH error (no such process). We should squash those errors so they don't get logged. \r\n\r\nI'd love to do a refactor on the liveview command line before it sees any proper usage, it's kinda crufty right now. Personally I wouldn't view changing the commands as a breaking change we've never advertised them for usage (due to shipping in Studio), with shipping in the appc cli/as a separate module they will be part of our \"API contract\" so we should do it before the transition happens.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-08-04T21:35:44.000+0000", "updated": "2018-08-04T21:35:44.000+0000" }, { "id": "440547", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/liveview/pull/115", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-08-07T14:38:26.000+0000", "updated": "2018-08-07T14:38:26.000+0000" }, { "id": "455760", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-11T14:11:20.000+0000", "updated": "2020-06-11T14:11:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }