{ "id": "109661", "key": "ALOY-692", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-01-20T22:32:32.000+0000", "created": "2013-02-13T18:17:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-sdk3.0.2" ], "versions": [ { "id": "15477", "description": "Alloy 1.1.2", "name": "Alloy 1.1.2", "archived": false, "released": true, "releaseDate": "2013-05-02" } ], "issuelinks": [ { "id": "30364", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "91507", "key": "TIMOB-9028", "fields": { "summary": "CLI: \"build\" command for Android apps", "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": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:23:21.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "h6. Problem description\r\nWhen building using TiSDK < 3.0.0 , the error message displayed on console is not complete on Windows\r\n\r\nh6. Steps\r\nBuild a project with Alloy 1.0.0 and TiSDK 2.1.4 \r\nExpected result: build fails with error message:\r\n{code}\r\n[ERROR] Alloy 1.0.0+ requires Titanium SDK 3.0.0 or higher.\r\n[ERROR] Version \"2.1.4.GA\" was found in the \"sdk-version\" field of your tiapp.xml.\r\n[ERROR] If you are building with the old titanium.py script and are specifying an SDK version \r\n[ERROR] as a CLI argument that is different than the one in your tiapp.xml, please change the\r\n[ERROR] version in your tiapp.xml file. \r\n[ERROR] Alloy compile failed\r\n{code}\r\n\r\nResult: on Windows machines, the error message is not complete. However it still contains the first line which include the main information.\r\n{code}\r\n[ERROR] Alloy 1.0.0+ requires Titanium SDK 3.0.0 or higher.\r\n[ERROR] Alloy compile failed\r\n{code}\r\n\r\nOn OS X and Linux machines is displayed correctly", "attachment": [ { "id": "35586", "filename": "Capture_terminal.PNG", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-15T00:24:27.000+0000", "size": 96980, "mimeType": "image/png" }, { "id": "35585", "filename": "Capture.PNG", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-15T00:24:27.000+0000", "size": 36571, "mimeType": "image/png" }, { "id": "35573", "filename": "Screen Shot 2013-02-14 at 12.14.32 PM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T17:14:18.000+0000", "size": 32122, "mimeType": "image/png" }, { "id": "35574", "filename": "Screen Shot 2013-02-14 at 12.14.43 PM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T17:14:18.000+0000", "size": 31288, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy error output truncated with SDK < 3.0 on Windows", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy v1.0.0-cr\r\nTiSTUDIO 3.0.2.201302081641\r\nCLI 3.0.24-cr", "comment": { "comments": [ { "id": "238565", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Federico, based on the logged work on this ticket, I found that this only occurs to the output when run through TiStudio. You should likely make this a TISTUD ticket to make them aware of it. The attached images show it working correctly in the CLI, truncating the output in TiStudio.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T17:17:42.000+0000", "updated": "2013-02-14T17:18:18.000+0000" }, { "id": "256303", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I was able to reproduce this and track down the source of the problem. Alloy's plugin.py has a check_output() function that subprocesses the Alloy CLI. It appears the problem occurs when a build fails and control is returned to the Python script where it detects the error, but doesn't seem to flush the output from the subprocess. I tinkered with it and couldn't get it to output, but that's probably more of a factor of my lack of Python knowledge.\n\nYou can either elect to fix it -or- wait until the new Android build is done and rip out all of this legacy Python stuff.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-05T22:38:52.000+0000", "updated": "2013-06-05T22:38:52.000+0000" }, { "id": "256343", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] There is roughly a 99.9999999997% chance that I'll wait. :)", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-06T00:17:05.000+0000", "updated": "2013-06-06T00:17:05.000+0000" }, { "id": "256349", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~tlukasavage], good idea! :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-06T00:33:11.000+0000", "updated": "2013-06-06T00:33:11.000+0000" }, { "id": "288905", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since Alloy 1.2.0, only TiSDK 3.0.0+ is supported.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-20T22:32:32.000+0000", "updated": "2014-01-20T22:32:32.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }