Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2671] ERROR TO COMPILE IN TITANIUM SDK 3.1.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-06-18T18:42:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterJUAN SEGOVIA
AssigneeMauro Parra-Miranda
Created2013-06-14T21:01:49.000+0000
Updated2016-03-08T07:41:46.000+0000

Description

Comments

  1. Daniel Sefton 2013-06-14

    Hi, Please check your python version with the following Terminal command:
    python --version
    You should either have 2.6.x or 2.7.x installed. Other versions probably won't work. If you have a valid python version installed, then I'll need to you attach your Studio log file and diagnostic, found at Help -> Studio -> View Log File & Run Diagnostic Test...
  2. JUAN SEGOVIA 2013-06-14

    Your help, Now I get the following error: [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\JC\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py", line 2528, in [ERROR] builder.build_and_run(False, avd_id, debugger_host=debugger_host, profiler_host=profiler_host) [ERROR] File "C:\Users\JC\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py", line 2264, in build_and_run [ERROR] self.manifest_changed = self.generate_android_manifest(compiler) [ERROR] File "C:\Users\JC\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py", line 1404, in generate_android_manifest [ERROR] '-I', self.android_jar], warning_regex=r'skipping') [ERROR] File "C:\Users\JC\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\run.py", line 38, in run [ERROR] print "[DEBUG] %s" % subprocess.list2cmdline(args_to_log) [ERROR] File "C:\Python27\lib\subprocess.py", line 618, in list2cmdline [ERROR] needquote = (" " in arg) or ("\t" in arg) or not arg [ERROR] TypeError: argument of type 'NoneType' is not iterable [ERROR] :  Build process exited with code 1 [ERROR] :  Project failed to build after 30s 446ms
  3. Daniel Sefton 2013-06-17

    Hi Juan, You're in luck because we fixed this issue for 3.1.1 which has been released today: http://developer.appcelerator.com/blog/2013/06/announcing-titanium-3-1-1-production-release.html So simply upgrading should fix the problem. Here's more info: TIMOB-13944 And here's a workaround for pre-3.1.1 releases just encase: http://developer.appcelerator.com/question/152497/titanium-sdk-310-error-typeerror-argument-of-type-nonetype-is-not-iterable-on-building-android-app

JSON Source