Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lukego
Created September 3, 2014 08:18
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 lukego/39a33cdafa3b9c622363 to your computer and use it in GitHub Desktop.
Save lukego/39a33cdafa3b9c622363 to your computer and use it in GitHub Desktop.
Error when using icehouse tag 2014.1.2 instead of latest stable/icehouse branch
2014-09-03 07:05:48.595 | Obtaining file:///opt/stack/nova
2014-09-03 07:05:48.636 | Running setup.py (path:/opt/stack/nova/setup.py) egg_info for package from file:///opt/stack/nova
2014-09-03 07:05:48.937 | ERROR:root:Error parsing
2014-09-03 07:05:48.938 | Traceback (most recent call last):
2014-09-03 07:05:48.938 | File "/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 104, in pbr
2014-09-03 07:05:48.938 | attrs = util.cfg_to_args(path)
2014-09-03 07:05:48.938 | File "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 238, in cfg_to_args
2014-09-03 07:05:48.938 | pbr.hooks.setup_hook(config)
2014-09-03 07:05:48.938 | File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/__init__.py", line 27, in setup_hook
2014-09-03 07:05:48.938 | metadata_config.run()
2014-09-03 07:05:48.938 | File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/base.py", line 29, in run
2014-09-03 07:05:48.938 | self.hook()
2014-09-03 07:05:48.938 | File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/metadata.py", line 28, in hook
2014-09-03 07:05:48.938 | self.config['name'], self.config.get('version', None))
2014-09-03 07:05:48.939 | File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 904, in get_version
2014-09-03 07:05:48.939 | version = _get_version_from_git(pre_version)
2014-09-03 07:05:48.939 | File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 854, in _get_version_from_git
2014-09-03 07:05:48.939 | result = _get_version_from_git_target(git_dir, target_version)
2014-09-03 07:05:48.939 | File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 821, in _get_version_from_git_target
2014-09-03 07:05:48.939 | dict(new=new_version, target=target_version))
2014-09-03 07:05:48.939 | ValueError: git history requires a target version of pbr.version.SemanticVersion(2014.1.3), but target version is $
br.version.SemanticVersion(2014.1.2)
2014-09-03 07:05:48.940 | error in setup command: Error parsing /media/disk/stack/nova/setup.cfg: ValueError: git history requires a target $
ersion of pbr.version.SemanticVersion(2014.1.3), but target version is pbr.version.SemanticVersion(2014.1.2)
@Daviey
Copy link

Daviey commented Oct 7, 2014

And what was the fix? :)

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