This is possibly the same bug I ran into the other week.

I ended up hacking the source about a bit to make it work.

The offending line is line 107 of baruwa/tasks/messages.py [0] - task.id seems to no longer exist in the latest and greatest version of celery!

Regards,

Chris

[0] https://github.com/akissa/baruwa2/blob/fcd5f59f45c6581589e1dd0445d1059d3cdccab1/baruwa/tasks/messages.py#l107

On 26/08/13 16:06, barney wrote:
Hi,

I'm unable to delete a message from quarantine after reboot the server. I'm
running CentOS 6.4.

/var/spool/MailScanner/quarantine is empty.

I get this error:

Module baruwa.controllers.messages:2 in process
Module repoze.what.plugins.pylonshq.protectors:118 in wrap_action
[#]<<                   return self.denial_handler(reason)
                    abort(code, comment=reason)
                return action_(*args, **kwargs)
[#]>>   return action_(*args, **kwargs)
Module baruwa.controllers.messages:670 in process
[#]<<           if result.ready():
                    finished = True
                    results = result.join()
                else:
                    session['bulkprocess-count'] += 1
[#]>>   results = result.join()
Module celery.result:495 in join
[#]<<               results.append(result.get(timeout=remaining,
                                              propagate=propagate,
                                              interval=interval))
                return results
[#]>>   interval=interval))
Module celery.result:108 in get
[#]<<           return self.backend.wait_for(self.id, timeout=timeout,
                                             propagate=propagate,
                                             interval=interval)
            wait = get  # deprecated alias to :meth:`get`.
[#]>>   interval=interval)
Module celery.backends.amqp:151 in wait_for
[#]<<           elif state in states.PROPAGATE_STATES:
                    if propagate:
                        raise self.exception_to_python(meta['result'])
                    return meta['result']
                else:
[#]>>   raise self.exception_to_python(meta['result'])
AttributeError: 'function' object has no attribute 'id'

Thanks a lot



--
View this message in context: 
http://baruwa-users-list.963389.n3.nabble.com/Can-t-delete-message-from-quarantine-tp4026950.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

_______________________________________________
http://pledgie.com/campaigns/12056


_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to