Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3793] Android: builder.py runtime error if running titanium.py to run the app from command line

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-15T13:53:28.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsAndroid
Labelsn/a
ReporterBill Dawson
AssigneeBill Dawson
Created2011-04-27T15:25:09.000+0000
Updated2011-05-15T13:53:28.000+0000

Description

Reproduce: * Create a new project with TiStudio. * Go to the project's folder in a terminal/ command-line and enter titanium run --platform=android. (Assuming titanium has been symlinked or aliased to the titanium.py that is at the root of the mobile sdk. If not, you'll need to try it with a full python command line to titanium.py.) * You'll get the following runtime error:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/android/builder.py", line 1812, in <module>
log = TiLogger(os.path.join(os.path.abspath(os.path.expanduser(dequote(sys.argv[4]))), 'build.log'))
IndexError: list index out of range

Comments

  1. Natalie Huynh 2011-05-15

    Tested with 1.7.0.844218f... Emulator or device needs to be available to build the application to device

JSON Source