Re:Fogcreek is shutting down webputty.net and has pushed the...
by nikcub on Friday April 06, 2012 @06:51AM
(#3806642)
It is attempting to zip a directory in the fabfile. You don't need to zip the contents of an app to deploy it. Try deploying using the SDK directly with:
$ python2.5 appcfg.py -A appname update .
replace 'appname' with the name of the app you registered.
Re:Fogcreek is shutting down webputty.net and has pushed the...
by tghw on Friday April 06, 2012 @09:57AM
(#3807134)
Try taking the ziplibs(env.deploy_path) call out. It's not strictly necessary.
Re:Fogcreek is shutting down webputty.net and has pushed the...
by vjsingh on Sunday April 15, 2012 @01:25PM
(#3844132)
Thanks! That worked. I get "Error: Server Error" when visiting my appspot url though (drpepecss.appspot.com)
Also, getting this error after successful deployment:
Completed update of app: drpepecss, version: 1
Uploading cron entries.
Uploading task queue entries.
Reverting /Users/Varun/Documents/workspace/webputty3/js_css_packages/packages.py
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/fabric/main.py", line 712, in main
*args, **kwargs
File "/Library/Python/2.5/site-packages/fabric/tasks.py", line 327, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/Library/Python/2.5/site-packages/fabric/tasks.py", line 112, in run
return self.wrapped(*args, **kwargs)
File "/Users/Varun/Documents/workspace/webputty3/fabfile.py", line 53, in decorated_func
return func(*args, **kwargs)
File "/Users/Varun/Documents/workspace/webputty3/fabfile.py", line 76, in deploy
clean_packages(env.deploy_path)
File "/Users/Varun/Documents/workspace/webputty3/fabfile.py", line 89, in clean_packages
compress.revert_js_css_hashes(base_path)
File "/Users/Varun/Documents/workspace/webputty3/compress.py", line 23, in revert_js_css_hashes
popen_results(['hg', 'revert', '--no-backup', path])
File "/Users/Varun/Documents/workspace/webputty3/compress.py", line 152, in popen_results
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1097, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Zipping ziplibs. Traceback (most recent call last): File "/Library/Python/2.6/site-packages/fabric/main.py", line 712, in main args, kwargs
IOError: [Errno 21] Is a directoryAny idea what the problem is?