Skip to content

Instantly share code, notes, and snippets.

Created September 30, 2013 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/375c47f169fb86c9c01b to your computer and use it in GitHub Desktop.
Save anonymous/375c47f169fb86c9c01b to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "setup.py", line 22, in <module>
**util.cfg_to_args())
File "/Users/Raza/dev/pbr/pbr/util.py", line 241, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/Users/Raza/dev/pbr/pbr/hooks/__init__.py", line 27, in setup_hook
metadata_config.run()
File "/Users/Raza/dev/pbr/pbr/hooks/base.py", line 29, in run
self.hook()
File "/Users/Raza/dev/pbr/pbr/hooks/metadata.py", line 28, in hook
self.config['name'], self.config.get('version', None))
File "/Users/Raza/dev/pbr/pbr/packaging.py", line 817, in get_version
version = _get_version_from_git(pre_version)
File "/Users/Raza/dev/pbr/pbr/packaging.py", line 776, in _get_version_from_git
"git --git-dir=\"" + git_dir + "\" describe --always").replace(
File "/Users/Raza/dev/pbr/pbr/packaging.py", line 220, in _run_shell_command
stderr=err_location)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child
raise child_exception
TypeError: must be encoded string without NULL bytes, not str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment