{ "id": "100910", "key": "ALOY-249", "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": [ { "id": "14171", "description": "", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-12T07:27:03.000+0000", "created": "2012-09-12T05:57:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:26:12.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12331", "name": "Titanium Studio" } ], "description": "Right now error output from the Titanium compiler plugin only lists the alloy error output if python 2.7+ is installed. Otherwise it defers to an older method of output that doesn't give all the information. We need someone with python chops to make a fix here so that we can get good error logs regardless of the version of python installed, so long as that version meets the minimum standards for Titanium, which I believe is 2.6+.\r\n\r\nChanges need to be made here: https://github.com/appcelerator/alloy/blob/master/Alloy/plugin/plugin.py\r\n\r\nFrom original ticket:\r\n\r\nThe {{subprocess.check_output}} method is currently used by the ti.alloy compiler plugin to execute the appropriate commands and output error information, if necessary. While this works well and gives us good error logs, it only works for python 2.7+, where in its current state, Titanium supports 2.6+. There is a fallback function that is executed in case the developer does not have 2.7+ installed, {{subprocess.check_call}}. This method, unfortunately, does not give the full error log {{subprocess.check_output}} does.\r\n\r\nWe need to implement a method in the ti.alloy compiler plugin that allows for solid error output on python 2.6+. ", "attachment": [], "flagged": false, "summary": "Better error output on python < 2.7", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "218631", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that the output is working for both errored and error-free use cases on both python 2.6 and 2.7", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T07:27:03.000+0000", "updated": "2012-09-12T07:27:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }