{ "id": "64914", "key": "TIMOB-3814", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11255", "name": "Sprint 2011-20", "archived": true, "released": true, "releaseDate": "2011-05-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-18T10:25:02.000+0000", "created": "2011-04-28T21:41:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-18T10:25: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": "if you attempt to use the 'titanium run' from console, you get the following error from python script:\n\n\nTraceback (most recent call last):\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/module/builder.py\", line 106, in stage\nrun_python(create_project_args)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/module/builder.py\", line 33, in run_python\nreturn run(args, cwd=cwd)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/module/builder.py\", line 36, in run\nproc = run_pipe(args, cwd)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/module/builder.py\", line 19, in run_pipe\nreturn subprocess.Popen(args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, cwd=cwd)\nFile \"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py\", line 595, in __init__\nerrread, errwrite)\nFile \"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py\", line 1106, in _execute_child\nraise child_exception\nTypeError: execv() arg 2 must contain only strings\n\n\nLooks like someone refactored the module builder code and broke this.\n", "attachment": [], "flagged": false, "summary": "titanium run command line broken", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "132953", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "To test this fix, simply go into the root of a project in the console.\n\nType 'titanium run'\n\nThis assumes you are running the titanium.py script (which is located in the root of the mobilesdk directory under /Library/Application Support/Titanium/mobilesdk/[VERSION]).\n\nI usually just alias this file to the current release.", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-28T21:50:22.000+0000", "updated": "2011-04-28T21:50:22.000+0000" }, { "id": "133717", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Haven't been able to reproduce this yet. I assume this is a module project you're trying to run -- Some follow-up questions:\n\n- Is it an iOS or Android module project?\n- Do you know what version of the MobileSDK the project was created with?\n- Can you also pastie the project's manifest file?", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T11:57:16.000+0000", "updated": "2011-05-16T11:57:16.000+0000" }, { "id": "133719", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "ios\nit was 1.7 as of head when i created it\nit was a generic project (nothing special, just created new).\n", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T12:05:38.000+0000", "updated": "2011-05-16T12:05:38.000+0000" }, { "id": "133888", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.0.631e153 running 'titanium run' you get required argument '--platform' missing which is the expected error message\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-18T10:25:02.000+0000", "updated": "2011-05-18T10:25:02.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }