Just wanted to pass this along.  After upgrading to Baruwa 1.1.1, I was not
able to consistently view/release messages from quarantine.  It would work
maybe 1 out of 10 tries and the other 9 would give an http error 500 in the
Apache logs and the traceback below would be emailed to me.

So I installed django-kombu from EPEL and the problem went away (so far).
 Not sure why this would be sporatic unless there are some strange
interaction with this package and python-kombu from RPMforge.

Anyway, if this can be verified, it might be good to add this package to the
installation instructions to help others in the future.  I have added it to
my Puppet recipe for Baruwa installs.

Traceback (most recent call last):

  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line
111, in get_response

    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/lib/python2.6/site-packages/django/contrib/auth/decorators.py",
line 23, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/usr/lib/python2.6/site-packages/baruwa/messages/views.py", line
276, in preview

    'attachment; filename=%s' % result['name'])

  File "/usr/lib/python2.6/site-packages/celery/task/base.py", line 432, in
apply_async

    router = self.app.amqp.Router(queues)

  File "/usr/lib/python2.6/site-packages/kombu/utils/__init__.py", line 221,
in __get__

  File "/usr/lib/python2.6/site-packages/celery/app/base.py", line 306, in
amqp

    return instantiate(self.amqp_cls, app=self)

  File "/usr/lib/python2.6/site-packages/celery/utils/__init__.py", line
325, in instantiate

    return get_cls_by_name(name)(*args, **kwargs)

  File "/usr/lib/python2.6/site-packages/celery/utils/__init__.py", line
311, in get_cls_by_name

    module = imp(module_name)

  File "/usr/lib/python2.6/site-packages/importlib/__init__.py", line 37, in
import_module

    __import__(name)

  File "/usr/lib/python2.6/site-packages/celery/app/amqp.py", line 16, in
<module>

    from kombu import compat as messaging

  File "/usr/lib/python2.6/site-packages/kombu/compat.py", line 17, in
<module>

    from kombu.common import entry_to_queue

  File "/usr/lib/python2.6/site-packages/kombu/common.py", line 13, in
<module>

    from kombu.utils import uuid

ImportError: cannot import name uuid
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to