{ "id": "122492", "key": "TIMOB-15721", "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": "15711", "description": "2013 Sprint 24", "name": "2013 Sprint 24", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "15713", "description": "2013 Sprint 24 Core", "name": "2013 Sprint 24 Core", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-27T19:07:27.000+0000", "created": "2013-11-14T23:17:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "exempt", "qe-3.2.0", "qe-closed-3.2.0", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "33231", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121829", "key": "TIMOB-15614", "fields": { "summary": "Tizen: Project fails to install onto phone or simulator", "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 } } } }, { "id": "33415", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123000", "key": "TISTUD-5807", "fields": { "summary": "Tizen - Run>Tizen device builds app to Tizen Emulator ", "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": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-31T17:03:10.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": "12956", "name": "Tizen", "description": "HTML5 os for phones tablets, IVI" } ], "description": "When executing Run> Tizen Device, using Studio Global ToolBar, the app is being built and installed successfully onto device. However, the Studio console returns {code}\r\n[INFO] : CLI command failed with error output:\r\n[INFO] : \r\n{code}\r\n\r\nIf we execute the shell Running process \r\n{code}\r\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-progress-bars\" \"--no-prompt\" \"build\" \"--platform\" \"tizen\" \"--device=0000cbd40000ad1e\" \"--keystore=/Users/oromero/tizen-sdk-data/keystore/author/Keystore.p12\" \"--password=**********\" \"--sdk\" \"3.2.0.v20131113183932\" \"--log-level\" \"trace\" \"--keystoreca=/Users/oromero/tizen-sdk/tools/certificate-generator/certificates/developer/tizen-developer-ca.cer\"\r\n{code}\r\n\r\nvia terminal, it failed with \r\n{code}\r\n[INFO] CLI command failed with error output:\r\n[INFO] \r\n[INFO] Executing: /Users/oromero/tizen-sdk/tools/ide/bin/web-install -t 10 --widget=\"/Users/oromero/Documents/Titanium_Studio_Workspace2/wils/build/tizen/tizenapp.wgt\" --device=0000cbd40000ad1e\r\n[INFO] 'tizenapp.wgt' file transfer successful.\r\n'nNlyHzZOGl.wils' install failed.\r\nRefer to Help contents > Getting Started with Tizen > Overview > Privilege.\r\n\r\n[INFO] CLI command failed with error output:\r\n[INFO] \r\n[INFO] Executing: /Users/oromero/tizen-sdk/tools/ide/bin/web-run -t 10 -i nNlyHzZOGl.wils --device=0000cbd40000ad1e\r\n[INFO] 'nNlyHzZOGl.wils' launch failed.\r\n\r\n[INFO] CLI command failed with error output:\r\n[INFO] \r\n[LiveView] No active servers\r\n[INFO] Project built successfully in 8s 497ms\r\n{code}\r\n\r\nand the app is not installed on device.\r\nIf we have the app installed on device and execute \"ti build\" command via Terminal, the app has been uninstalled and build failed.", "attachment": [ { "id": "43932", "filename": "console.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T23:17:05.000+0000", "size": 26708, "mimeType": "text/plain" }, { "id": "43931", "filename": "log.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T23:17:05.000+0000", "size": 105897, "mimeType": "text/plain" }, { "id": "44223", "filename": "tizen-console.txt", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T05:34:21.000+0000", "size": 55680, "mimeType": "text/plain" } ], "flagged": false, "summary": "Tizen - Can't install to device or emulator from CLI - works from Studio. Both cases have unexpected console output", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac osx 10.9 Mavericks\r\nTitanium Studio, build: 3.2.0.201311140700\r\nCLI 3.2.0 (git://github.com/appcelerator/titanium.git)\r\nAlloy 1.3.0\r\nDevice:\r\n2.2.0 Tizen", "comment": { "comments": [ { "id": "279703", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~oromero] To confirm, you used the _identical_ command for both Studio and CLI, i.e. ran it inside Studio, copied the command from the log file and then re-ran that in a terminal? If not, what was the difference?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-15T02:49:33.000+0000", "updated": "2013-11-15T02:49:33.000+0000" }, { "id": "279869", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Yes, this is exactly what I did. \nIf running the command\n{code}\nti build -p tizen -D development\n{code}\nthe result is \n{code}\n[INFO] Project built successfully in 1s 967ms\n{code}\nbut the app is not installed to emulator\n\nFor the device:\nGo to the folder \\tizen-sdk\\tools.\nAnd type following command.\n{code}\nsdb devices\n{code}\nIt will give list of device attached\nRun command\n{code}\nti build -p tizen -E 0000cbd40000ad1e\n{code}\n\nThe output is the same, as you would copy the command from the studio log and run it.\n\nTo see all tizen build options please run \n{code}ti build -h {code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-15T21:49:39.000+0000", "updated": "2013-11-15T21:49:39.000+0000" }, { "id": "281604", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified with latest Studio, CLI/SDK RC builds of 3.2.0 and Tizen2.2.\r\n\r\nAfter I configure the certificates and keystore password, I'm able to run Tizen app on the emulator without any issues. I ran the same command on terminal, and the tizen app launches on simulator perfectly.\r\n\r\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-progress-bars\" \"--no-prompt\" \"build\" \"--platform\" \"tizen\" \"--device=emulator-26101\" \"--keystore=/Users/pinnamuri/tizen-sdk-data/keystore/author/pkey_tizen.p12\" \"--password=password123\" \"--sdk\" \"3.2.0.v20131125101644\" \"--log-level\" \"trace\"\r\n\r\nAttached the console output after the running the above command.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T05:34:07.000+0000", "updated": "2013-11-27T05:34:07.000+0000" }, { "id": "281685", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T19:06:58.000+0000", "updated": "2013-11-27T19:06:58.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }