{ "id": "100228", "key": "TIMOB-11119", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14158", "description": "Sprint 2012-20 Core", "name": "Sprint 2012-20 Core", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-08-26T03:59:32.000+0000", "created": "2012-08-30T16:07:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-3.4.0", "qe-and082012" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21310", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89136", "key": "TISTUD-1466", "fields": { "summary": "Use built-in ANT when packaging Android modules", "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": "21309", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "63646", "key": "TIMOB-3014", "fields": { "summary": "Android: module ant build fails because \"libs\" directory doesn't exist", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21683", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102468", "key": "TISTUD-2368", "fields": { "summary": "For Android module builds on Windows, set an Ant property pointing to the Python plugin's executable", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-31T21:55:08.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Android Modules fail to package on Windows 7.\r\n\r\nThis is not a regression. This was uncovered during clean install testing.\r\n\r\nError Log:\r\n\r\n{code}\r\nExecuting build.xml...\r\nC:\\Users\\QE\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.1.1.GA\\module\\android\\build.xml:455: C:\\Users\\QE\\Desktop\\TISTUD-STABLE\\TISTUD-STABLE-2.1.1\\titanium_studio_workspace\\AndroidModule\\build\\docs does not exist.\r\n{code}\r\n\r\nThe work-around is to manually create a \\build\\docs folder.\r\n\r\nSteps to Reproduce:\r\n\r\n1. On Windows 7, create an Android Module.\r\n2. Package the module (i.e., to Project, to SDK folder).\r\n\r\nActual Result:\r\n\r\nBuild folder error.\r\n\r\nExpected Result:\r\n\r\nModule should package.", "attachment": [ { "id": "51388", "filename": "androidmodule_docs_missing.PNG", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-18T10:29:10.000+0000", "size": 58568, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Modules: Windows 7: android module packaging fails due to missing docs folder", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1, 2.1.2\r\nTitanium SDK: 2.1.1, 2.1.2\r\nOS: Windows 7 VM Clean Install\r\nAndroid SDK: r20.0.3\r\nAndroid NDK: r8b", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "217083", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The work-around is to manually create a \\build\\docs folder.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-30T16:14:34.000+0000", "updated": "2012-08-30T16:14:34.000+0000" }, { "id": "218420", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Was unable to reproduce. Here's a video of my experiences:\r\n\r\nhttp://screencast.com/t/bhQxjc47gz\r\n\r\nI'll keep this open for a bit in case Dustin wants to reply with more details.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-11T12:56:47.000+0000", "updated": "2012-09-11T12:56:47.000+0000" }, { "id": "220477", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is reliably reproducible on clean VM install.\n\nTitanium SDK: 3.0.0.v20120924114913\nTitanium Studio: 2.1.2.GA\nOS: Windows 7 VM (clean install)", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-24T21:23:06.000+0000", "updated": "2012-09-24T21:23:06.000+0000" }, { "id": "220604", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Allen, reassigning to you, since I've not been able to reproduce and you will have an opportunity to see the actual machine that is showing the failures. Please see my video (if you haven't already) to see what I tried.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-25T11:38:31.000+0000", "updated": "2012-09-25T11:38:31.000+0000" }, { "id": "220629", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to be related to the version of ant that was included with Titanium Studio, as updating it to ant 1.8.4 seemed to fix the issue.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-25T15:48:16.000+0000", "updated": "2012-09-25T15:48:16.000+0000" }, { "id": "220786", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Moved back to Mobile. Studio can't change the ant version, so we need to make the build xml compatible with 1.8.2.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-25T21:54:09.000+0000", "updated": "2012-09-25T21:54:09.000+0000" }, { "id": "221440", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just realized that this explanation makes no sense. After all, my video above shows me doing this in Titanium Studio, which is running ant 1.8.2.\n\nAnd i still am absolutely unable to reproduce this. Just tried it again.\n\nAre you trying the same module each time? If so, can you zip it up and give to me?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-28T21:16:11.000+0000", "updated": "2012-09-28T21:16:11.000+0000" }, { "id": "221448", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I used a default module that was created using the SDK.\n\nSteps I used to work around the issue:\n\n1. Install Python 2.7, add to path.\n2. Install Ant 1.8.4, add to path.\n3. Install gperf, add to path.\n\n3: Can now package from studio.\n\n4. Remove ant from path.\n5. Remove ant from studio plugins: Titanium Studio/plugins/org.apache.ant_1.8.2.v20120109-1030/bin\n6. Replace studio plugin with ant 1.8.4 bin files.\n7. Restart studio and package module.\n\n7: Can now package from studio. ", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-28T21:33:41.000+0000", "updated": "2012-09-28T21:33:41.000+0000" }, { "id": "221465", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Okay, that changes things. Your comment from the 25th says nothing about gperf and python.\n\nThe problem is python not ant.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-28T22:53:08.000+0000", "updated": "2012-09-28T22:53:08.000+0000" }, { "id": "221467", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Fail Case / Test Case\r\n\r\nh4. Pre-reqs\r\n\r\n*To test the failcase, test with Studio 2.1.3 (i.e., stable). To test the fix you MUST use the Studio nightly.*\r\n\r\nUse Windows 7 and make sure you have no python executable reachable via your path.\r\n\r\nBe sure to test this: go to the Command Prompt and enter {{python}} and verify that you are _not_ successfully ending up in a python shell.\r\n\r\nh4. Via Studio\r\n\r\n# Open Titanium Studio, create a module project for Android.\r\n# Package that project.\r\n# In the fail case (when testing with Studio 2.1.3), you should see the same error mentioned by Dustin above. When testing the fix, you should see no error and the packaging should proceed successfully. This is because Studio tells the build script where the python executable (which ships with Studio) is found.\r\n\r\nh4. Via Command-Line.\r\n\r\n# Install ant 1.8.2 (or 1.8.4, it doesn't matter): http://archive.apache.org/dist/ant/binaries/\r\n# Put ant's \"bin\" folder in your PATH.\r\n# Go to a command prompt.\r\n# Navigate to the module project you created above.\r\n# Run {{ant}}.\r\n# In the fail case, you should see the error mentioned by Dustin above, but also -- above it -- this message:\r\n\r\n{code}\r\ndocgen:\r\n [exec] Error: No python executable could found in your system\r\n [exec] Result: 1\r\n{code}\r\n\r\nWhen testing the fix you should see that the build fails faster and you actually get useful information about what was really wrong (namely, python could not be found.)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-28T23:01:59.000+0000", "updated": "2012-10-05T16:40:04.000+0000" }, { "id": "221620", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Waiting now on TISTUD-2368 and on some new code from me. Previous PR has been closed without merging.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-01T18:52:05.000+0000", "updated": "2012-10-01T18:52:05.000+0000" }, { "id": "221632", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR Ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3088\n\nBut wait for my go-ahead before testing. We need to wait until TISTUD-2368's new feature is available in Studio nightlies.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-01T20:26:15.000+0000", "updated": "2012-10-01T20:26:15.000+0000" }, { "id": "221937", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Discussions ongoing in TISTUD-2368.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-03T19:35:36.000+0000", "updated": "2012-10-03T19:35:36.000+0000" }, { "id": "222141", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR can be processed now\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3088", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-04T21:00:32.000+0000", "updated": "2012-10-04T21:00:32.000+0000" }, { "id": "230736", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verifying the fix with studio:\r\n1.Tested with steps mentioned by bill using nightly studio.\r\n2.Android module packaging was successful,with python which ships with studio.\r\n\r\nVerifying fix on command line:\r\n1.Tested with steps mentioned by bill.\r\n2.Got the following output:\r\n{code}\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Users\\Lokesh>cd C:\\Users\\Lokesh\\Documents\\TitaniumStudioWorkspace\\androidmodu\r\nle\r\n\r\nC:\\Users\\Lokesh\\Documents\\TitaniumStudioWorkspace\\androidmodule>ant\r\nBuildfile: C:\\Users\\Lokesh\\Documents\\TitaniumStudioWorkspace\\androidmodule\\build\r\n.xml\r\n\r\npython.set.exec:\r\n\r\npython.check:\r\n [echo] Testing for Python\r\n [exec] Error: No python executable could be found on your system\r\n\r\nBUILD FAILED\r\nC:\\Users\\Lokesh\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.0.0.v20121207120202\\m\r\nodule\\android\\build.xml:145: exec returned: 1\r\n\r\nTotal time: 2 seconds\r\n{code}\r\n\r\nEnvironment:\r\nTitanium studio : 3.1.0.201212082257\r\nSDK Version : 3.0.0.v20121207120202\r\nCLI version : 3.0.20\r\nOS : win 7 64 bit", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-10T23:14:43.000+0000", "updated": "2012-12-10T23:14:43.000+0000" }, { "id": "324452", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Reopening the ticket as I am getting same error on Windows 8.1\r\nI tried to package android module *with and without* python. Both failed with the same error message as [~dhyde] mentioned in description. \r\n\r\nI attached the screenshot. Please refer.\r\n\r\nTested.\r\nTest Environment:\r\nAppc-Studio: 3.4.0.201409161950\r\nTitanium SDK: 3.4.0.v20140917120000\r\nTitanium CLI: 3.4.0-rc4\r\nAlloy : 1.5.0-rc2\r\nOS: Windows 8.1 (x64)\r\nANT : 1.9.4\r\ngperf 3.0.1\r\n", "updateAuthor": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-18T10:28:46.000+0000", "updated": "2014-09-18T10:28:46.000+0000" }, { "id": "324788", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce the issue.\r\n\r\nh6.1. When I try to package a module from studio:\r\nStudio logs show me it found python 2.7.3(I guess this is the one which comes with studio as I don't have python on the machine). Also, I have Ant 1.9.4 installed.\r\npackaging fails with error:\r\n{code}\r\nBUILD FAILED\r\nC:\\ProgramData\\Application Data\\Titanium\\mobilesdk\\win32\\3.4.0.v20140918202513\\module\\android\\build.xml:430: C:\\Users\\QE-Tester\\Documents\\Appcelerator_Studio_Workspace\\module123\\android\\build\\docs does not exist.\r\n{code}\r\nAccording to the fix which went in this ticket the packaging should succeed in studio but is not succeeding.\r\n\r\nh6.2. When I try to package a module from command line:\r\nI have Ant 1.9.4 installed. \r\nI go to the module folder from command line & run Ant.\r\nIt gives me error which is expected according to Bill Dawson's steps mentioned in the above comments.\r\n\r\nh6.Environment:\r\nAppc Studio : 3.4.0.201409161950\r\nTi SDK : 3.4.0.v20140918202513\r\nANT : 1.9.4\r\nNo Python installed on the system.\r\nGperf : 3.0.1\r\nTitanium CLI: 3.4.0-rc4\r\nAlloy : 1.5.0-rc2\r\nWin : 8.1 64-bit\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T21:00:54.000+0000", "updated": "2014-09-19T21:02:12.000+0000" }, { "id": "394464", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I was unable to reproduce with Titanium SDK 5.4.0 on Windows 10 using the new module build system.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-26T03:59:33.000+0000", "updated": "2016-08-26T03:59:33.000+0000" }, { "id": "416548", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce this issue, tested with the following environment; \r\nPixel (7.1) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.8.1.201612050850 \r\nTi SDK 6.0.3 GA \r\nAppc NPM 4.2.8 \r\nAppc CLI 6.1.0 \r\nTi CLI 5.0.11 \r\nAlloy 1.9.5 \r\nArrow 1.10.1 \r\nXcode 8.2 (8C38) \r\nNode v4.6.0 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T21:55:08.000+0000", "updated": "2017-03-31T21:55:08.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }