{ "id": "88782", "key": "TIMOB-8288", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-30T15:29:02.000+0000", "created": "2012-03-24T22:21:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16063", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "84248", "key": "TIMOB-7001", "fields": { "summary": "IOS pure js module - build.py fails ", "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": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-30T15:29:02.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": "10207", "name": "Tooling" } ], "description": "# Set up your Titanium SDK to exist under /Library rather than ~/Library on OS X Lion\r\n# Create a new Titanium Mobile Module project for iOS.\r\n# Build it. It will fail with the semi-cryptic error:\r\n{code}\r\nTraceback (most recent call last):\r\n File \"/Users/ingo/Documents/Titanium Studio Workspace/testModule/build.py\", line 217, in \r\n build_module(manifest,config)\r\n File \"/Users/ingo/Documents/Titanium Studio Workspace/testModule/build.py\", line 162, in build_module\r\n from tools import ensure_dev_path\r\nImportError: No module named tools\r\n{code}\r\n\r\nThe fix is to open up /titanium.xcconfig and change the path of TITANIUM_SDK.\r\n\r\nSince we store the path as a preference inside Studio, ideally this is a value we can pass in along the command line, or at the very least to the project creation scripts (though this would not solve the issue if they moved their SDK later)\r\n\r\nMy argument for bumping this higher in priority is that I've run into it, our QA has run into it, and other members of the team have run into it, leading me to believe a non-standard location (particularly for this people who upgraded from 10.6.8 to 10.7) is more common than not.", "attachment": [], "flagged": false, "summary": "iOS: Non-standard Titanium SDK location on OS X causes build scripts to fail with \"No module named tools\"", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "188496", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Would be appreciated if we could get this in sometime in the 2.0.X-2.1 timeframe.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-24T22:22:02.000+0000", "updated": "2012-03-24T22:22:02.000+0000" }, { "id": "188514", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Given the number of issues this is currently causing I have placed this in S07 for resolution ASAP.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T10:24:48.000+0000", "updated": "2012-03-25T10:24:48.000+0000" }, { "id": "188521", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixing this now per request of Marshall, due to issues with testing TIMOB-7001", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T12:09:07.000+0000", "updated": "2012-03-25T12:09:07.000+0000" }, { "id": "188677", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\n\r\nSDK: 2.0.0.v20120325213306\r\nStudio: 2.0.0.201203262445\r\nOS: Lion", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T14:26:19.000+0000", "updated": "2012-03-26T14:26:19.000+0000" }, { "id": "189355", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Opening to edit label.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-30T15:28:44.000+0000", "updated": "2012-03-30T15:28:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }