{ "id": "112807", "key": "TIMOB-13550", "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": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15417", "description": "2013 Sprint 09 JS", "name": "2013 Sprint 09 JS", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "id": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "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-24T18:43:13.000+0000", "created": "2013-04-13T19:42:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.1.0" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27764", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "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 } } } }, { "id": "27738", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "112790", "key": "TISTUD-4254", "fields": { "summary": "LiveView: Unable to run LiveView on device via studio", "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 } } } }, { "id": "27777", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "112857", "key": "TISTUD-4269", "fields": { "summary": "AppcStudio: Can't configure Android SDK", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27959", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "113134", "key": "TISTUD-4334", "fields": { "summary": "Android SDK not recognized due to live view process??", "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": "Medium", "id": "3" }, "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-07-29T01:24:47.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "iOS Device Run Config: unable to create config with unknown char error: closing running liveview process id.\r\n\r\nProbably related to a previous liveview run, using either android device or iphone simulator.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create an iOS Device run configuration.\r\n\r\nActual Result:\r\n\r\nFailure. Every time.\r\n\r\nExpected Result:\r\n\r\nConfig created successfully, even if liveview was run at some previous time.", "attachment": [ { "id": "37469", "filename": "android sdk preferences.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T17:29:25.000+0000", "size": 245758, "mimeType": "image/png" }, { "id": "37448", "filename": "error.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T19:42:57.000+0000", "size": 469106, "mimeType": "image/png" }, { "id": "37814", "filename": "Screen Shot 2013-04-24 at 3.12.28 PM.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-24T23:45:45.000+0000", "size": 306299, "mimeType": "image/png" }, { "id": "37449", "filename": "studio-log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T19:42:58.000+0000", "size": 691493, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: LiveView process messages result in a Studio freeze or error of some kind", "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": "OS: OS X Mountain Lion 10.8.3\r\nAppcelerator Studio: 3.1.0.201304122134\r\nTitanium CLI: 3.1.0-cr\r\nTitanium SDK: 3.1.0.v20130412191547\r\nAlloy: 1.1.0-cr\r\nLiveView: 0.1.3-cr", "comment": { "comments": [ { "id": "247442", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't get out of this state.\n\nRestarting Studio does not work.\n\nTerminating any running processes using the Studio UI does not work.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T19:56:28.000+0000", "updated": "2013-04-13T19:56:28.000+0000" }, { "id": "247446", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It goes without saying any run on ios device operation will fail.\n\nCan't profile, etc.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T20:20:34.000+0000", "updated": "2013-04-13T20:20:34.000+0000" }, { "id": "247459", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If I run the cli from the command line, I get output like this:\n\n{code}\nDHydeMBP:~ dhyde$ ti -v\n[INFO] Closing running liveview process id:6869\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n[INFO] Closing running liveview process id:6884\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n[INFO] Closing running liveview process id:6899\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n[INFO] Closing running liveview process id:6914\n3.1.0-cr\nDHydeMBP:~ dhyde$ ti -v\n3.1.0-cr\n{code}", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T22:37:49.000+0000", "updated": "2013-04-13T22:37:49.000+0000" }, { "id": "247460", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The iOS Preferences menu will freeze in Studio.\nAny iOS Device run configs will have a UI Error.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T22:39:46.000+0000", "updated": "2013-04-13T22:39:46.000+0000" }, { "id": "247463", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1. iOS Device Run Config\n2. iOS Studio Preferences\n3. command line ti -v calls\n4. ???", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T23:08:01.000+0000", "updated": "2013-04-13T23:08:01.000+0000" }, { "id": "247464", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed added support for --no-colors to LiveView https://github.com/appcelerator/liveview/tree/0.1.4-cr\n", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T23:16:31.000+0000", "updated": "2013-04-13T23:16:31.000+0000" }, { "id": "247476", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed based on Christian's comments.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T02:35:46.000+0000", "updated": "2013-04-14T02:35:46.000+0000" }, { "id": "247489", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I opened the Android SDK preferences menu in Titanium Studio, and I get a liveview error (screenshot attached).\r\n\r\nTitanium Studio, build: 3.1.0.201304132117", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T17:29:25.000+0000", "updated": "2013-04-14T17:30:53.000+0000" }, { "id": "247490", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the same error I see this morning going into the iOS preferences:\n\n{code}\n!ENTRY org.eclipse.jface 4 2 2013-04-14 09:35:19.409\n!MESSAGE Problems occurred when invoking code from plug-in: \"org.eclipse.jface\".\n!STACK 0\njava.lang.IllegalStateException: unknown char 'I'(73) in [|||INFO] Closing running liveview process id:17860\n{\n\"xcode\": {\n\"4.6:4H127\": {\n\"path\": \"/Applications/Xcode.app/Contents/Developer\",\n\"xcodeapp\": \"/Applications/Xcode.app\",\n\"xcodebuild\": \"/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild\",\n\"selected\": true,\n\"version\": \"4.6\",\n\"build\": \"4H127\",\n\"sdks\": [\n\"6.1\"\n{code}", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T17:33:24.000+0000", "updated": "2013-04-14T17:33:24.000+0000" }, { "id": "247491", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For me, editing:\n\n/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1365901334\n\nand commenting out the following lines allows me to get around the issue\n\nnode_modules/liveview/lib/fserver.js: console.log('[INFO]'.green, ' Closing running liveview process id:' + _pid);\nnode_modules/liveview/lib/fserver.js: console.log('\\n[INFO]'.green, ' Closing running liveview process id:' + pid);\n\nThe weird thing is that I don't see that line being printed when I run the CLI directly from the command line, even if I use the exact same call Studio is using.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T17:43:57.000+0000", "updated": "2013-04-14T17:43:57.000+0000" }, { "id": "247492", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@ingo if that fixes it I can just remove that part from the module\n", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T18:07:26.000+0000", "updated": "2013-04-14T18:07:26.000+0000" }, { "id": "247494", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~csullivan] It at least allows the preference pages to open. LiveView itself still doesn't work.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T18:40:53.000+0000", "updated": "2013-04-14T18:40:53.000+0000" }, { "id": "247495", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After updating to the latest Appcelerator Studio version, I found myself into this error state.\nThe biggest problem was that I was not able anymore to run any Android project. Studio was not finding anymore a valid Android version to be used. Opening 'Preferences/Platform/Android' eventually was leading to get Appcelerator Studio stuck and had to kill it from Activity Monitor.\n\nWorkaround from Ingo worked fine, as well as using a brand new version starting from a clean state, so I cannot reproduce the error anymore. Will reopen if I can reproduce it again.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T19:21:19.000+0000", "updated": "2013-04-14T19:21:19.000+0000" }, { "id": "247496", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Going to reopen as the issue with the \"closing process\" message is still causing problems. Christian said he will remove.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-14T20:20:09.000+0000", "updated": "2013-04-14T20:20:09.000+0000" }, { "id": "247582", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "uninstalling latest titanium CLI and Liveview and reinstalling Titanium CLI (existing GA branch), and android SDK is recognized again. Could this be a problem with the clihook?\n\n", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2013-04-15T17:47:22.000+0000", "updated": "2013-04-15T17:47:22.000+0000" }, { "id": "247598", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "also just reinstalled new CLI (3.1.0-cr) and did not install liveview - this issue pops back up. See it across Titanium Studio (3.2.0.201303262408) and Appc Studio ( 3.2.0.201304132149)\n\n", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2013-04-15T17:51:45.000+0000", "updated": "2013-04-15T17:51:45.000+0000" }, { "id": "247612", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "LiveView is included in the Appcelerator Studio application folder, under plugins.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-15T18:07:18.000+0000", "updated": "2013-04-15T18:07:18.000+0000" }, { "id": "247666", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is also impacting Titanium Studio if LiveView is installed separately as explained in https://wiki.appcelerator.org/display/tools/LiveView#LiveView-Testing\n\nMy paths.hooks: [\"/usr/local/lib/node_modules/liveview/bin/../hook\"]\n\nAlso with Titanium Studio (currently on the latest version 3.1.0.201304142146), bug is reproducible, so Android SDK is no longer recognized.\n\nApplying Ingo's workaround to the '/usr/local/lib/node_modules/liveview/lib/fserver.js' file fix the problem.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-15T23:45:14.000+0000", "updated": "2013-04-15T23:45:14.000+0000" }, { "id": "248312", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is either from a hooks path in the config.json that no longer exists or multiple versions of the liveview hook from different directories I think. I can try parsing the hooks path for liveview and not the full path to avoid conflicts from 2 versions in different locations but that would mean if the user installs via npm+git after studio is installed then the npm+git version would be used instead Of the version installed with studio. We should add functionality to the cli hooks system to check the hooks package.json to ensure duplicate hooks are not installed and that studio can force the studio installed hook to be run by default if needed. ", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T06:03:17.000+0000", "updated": "2013-04-19T06:03:17.000+0000" }, { "id": "248313", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The other issue is the liveview post install hook uses the normalized version of the path and the post remove hook looks for the non-normalized hook path to remove", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T06:05:24.000+0000", "updated": "2013-04-19T06:05:24.000+0000" }, { "id": "248978", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updating Appcelerator Studio from 3.1.0.201304151708 to 3.1.1.201304231946 version, I ran in to similar issue with Android SDK (Please see attachment). After *restarting* my machine, I could not reproduce this issue. I was able to install the project on to Android device.\n\n\nOS: OS X Mountain Lion 10.8.3\nAppcelerator Studio: 3.1.1.201304231946\nTitanium CLI: 3.1.0\nTitanium SDK: 3.1.1.v20130423100100\nAlloy: 1.1.1\nLiveView: 0.1.4-cr\nLiveView plugin: com.appcelerator.titanium.liveview.core_1.0.0.1366390662, com.appcelerator.titanium.liveview.core_1.0.0.1365901334\n\n\n\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-24T23:45:15.000+0000", "updated": "2013-04-24T23:45:15.000+0000" }, { "id": "263584", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on the following configuration:\r\n\r\nAppcelerator Studio, build: 3.1.2.201307261628\r\nLiveView feature 1.0.0.201307261639\r\nLiveView package 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-29T01:24:47.000+0000", "updated": "2013-07-29T01:24:47.000+0000" } ], "maxResults": 22, "total": 22, "startAt": 0 } } }