Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-3060

TypeError: argument of type 'NoneType' is not iterable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Invalid
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Labels:
      None
    • Environment:
      • Titanium mobile SDK 1.8.0.1 (Android Emulator),
      • Android API 2.1, 2.2, 2.3.3, 3.0, 3.2, 4.0 (default is Android 2.2),
      • Titanium Studio, build: 1.0.7.201112152014,
      • Windows Vista

      Description

      Problem

      It works for the very first time after installing Android and after that it fails with the below error.
      I tried the steps mentioned in TISTUD-994, but nothing worked. (cleaned the "deploy" folder, re-added AVDs thru AVD Manager, deleted "titanium_3_HVGA" etc). After the successful first try, the next ones fail with this error TypeError: argument of type 'NoneType' is not iterable

      Test case

      I used the sample code ABC Writer for this test.

      Logs

      console

      Logfile initialized
      [INFO] logfile = C:\Shrb\Titanium Studio Workspace\abc\build.log
      [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
      [INFO] Building ABC's Writer 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 iterable
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pdowsett Paul Dowsett
                Reporter:
                balavenky Balaji V
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration