Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11895] TypeError: argument of type 'NoneType' is not iterable

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-11-30T14:13:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsqe-and100112
ReporterClayton Headley
AssigneeIngo Muschenetz
Created2012-11-29T21:05:10.000+0000
Updated2017-03-20T22:09:40.000+0000

Description

While testing TIMOB-11223 I get the following error when building for device (full log attached):
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "C:\Users\QATester\AppData\Roaming\Titanium\\mobilesdk\win32\3.0.0.v20121128173200\android\builder.py", line 2385, in <module>
[ERROR]     builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host)
[ERROR]   File "C:\Users\QATester\AppData\Roaming\Titanium\\mobilesdk\win32\3.0.0.v20121128173200\android\builder.py", line 2146, in build_and_run
[ERROR]     self.push_deploy_json()
[ERROR]   File "C:\Users\QATester\AppData\Roaming\Titanium\\mobilesdk\win32\3.0.0.v20121128173200\android\builder.py", line 1825, in push_deploy_json
[ERROR]     sdcard_available = self.wait_for_sdcard()
[ERROR]   File "C:\Users\QATester\AppData\Roaming\Titanium\\mobilesdk\win32\3.0.0.v20121128173200\android\builder.py", line 1780, in wait_for_sdcard
[ERROR]     if 'SDCARD READY' in output:
[ERROR] TypeError: argument of type 'NoneType' is not iterable
Steps to reproduce: 1. Create a Titanium app for android. 2. Debug on device Expected result: Titanium Studio builds and deploys the app to Device and begins the debug session. Actual result: The above error.

Attachments

FileDateSize
build.log2012-11-29T21:05:10.000+000011420

Comments

  1. Bill Dawson 2012-11-29

    That is a symptom of TIMOB-11223 -- you probably don't need this second ticket. I recommend testing my pull request from TIMOB-11223. (I see from your log here that you're running against 3.0.0, for which no PR exists yet.)
  2. Ingo Muschenetz 2012-11-30

    I'm going to resolve as a duplicate, but Clayton, please confirm it's fixed for you too.
  3. Niranjan Kumar 2013-04-05

    i have the same problem. but here i try to create project and try to run immediately with he created project .. titanium goes for a toss LOG:: [INFO] Compiling Javascript Resources ... [ERROR] Application Installer abnormal process termination. Process exit value was 1 [ERROR] error: more than one emulator [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\Nirus\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py", line 2392, in [ERROR] builder.build_and_run(False, avd_id, debugger_host=debugger_host) [ERROR] File "C:\Users\Nirus\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py", line 2162, in build_and_run [ERROR] self.push_deploy_json() [ERROR] File "C:\Users\Nirus\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py", line 1837, in push_deploy_json [ERROR] sdcard_available = self.wait_for_sdcard() [ERROR] File "C:\Users\Nirus\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py", line 1792, in wait_for_sdcard [ERROR] if 'SDCARD READY' in output: [ERROR] TypeError: argument of type 'NoneType' is not iterable
  4. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source