title: Kombu - TypeError: Struct() argument 1 must be string, not unicode
body: <p>I have been using <code>Kombu</code> for sometime now - and today when I readied a new machine for deployment, I am getting <code>TypeError</code> on <code>import</code> from <code>kombu</code>:</p>
  
  <pre><code>&gt;&gt;&gt; import kombu
  &gt;&gt;&gt; from kombu import Connection, Exchange, Queue, Producer
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/site-packages/kombu/__init__.py", line 81, in __getattr__
      module = __import__(object_origins[str(name)], None, None, [str(name)])
    File "/usr/local/lib/python2.7/site-packages/kombu/connection.py", line 15, in &lt;module&gt;
      from kombu import exceptions
    File "/usr/local/lib/python2.7/site-packages/kombu/exceptions.py", line 6, in &lt;module&gt;
      from amqp import ChannelError, ConnectionError, ResourceError
    File "/usr/local/lib/python2.7/site-packages/amqp/__init__.py", line 48, in &lt;module&gt;
      from .basic_message import Message      # noqa
    File "/usr/local/lib/python2.7/site-packages/amqp/basic_message.py", line 29, in &lt;module&gt;
      from .serialization import GenericContent
    File "/usr/local/lib/python2.7/site-packages/amqp/serialization.py", line 33, in &lt;module&gt;
      from .exceptions import FrameSyntaxError
    File "/usr/local/lib/python2.7/site-packages/amqp/exceptions.py", line 264, in &lt;module&gt;
      str(_method_name)
  TypeError: Struct() argument 1 must be string, not unicode
  </code></pre>