|
I'm following the step-by-step instructions to run it on my google app engine account, but I get an error when I run "fab deploy." It asks me for my email and does a bunch of stuff, but then this happens: Zipping ziplibs.
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/fabric/main.py", line 712, in main
args, kwargs File "/Library/Python/2.6/site-packages/fabric/tasks.py", line 327, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/Library/Python/2.6/site-packages/fabric/tasks.py", line 112, in run
return self.wrapped(*args, **kwargs)
File "/Users/swiss/webapps/WebPutty/fabfile.py", line 53, in decorated_func
return func(*args, **kwargs)
File "/Users/swiss/webapps/WebPutty/fabfile.py", line 66, in deploy
ziplibs(env.deploy_path)
File "/Users/swiss/webapps/WebPutty/fabfile.py", line 178, in ziplibs
os.path.walk(to_zip, add_file, (zip_file, os.path.dirname(to_zip)))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py", line 224, in walk
func(arg, top, names)
File "/Users/swiss/webapps/WebPutty/fabfile.py", line 177, in add_file
zip_file.write(os.path.join(dir_name, name), os.path.join(dir_name[len(common_base):], name))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 1024, in write
fp = open(filename, "rb")
IOError: [Errno 21] Is a directoryAny idea what the problem is? |
$ python2.5 appcfg.py -A appname update .
replace 'appname' with the name of the app you registered.