Broken Quarantine Release & Preview Message

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken Quarantine Release & Preview Message

jeremymcs
So this looks to be happening with quite a few users. Andrew can you point me in the direction to start looking? I think it has something to do with celery.
This makes the baruwa interface useless as you can't view an email, or release.

Preview Message:

2013-08-27 14:51:47,128 Baruwa[1831]: Got task from broker: preview-message[72dd44e9-707c-4e25-8279-eaa025e1af2f]
2013-08-27 14:51:47,178 Baruwa[1831]: preview-message 72dd44e9-707c-4e25-8279-eaa025e1af2f Accessing message: 1VEKUX-0004li-Rd, Failed: coercing to Unicode: need string or buffer, NoneType found
2013-08-27 14:51:47,183 Baruwa[1831]: Task preview-message[72dd44e9-707c-4e25-8279-eaa025e1af2f] succeeded in 0.0539400577545s: {}


Release Quarantine:

2013-08-27 14:51:56,167 Baruwa[1831]: Got task from broker: process-quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b]
2013-08-27 14:51:56,170 Baruwa[1831]: Processing quarantined message: 1VEKUX-0004li-Rd
2013-08-27 14:51:56,246 Baruwa[1831]: Task process-quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b] raised exception: AttributeError("'function' object has no attribute 'id'",)
Traceback (most recent call last):
  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 233, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 420, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 140, in process_quarantined_msg
    return process_message(job, logger)
  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 107, in process_message
    task=task.id, error=str(exception)))
None: 'function' object has no attribute 'id'

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955



_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

Cedric Betrisey
Jeremy McSpadden <jeremy@...> writes:

>
> So this looks to be happening with quite a few users. Andrew can you point
me in the direction to start
> looking? I think it has something to do with celery.
> This makes the baruwa interface useless as you can't view an email, or
release.
>
> Preview Message:
>
> 2013-08-27 14:51:47,128 Baruwa[1831]: Got task from broker: preview-
message[72dd44e9-707c-4e25-8279-eaa025e1af2f]
> 2013-08-27 14:51:47,178 Baruwa[1831]: preview-message 72dd44e9-707c-4e25-
8279-eaa025e1af2f
> Accessing message: 1VEKUX-0004li-Rd, Failed: coercing to Unicode: need
string or buffer, NoneType found
> 2013-08-27 14:51:47,183 Baruwa[1831]: Task
> preview-message[72dd44e9-707c-4e25-8279-eaa025e1af2f] succeeded in
0.0539400577545s: {}
>
> Release Quarantine:
>
> 2013-08-27 14:51:56,167 Baruwa[1831]: Got task from broker: process-
quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b]
> 2013-08-27 14:51:56,170 Baruwa[1831]: Processing quarantined message:
1VEKUX-0004li-Rd
> 2013-08-27 14:51:56,246 Baruwa[1831]: Task
> process-quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b] raised
exception:
> AttributeError("'function' object has no attribute 'id'",)
> Traceback (most recent call last):
>   File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py",
line 233, in trace_task
>     R = retval = fun(*args, **kwargs)
>   File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py",
line 420, in __protected_call__
>     return self.run(*args, **kwargs)
>   File "/home/baruwa/px/lib/python2.6/site-
packages/baruwa/tasks/messages.py", line 140, in process_quarantined_msg
>     return process_message(job, logger)
>   File "/home/baruwa/px/lib/python2.6/site-
packages/baruwa/tasks/messages.py", line 107, in process_message

>     task=task.id, error=str(exception)))
> None: 'function' object has no attribute 'id'
>
> --
> Jeremy McSpadden
> Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
> Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955
>
> _______________________________________________
> http://pledgie.com/campaigns/12056
>
>

Hello,
Same problem for me. Did you found something?
Cheers
Cedric



_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

jeremymcs
Not yet. I'm waiting and hoping Andrew has a fix or is working on one. 

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : <a href="tel:850-250-5590;101" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2">850-250-5590x101 | Cell : <a href="tel:850-890-2543" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3">850-890-2543 | Fax : <a href="tel:850-254-2955" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="4">850-254-2955

On Aug 28, 2013, at 10:19 AM, "Cedric Betrisey" <[hidden email]> wrote:

Jeremy McSpadden <jeremy@...> writes:


So this looks to be happening with quite a few users. Andrew can you point
me in the direction to start
looking? I think it has something to do with celery.
This makes the baruwa interface useless as you can't view an email, or
release.

Preview Message:

