tonylukasavage / triple

REPL for Titanium
MIT License
96 stars 21 forks source link

Triple fails to launch if jsca file cannot be found #34

Closed skypanther closed 10 years ago

skypanther commented 10 years ago

Running with a nightly SDK build, I apparently don't have the required api.jsca file. The result is an endless spinner.

≫ triple
error finding api.jsca file. Error: ENOENT, open '/Users/admin/Library/Application Support/Titanium/mobilesdk/osx/3.4.0/api.jsca'

After selecting the 3.3.0.GA SDK version, triple loads fine. While using a nightly SDK might not be in your plans, it would be nice if triple would ignore the error and load anyway.

This likely results from the tab completion feature.

tonylukasavage commented 10 years ago

yeah, definitely want this to work with nightlies. I'll see if I can fix it. How did you install the nightly?

skypanther commented 10 years ago

Ah, that's the issue. I was testing an SDK PR and built from source without the jsca file (scons build_jsca=0). So, this is probably an edge case then.

tonylukasavage commented 10 years ago

OK, just wanted to make sure it was a unusual install. It should fail gracefully though. I'll take care of it.