[AC-3060] TypeError: argument of type 'NoneType' is not iterable
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2012-01-12T04:39:29.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Balaji V |
| Assignee | Paul Dowsett |
| Created | 2012-01-07T10:18:07.000+0000 |
| Updated | 2016-03-08T07:48:06.000+0000 |
Thanks for raising this ticket. In 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). Furthermore, 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. Thanks in advance for your cooperation. Cheers
Balaji I note the use of an apostrophe in the following command:
Where 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. Let me know if that works. ThanksI removed the "spaces" in the workspace path and apostrophe .. but that did not help. * This was the msg in Console window (this has 'emulator' param) :
Logs
* This was the msg in build.log (this has 'simulator' param):Logfile initialized [INFO] logfile = C:\shrb\Titanium-Studio-Workspace\abc2\build.log [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 [INFO] Launching Android emulator...one moment [DEBUG] From: C:\Program Files\Android\android-sdk\tools\emulator.exe [DEBUG] SDCard: C:\Users\shrb\.titanium\android2.sdcard [DEBUG] AVD ID: 2 [DEBUG] AVD Skin: HVGA [DEBUG] SDK: C:\Program Files\Android\android-sdk [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 2032, in <module> [ERROR] s.run_emulator(avd_id, avd_skin) [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 401, in run_emulator [ERROR] run.run([self.sdk.get_adb(), "start-server"], True, ignore_output=True) [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\run.py", line 30, in run [ERROR] print "[DEBUG] %s" % (subprocess.list2cmdline(args)) [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 [ERROR] needquote = (" " in arg) or ("\t" in arg) or arg == "" [ERROR] TypeError: argument of type 'NoneType' is not iterableLogs
I don't know whether I am doing something wrong here..[INFO] logfile = C:\shrb\Titanium-Studio-Workspace\abc2\build.log [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 [INFO] Building abc2 for Android ... one moment [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 2039, in <module> [ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host) [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 1677, in build_and_run [ERROR] run.run([self.sdk.get_adb(), "start-server"], True, ignore_output=True) [ERROR] File "C:\Users\shrb\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\run.py", line 30, in run [ERROR] print "[DEBUG] %s" % (subprocess.list2cmdline(args)) [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 [ERROR] needquote = (" " in arg) or ("\t" in arg) or arg == "" [ERROR] TypeError: argument of type 'NoneType' is not iterableWhen I created a new workspace and tried to import this same project to the new workspace, I got this msg:
Where is it getting this iOS deploy target from?To resolve that issue, open
tiapp.xmlin the root of the project, untick iphone and ipad and save. Let me know how you get on. Thanksthis is the tiapp.xml under "Resources"
I will reinstall Titanium and try again.
The warning is not important, as it won't cause any problems. It would be better if you did not reinstall yet, as you may completely change the situation. Are you able to launch the abcwriter app yet? If not, are you able to launch a default project? Thanks
Does this ABC Writer sample work only with iOS?
ABC's Writer ABC's Writer on Github ABC’s Writer is a simple project that utilizes the Paint for iOS module to help teach the alphabet on iPad.Yes - thank you for updating this ticket. Closing as invalid.