2013-08-27 14:51:47,128 Baruwa[1831]: Got task from broker: preview-
message[72dd44e9-707c-4e25-8279-eaa025e1af2f]
2013-08-27 14:51:47,178 Baruwa[1831]: preview-message 72dd44e9-707c-4e25-
8279-eaa025e1af2f
Accessing message: 1VEKUX-0004li-Rd, Failed: coercing to Unicode: need
string or buffer, NoneType found
2013-08-27 14:51:47,183 Baruwa[1831]: Task
preview-message[72dd44e9-707c-4e25-8279-eaa025e1af2f] succeeded in
0.0539400577545s: {}

Release Quarantine:

2013-08-27 14:51:56,167 Baruwa[1831]: Got task from broker: process-
quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b]
2013-08-27 14:51:56,170 Baruwa[1831]: Processing quarantined message:
1VEKUX-0004li-Rd
2013-08-27 14:51:56,246 Baruwa[1831]: Task
process-quarantined-msg[22c9a1dd-44e1-4a7c-8e37-0e2304d9666b] raised
exception:
AttributeError("'function' object has no attribute 'id'",)
Traceback (most recent call last):
 File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py",
line 233, in trace_task
   R = retval = fun(*args, **kwargs)
 File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py",
line 420, in __protected_call__
   return self.run(*args, **kwargs)
 File "/home/baruwa/px/lib/python2.6/site-
packages/baruwa/tasks/messages.py", line 140, in process_quarantined_msg
   return process_message(job, logger)
 File "/home/baruwa/px/lib/python2.6/site-
packages/baruwa/tasks/messages.py", line 107, in process_message
   task=task.id, error=str(exception)))
None: 'function' object has no attribute 'id'

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955

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



Hello,
Same problem for me. Did you found something?
Cheers
Cedric



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


_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

Andrew Colin Kissa
Administrator

On 28 Aug 2013, at 5:39 PM, Jeremy McSpadden wrote:

> Not yet. I'm waiting and hoping Andrew has a fix or is working on one.

Try using celery version 3.0.21, if that does not resolve the issue then
then it may be a configuration problem as i cannot replicate this issue.
 

--
www.baruwa.org




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

signature.asc (858 bytes) Download Attachment
--
Baruwa - www.baruwa.org
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

jeremymcs
I will try to downgrade. I've down a dozen new installs and all are broken with these errors. Several users are also experiencing the same. 

Thanks for the reply. 

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : <a href="tel:850-250-5590;101" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2">850-250-5590x101 | Cell : <a href="tel:850-890-2543" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3">850-890-2543 | Fax : <a href="tel:850-254-2955" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="4">850-254-2955

On Aug 28, 2013, at 12:11 PM, "Andrew Colin Kissa" <[hidden email]> wrote:


On 28 Aug 2013, at 5:39 PM, Jeremy McSpadden wrote:

Not yet. I'm waiting and hoping Andrew has a fix or is working on one.

Try using celery version 3.0.21, if that does not resolve the issue then
then it may be a configuration problem as i cannot replicate this issue.


--
www.baruwa.org



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

_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

jeremymcs
In reply to this post by Andrew Colin Kissa
This did not resolve the issue. Still getting both errors on pip install celery==3.0.21

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955

On Aug 28, 2013, at 12:10 PM, Andrew Colin Kissa <[hidden email]> wrote:

Try using celery version 3.0.21, if that does not resolve the issue then
then it may be a configuration problem as i cannot replicate this issue.



_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

Cedric Betrisey
Jeremy McSpadden <jeremy@...> writes:

>
> This did not resolve the issue. Still getting both errors on pip install
celery==3.0.21

>
> --
> Jeremy McSpadden
> Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
> Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955
>
> On Aug 28, 2013, at 12:10 PM, Andrew Colin Kissa <andrew@...> wrote:
>
> Try using celery version 3.0.21, if that does not resolve the issue then
> then it may be a configuration problem as i cannot replicate this issue.
>
> _______________________________________________
> http://pledgie.com/campaigns/12056
>
>


Hi,
I tried the same and has still got same issue. Issue seems to be reproducible
(every time we setup baruwa) , at least on ubuntu platform (the one I use).
And trick / suggestions how to progress into resolving this ?
Cheers
Cedric Betrisey


_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Broken Quarantine Release & Preview Message

insomniatticnz
This post has NOT been accepted by the mailing list yet.
Hi there everyone, has anyone had any progress on fixing this issue? I am unable to preview quarantined messages and cannot release or delete them.