Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10750] iPhone Simulator: bad path crash

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-09-06T10:08:56.000+0000
Affected Version/sRelease 2.1.2, Release 3.0.0
Fix Version/sRelease 3.0.0, Sprint 2012-18 Core
ComponentsiOS
Labelsbad, developer, ipass1, iphone, path, simulator
Reporterrichm
AssigneeMax Stepanov
Created2011-04-15T01:27:46.000+0000
Updated2017-03-21T18:24:46.000+0000

Description

Just thought I'd let you know that in Titanium Developer 1.2.2 I am now getting the following errors when I launch an app in the iOS 4.2 simulator:

[INFO] One moment, building ...
[INFO] Detected third-party module: jp.masuidrive.ti.admob/0.1
[INFO] Titanium SDK version: 1.5.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.2
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1040, in main
cleanup_app_logfiles()
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1038, in cleanup_app_logfiles
os.remove(i)
OSError: [Errno 2] No such file or directory: 'bad path 2F119901-0000-0000-0000-006B00000000'

If I click Launch again it works fine. Seems to be that every other 'launch' works.

Comments

  1. richm 2011-04-15

    I also get this in 1.6.0 with iOS 4.2 and Developer 1.2.2

  2. Max Stepanov 2012-09-04

    http://developer.appcelerator.com/question/131296/crash-every-2nd-time-i-launch
  3. Max Stepanov 2012-09-04

    PR pending https://github.com/appcelerator/titanium_mobile/pull/2866
  4. Michael Belkin 2012-09-26

    I'm experiencing this with 2.1.3RC
  5. Stephen Feather 2012-10-12

    Michael, If you are willing to hack up your iphone/builder.py file the fix is really simple, two back slashes to escape spaces in paths: https://github.com/appcelerator/titanium_mobile/pull/2866/files
  6. Lee Morris 2017-03-21

    Closing ticket as fixed.

JSON Source