← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1188080] Re: prepare fails: too many values to unpack

 

** Changed in: anvil
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1188080

Title:
  prepare fails: too many values to unpack

Status in OpenStack Anvil:
  Fix Released

Bug description:
  $ ./smithy -a prepare
  ...
  Traceback (most recent call last):
    File "/home/stack/anvil/anvil/__main__.py", line 217, in main
      run(args)
    File "/home/stack/anvil/anvil/__main__.py", line 121, in run
      runner.run(persona_obj)
    File "/home/stack/anvil/anvil/actions/base.py", line 343, in run
      self._run(persona, component_order, instances)
    File "/home/stack/anvil/anvil/actions/prepare.py", line 83, in _run
      *removals
    File "/home/stack/anvil/anvil/actions/base.py", line 327, in _run_phase
      functors.end(instance, result)
    File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/stack/anvil/anvil/phase.py", line 38, in mark
      yield what
    File "/home/stack/anvil/anvil/actions/base.py", line 325, in _run_phase
      result = functors.run(instance)
    File "/home/stack/anvil/anvil/actions/prepare.py", line 77, in <lambda>
      run=lambda i: dependency_handler.package(),
    File "/home/stack/anvil/anvil/packaging/yum.py", line 90, in package
      super(YumDependencyHandler, self).package()
    File "/home/stack/anvil/anvil/packaging/base.py", line 124, in package
      self.gather_pips_to_install(requires_files, extra_pips)
    File "/home/stack/anvil/anvil/packaging/base.py", line 187, in gather_pips_to_install
      for (k, req_list) in contents.get('incompatibles', {}):
  ValueError: too many values to unpack

  
  If `incompatibles` is empty, no error occurs.
  There should be
      for (k, req_list) in contents.get('incompatibles', {}).iteritems():

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1188080/+subscriptions