{ "id": "84580", "key": "AC-3060", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-01-12T04:39:29.000+0000", "created": "2012-01-07T10:18:07.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "28953", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114690", "key": "TIMOB-13944", "fields": { "summary": "Android: build: TypeError: argument of type 'NoneType' is not iterable", "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": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:06.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "attachment": [], "flagged": false, "summary": "TypeError: argument of type 'NoneType' is not iterable", "creator": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium mobile SDK 1.8.0.1 (Android Emulator), \r\n* Android API 2.1, 2.2, 2.3.3, 3.0, 3.2, 4.0 (default is Android 2.2), \r\n* Titanium Studio, build: 1.0.7.201112152014,\r\n* Windows Vista", "comment": { "comments": [ { "id": "178634", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information. For the description field, you can use [this template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template] as a starting point (simply copy and paste it).\r\n\r\nFurthermore, we must be able to reproduce the issue in order to accept it, and so a test case must be included and run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nThanks in advance for your cooperation.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-10T05:20:53.000+0000", "updated": "2012-01-10T05:20:53.000+0000" }, { "id": "178736", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Balaji\r\n\r\nI note the use of an apostrophe in the following command:\r\n\r\n{code:lang=none}\r\n[DEBUG] C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py simulator ABC's Writer C:\\Program Files\\Android\\android-sdk C:\\Shrb\\Titanium Studio Workspace\\abc com.project.abc 2 HVGA\r\n[INFO] Building ABC's Writer for Android ... one moment\r\n{code}\r\n\r\nWhere have you used this apostrophe? Is it in the project name, or the directory tree? Would you please try removing any special characters from the directory tree, including spaces, and then recreating the project using a name also without special characters.\r\n\r\nLet me know if that works.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-10T12:10:40.000+0000", "updated": "2012-01-10T12:10:40.000+0000" }, { "id": "178766", "author": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I removed the \"spaces\" in the workspace path and apostrophe .. but that did not help.\r\n\r\n* This was the msg in Console window (this has 'emulator' param) : \r\nh2. Logs\r\n{code:lang=none|title=console}\r\nLogfile initialized\r\n[INFO] logfile = C:\\shrb\\Titanium-Studio-Workspace\\abc2\\build.log\r\n[DEBUG] C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py emulator abc2 C:\\Program Files\\Android\\android-sdk C:\\shrb\\Titanium-Studio-Workspace\\abc2 com.project.abc2 2 HVGA\r\n[INFO] Launching Android emulator...one moment\r\n[DEBUG] From: C:\\Program Files\\Android\\android-sdk\\tools\\emulator.exe\r\n[DEBUG] SDCard: C:\\Users\\shrb\\.titanium\\android2.sdcard\r\n[DEBUG] AVD ID: 2\r\n[DEBUG] AVD Skin: HVGA\r\n[DEBUG] SDK: C:\\Program Files\\Android\\android-sdk\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py\", line 2032, in \r\n[ERROR] s.run_emulator(avd_id, avd_skin)\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py\", line 401, in run_emulator\r\n[ERROR] run.run([self.sdk.get_adb(), \"start-server\"], True, ignore_output=True)\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\run.py\", line 30, in run\r\n[ERROR] print \"[DEBUG] %s\" % (subprocess.list2cmdline(args))\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Local\\Titanium Studio\\plugins\\com.appcelerator.titanium.python.win32_1.0.0.1313011725\\python\\lib\\subprocess.py\", line 503, in list2cmdline\r\n[ERROR] needquote = (\" \" in arg) or (\"\\t\" in arg) or arg == \"\"\r\n[ERROR] TypeError: argument of type 'NoneType' is not iterable\r\n{code}\r\n\r\n* This was the msg in build.log (this has 'simulator' param):\r\nh2. Logs\r\n{code:lang=none|title=console}\r\n[INFO] logfile = C:\\shrb\\Titanium-Studio-Workspace\\abc2\\build.log\r\n[DEBUG] C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py simulator abc2 C:\\Program Files\\Android\\android-sdk C:\\shrb\\Titanium-Studio-Workspace\\abc2 com.project.abc2 2 HVGA\r\n[INFO] Building abc2 for Android ... one moment\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py\", line 2039, in \r\n[ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host)\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\builder.py\", line 1677, in build_and_run\r\n[ERROR] run.run([self.sdk.get_adb(), \"start-server\"], True, ignore_output=True)\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.8.0.1\\android\\run.py\", line 30, in run\r\n[ERROR] print \"[DEBUG] %s\" % (subprocess.list2cmdline(args))\r\n[ERROR] File \"C:\\Users\\shrb\\AppData\\Local\\Titanium Studio\\plugins\\com.appcelerator.titanium.python.win32_1.0.0.1313011725\\python\\lib\\subprocess.py\", line 503, in list2cmdline\r\n[ERROR] needquote = (\" \" in arg) or (\"\\t\" in arg) or arg == \"\"\r\n[ERROR] TypeError: argument of type 'NoneType' is not iterable\r\n{code}\r\n\r\nI don't know whether I am doing something wrong here..\r\n", "updateAuthor": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T14:07:43.000+0000", "updated": "2012-01-10T14:07:43.000+0000" }, { "id": "178822", "author": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When I created a new workspace and tried to import this same project to the new workspace, I got this msg:\r\n{code:lang=none|title=console}\r\nThe following warnings were detected:\r\n* The project contains an iOS deploy target, which is only supported on MacOSX.\r\nSome of the problems may be resolved through the Titanium Mobile preferences.\r\n{code}\r\n\r\nWhere is it getting this iOS deploy target from?", "updateAuthor": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T20:10:05.000+0000", "updated": "2012-01-10T20:19:03.000+0000" }, { "id": "178828", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "To resolve that issue, open {{tiapp.xml}} in the root of the project, untick iphone and ipad and save.\r\n\r\nLet me know how you get on.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-11T03:16:06.000+0000", "updated": "2012-01-11T03:16:06.000+0000" }, { "id": "178855", "author": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "body": "this is the tiapp.xml under \"Resources\"\r\n\r\n{code:lang=none|title=console}\r\n\r\n\r\n \r\n true\r\n false\r\n false\r\n true\r\n false\r\n \r\n 1.8.0.1\r\n com.project.abc2\r\n abc2\r\n 1.0\r\n shrb\r\n http://\r\n not specified\r\n 2012 by shrb\r\n appicon.png\r\n false\r\n false\r\n default\r\n false\r\n false\r\n false\r\n true\r\n 359836dc-fac9-4279-a617-f7582b1a0d38\r\n \r\n \r\n ti.paint\r\n \r\n\r\n{code}", "updateAuthor": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T07:48:45.000+0000", "updated": "2012-01-11T07:48:45.000+0000" }, { "id": "178859", "author": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I will reinstall Titanium and try again.", "updateAuthor": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T08:16:19.000+0000", "updated": "2012-01-11T08:16:19.000+0000" }, { "id": "178861", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "The warning is not important, as it won't cause any problems.\r\nIt would be better if you did not reinstall yet, as you may completely change the situation.\r\nAre you able to launch the abcwriter app yet?\r\nIf not, are you able to launch a default project?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-11T08:27:42.000+0000", "updated": "2012-01-11T08:27:42.000+0000" }, { "id": "178871", "author": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does this ABC Writer sample work only with iOS?\r\n\r\n{code:lang=none|title=text in https://wiki.appcelerator.org/display/guides/Example+Applications}\r\nABC's Writer\r\n\r\n ABC's Writer on Github\r\n\r\nABC’s Writer is a simple project that utilizes the Paint for iOS module to help teach the alphabet on iPad.\r\n{code}", "updateAuthor": { "name": "balavenky", "key": "balavenky", "displayName": "Balaji V", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T09:48:31.000+0000", "updated": "2012-01-11T09:49:12.000+0000" }, { "id": "179025", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Yes - thank you for updating this ticket.\r\nClosing as invalid.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-12T04:39:03.000+0000", "updated": "2012-01-12T04:39:03.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }