Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run rake or ti compile/build #35

Open
michael4reynolds opened this issue Mar 13, 2012 · 2 comments
Open

Cannot run rake or ti compile/build #35

michael4reynolds opened this issue Mar 13, 2012 · 2 comments

Comments

@michael4reynolds
Copy link

When trying to rake the sample project this is what I receive:

Mike-Rs-MacBook-Pro:HelloTi mikemac$ rake
Compiling CoffeeScript
Successfully compiled CoffeeScript
Compiling stylesheets
Building with Titanium... (DEVICE_TYPE: iphone)
bash -c "~/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py run /Users/mikemac/Documents/Titanium Studio Workspace/HelloTi/ 5.0 com.yourdomain.helloti HelloTi iphone " | perl -pe 's/^[DEBUG].$/\e[35m$&\e[0m/g;s/^[INFO].$/\e[36m$&\e[0m/g;s/^[WARN].$/\e[33m$&\e[0m/g;s/^[ERROR].$/\e[31m$&\e[0m/g;'
[INFO] One moment, building ...
Traceback (most recent call last):
File "/Users/mikemac/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py", line 1545, in
main(sys.argv)
File "/Users/mikemac/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py", line 632, in main
ti = TiAppXML(tiapp_xml)
File "/Users/mikemac/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/../tiapp.py", line 52, in init
data = codecs.open(self.file,'r','utf-8','replace')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 881, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'/Users/mikemac/Documents/Titanium/tiapp.xml'

@michael4reynolds
Copy link
Author

Fixed the issue by editing the config.rb file and removing any spaces from any of the folder names.

@jaredmoody
Copy link

This should be re-opened. The build process should not fail because there's a space in a directory name in the path to the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants