← Back to team overview

registry team mailing list archive

[Bug 670654] [NEW] unittests hang on python 2.6.1

 

Public bug reported:

When running the unittests with an older version of python, the
unittests hang while trying to do an rpc.call.  The following shows up
in the log:

ERROR:root:Failed to fetch message from queue
Traceback (most recent call last):
  File "/Users/vishvananda/bzr/trunkdoc/nova/rpc.py", line 99, in fetch
    super(Consumer, self).fetch(no_ack, auto_ack, enable_callbacks)
  File "/Library/Python/2.6/site-packages/carrot-0.10.5-py2.6.egg/carrot/messaging.py", line 308, in fetch
    self.receive(message.payload, message)
  File "/Users/vishvananda/bzr/trunkdoc/nova/exception.py", line 86, in _wrap
    raise Error(str(e))
Error: __init__() keywords must be strings

This is due to the packing and unpacking of context using kwargs that
are unicode due to being passed through the queue

** Affects: nova
     Importance: Low
     Assignee: Vish Ishaya (vishvananda)
         Status: Fix Committed

** Changed in: nova
     Assignee: (unassigned) => Vish Ishaya (vishvananda)

** Changed in: nova
   Importance: Undecided => Low

** Changed in: nova
       Status: New => Fix Committed

-- 
unittests hang on python 2.6.1
https://bugs.launchpad.net/bugs/670654
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References