Skip to content

Instantly share code, notes, and snippets.

@drags
Created June 5, 2013 23:51
Show Gist options
  • Save drags/5718270 to your computer and use it in GitHub Desktop.
Save drags/5718270 to your computer and use it in GitHub Desktop.
Fabric-1.6.1 with_jinja templating stacktrace
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/main.py", line 739, in main
*args, **kwargs
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/tasks.py", line 317, in execute
multiprocessing
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/tasks.py", line 213, in _execute
return task.run(*args, **kwargs)
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/tasks.py", line 123, in run
return self.wrapped(*args, **kwargs)
File "/Users/tim/src/awesm/shares-api/fabfile.py", line 31, in deploy
java.deploy(vers)
File "/Library/Python/2.7/site-packages/awesm_deploy/java.py", line 99, in deploy
update_conf(env.data_file, env.config_template_path, config_final_path)
File "/Library/Python/2.7/site-packages/awesm_deploy/deploy.py", line 55, in update_conf
files.upload_template(env.config_template, env.config_path, context=config_data, use_jinja=True, use_sudo=True)
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/contrib/files.py", line 101, in upload_template
template_dir = apply_lcwd(template_dir, env)
File "/Library/Python/2.7/site-packages/Fabric-1.6.1-py2.7.egg/fabric/utils.py", line 358, in apply_lcwd
if not os.path.isabs(path) and env.lcwd:
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 53, in isabs
return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
@rkb9572
Copy link

rkb9572 commented Jul 26, 2013

I'm getting this same stacktrace. Did you ever find a resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment