{ "id": "112304", "key": "TIMOB-13431", "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": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15399", "description": "2013 Sprint 08 JS", "name": "2013 Sprint 08 JS", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-13T03:44:29.000+0000", "created": "2013-04-06T02:55:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "liveview", "qe-3.1.0", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27669", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "112404", "key": "TIMOB-13445", "fields": { "summary": "LiveView: Android - app not updated in realtime based on source code changes", "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": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-03T20:59:52.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": "LiveView: iOS Simulator LiveView fails to run.\r\n\r\nDisabling LiveView allows app to build and run successfully.\r\n\r\nLogs attached.\r\n\r\nTest Steps:\r\n\r\n1. Open Appcelerator Studio.\r\n2. Create Titanium Project w/Appcelerator Services.\r\n3. Run Configurations... iOS Simulator => LiveView Enabled => Run.\r\n\r\nActual Result:\r\n\r\nApp fails to build. Fails on terminal and Appcelerator Studio. See logs.", "attachment": [ { "id": "37110", "filename": "live-ios-terminal.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-06T02:56:43.000+0000", "size": 13959, "mimeType": "text/plain" }, { "id": "37111", "filename": "liveview-ios-studio.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-06T02:56:43.000+0000", "size": 17350, "mimeType": "text/plain" } ], "flagged": false, "summary": "LiveView: iOS Simulator LiveView fails to build", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "JDK: 1.6.0_43\r\nPython: 2.7.2\r\nAnt: 1.8.2\r\nGperf: 3.0.3\r\nGit: 1.7.12.4\r\nNode.js: 0.8.22\r\nNPM: 1.2.14\r\nTitanium CLI: 3.1.0-beta\r\nAlloy: 1.1.0-beta\r\nNode.ACS: 0.9.34\r\nCode Processor: 1.0.0-beta\r\nLiveView: 0.1.0-beta\r\ncommonjs/ti.cloud: 2.3.2\r\nandroid/ti.cloudpush: 2.1.0\r\nandroid/facebook: 3.0.0\r\niphone/facebook: 3.1.1\r\nXcode: 4.6.1 w/Command Line Tools\r\niTunes: 11.0.2\r\nAndroid SDK Tools: r21.1\r\nAndroid NDK: r8e\r\nBlackBerry NDK: 10.0.9.1673\r\nTizen SDK: 2.0\r\nandroid/com.crittercism.ti: 1.0.1\r\niphone/com.crittercism.ti: 1.0.1\r\nplugins/com.soasta.touchtest: 1.0\r\nTitanium SDK: 3.1.0.v20130404173046\r\nOS: OS X Mountain Lion 10.8.3\r\nAppcelerator Studio: 3.1.0.201304022134 w/JDK 3.7.2", "comment": { "comments": [ { "id": "246210", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "It seems that you have multiple LiveView servers running. Not sure how that's possible, but we should certainly fix it by randomly picking a port above 1024 until we get one that's available. This would be done here: https://github.com/appcelerator/liveview/blob/master/lib/fserver.js#L20.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-06T22:28:04.000+0000", "updated": "2013-04-06T22:28:04.000+0000" }, { "id": "246435", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem is the hook got installed twice. The port can not be randomly assigned since it is replaced in the liveview.js file on build. I will do a double check that the hook is not already installed.", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T17:15:53.000+0000", "updated": "2013-04-08T17:15:53.000+0000" }, { "id": "246569", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed https://github.com/appcelerator/liveview/tree/0.1.1-cr\n", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T01:34:20.000+0000", "updated": "2013-04-09T01:34:20.000+0000" }, { "id": "247162", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug behavior is present in Appcelerator Studio 3.1.0.201304091724\r\n\r\nReopening and assigning to Michael.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T21:01:46.000+0000", "updated": "2013-04-11T21:01:46.000+0000" }, { "id": "247195", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The bin directories under packaged node_modules/liveview source were not included in the build due to .gitignore. Pushed the fix, and it's available in 3.1.0.201304111438 and after.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T22:44:49.000+0000", "updated": "2013-04-11T22:44:49.000+0000" }, { "id": "247353", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening.\r\n\r\nAppcelerator Studio 3.1.0.201304111438\r\nLiveView version 0.1.2-cr\r\nCLI version 3.1.0-cr\r\n\r\nti config 'paths.hooks' output:\r\n{code}\r\npaths.hooks = [\"/Users/fcasali/tools/Appcelerator_Studio_versions/Appcelerator_Studio 6/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1365715671/node_modules/liveview/hook\"]\r\n{code}\r\n\r\nSteps to reproduce:\r\n1. Create two separate projects.\r\n2. Build/run first project with LiveView enabled\r\nResult: project runs correctly and LiveView works as expected\r\n3. Build/run the first project again\r\nResult: project runs correctly and LiveView works as expected\r\n4. build/run the second project\r\nResult: project fails to build and bug behavior is reproduced\r\n\r\n5. kill node processes (killall node) and run again the second project\r\nResult: project runs correctly and LiveView works as expected.\r\n6. Build/run the first project\r\nResult: project fails to build and bug behavior is reproduced\r\n\r\nSame results if directly running from terminal the liveView command used by Studio; in my case: \r\n{code}\r\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"build\" \"--platform\" \"iphone\" \"--sdk\" \"3.1.0.v20130411190058\" \"--log-level\" \"trace\" \"--target\" \"simulator\" \"--ios-version\" \"6.1\" \"--device-family\" \"iphone\" \"--sim-version\" \"6.1\" \"--liveview\"\r\n{code}", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T21:41:22.000+0000", "updated": "2013-04-12T21:42:04.000+0000" }, { "id": "247390", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/liveview/pull/12", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T23:45:18.000+0000", "updated": "2013-04-12T23:45:18.000+0000" }, { "id": "263581", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the default alloy app launches successfully with LiveView on the following configuration:\r\n\r\nAppcelerator Studio, build: 3.1.2.201307261628\r\nLiveView feature 1.0.0.201307261639\r\nLiveView version 0.1.29\r\nCLI 3.1.1\r\nSDK 3.1.2.v20130723160131\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T00:47:35.000+0000", "updated": "2013-07-29T00:47:35.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }