restore_group is not supported by this backend

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

restore_group is not supported by this backend

barney
Hi,

I have following two errors on a new Baruwa install with Jeremy's script:

When I preview the Quarantine all messages are shown also non Spam mail...

Failure number two when I release or delete a message I get follwing error but the system do the task right.

celeryd.log say:
2013-11-09 18:41:23,947 Baruwa[1536]: Task update-audit-log[cb8412f7-c859-49a5-97fc-fcd85028fa65] succeeded in 0.0136449337006s: None
2013-11-09 18:41:36,466 Baruwa[1536]: Got task from broker: process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a]
2013-11-09 18:41:36,467 Baruwa[1536]: Processing quarantined message: 1Vf5Zt-0007vn-9Q
2013-11-09 18:41:36,600 Baruwa[1536]: Message: 1Vf5Zt-0007vn-9Q deleted from quarantine
2013-11-09 18:41:36,621 Baruwa[1536]: Task process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a] succeeded in 0.154033184052s: {'errors': [], 'to_address':...

Then came error 500 in the webinterface and that I get in the error reporting mail:


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:654 in process
<<      def process(self, taskid, format=None):
               "process a taskset"
               result = TaskSetResult.restore(taskid, backend=dbbackend)
               if (result is None or
                   'taskids' not in session or
>>  result = TaskSetResult.restore(taskid, backend=dbbackend)
Module celery.result:631 in restore
<<          return (
                   backend or self.app.backend if self.app else current_app.backend
               ).restore_group(id)
>>  ).restore_group(id)
Module celery.backends.amqp:255 in restore_group
<<      def restore_group(self, group_id, cache=True):
               raise NotImplementedError(
                   'restore_group is not supported by this backend.')
     
           def delete_group(self, group_id):
>>  'restore_group is not supported by this backend.')
NotImplementedError: restore_group is not supported by this backend.

Thanks a lot
Reply | Threaded
Open this post in threaded view
|

Re: restore_group is not supported by this backend

jeremymcs
I am storing all messages with this install, you'll need to sort when viewing quarantine. The definition of quarantine just means stored on disk, not specific to spam. 

Andrew provided a patch, but it did not fix the restore_groups issue for me.

--
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="1">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="2">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="3">850-254-2955

On Nov 9, 2013, at 11:53 AM, "barney" <[hidden email]> wrote:

Hi,

I have following two errors on a new Baruwa install with Jeremy's script:

When I preview the Quarantine all messages are shown also non Spam mail...

Failure number two when I release or delete a message I get follwing error
but the system do the task right.

celeryd.log say:
2013-11-09 18:41:23,947 Baruwa[1536]: Task
update-audit-log[cb8412f7-c859-49a5-97fc-fcd85028fa65] succeeded in
0.0136449337006s: None
2013-11-09 18:41:36,466 Baruwa[1536]: Got task from broker:
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a]
2013-11-09 18:41:36,467 Baruwa[1536]: Processing quarantined message:
1Vf5Zt-0007vn-9Q
2013-11-09 18:41:36,600 Baruwa[1536]: Message: 1Vf5Zt-0007vn-9Q deleted from
quarantine
2013-11-09 18:41:36,621 Baruwa[1536]: Task
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a] succeeded in
0.154033184052s: {'errors': [], 'to_address':...

Then came error 500 in the webinterface and that I get in the error
reporting mail:


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:654 in process
<<      def process(self, taskid, format=None):
              "process a taskset"
              result = TaskSetResult.restore(taskid, backend=dbbackend)
              if (result is None or
                  'taskids' not in session or
result = TaskSetResult.restore(taskid, backend=dbbackend)
Module celery.result:631 in restore
<<          return (
                  backend or self.app.backend if self.app else
current_app.backend
              ).restore_group(id)
).restore_group(id)
Module celery.backends.amqp:255 in restore_group
<<      def restore_group(self, group_id, cache=True):
              raise NotImplementedError(
                  'restore_group is not supported by this backend.')

          def delete_group(self, group_id):
'restore_group is not supported by this backend.')
NotImplementedError: restore_group is not supported by this backend.

Thanks a lot



--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/restore-group-is-not-supported-by-this-backend-tp4027150.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

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

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

Re: restore_group is not supported by this backend

barney

Hi Jeremy,

 

how can I change this. I won’t store messages that are no spam.

 

It is possible to test the patch?

 

Thanks a lot

 

Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Jeremy McSpadden
Gesendet: Samstag, 09. November 2013 18:57
An: Baruwa users list
Cc: [hidden email]
Betreff: Re: [Baruwa] restore_group is not supported by this backend

 

I am storing all messages with this install, you'll need to sort when viewing quarantine. The definition of quarantine just means stored on disk, not specific to spam. 

 

Andrew provided a patch, but it did not fix the restore_groups issue for me.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : <a href="tel:850-250-5590;101">850-250-5590x101 | Cell : <a href="tel:850-890-2543">850-890-2543 | Fax : <a href="tel:850-254-2955">850-254-2955


On Nov 9, 2013, at 11:53 AM, "barney" <[hidden email]> wrote:

Hi,

I have following two errors on a new Baruwa install with Jeremy's script:

When I preview the Quarantine all messages are shown also non Spam mail...

Failure number two when I release or delete a message I get follwing error
but the system do the task right.

celeryd.log say:
2013-11-09 18:41:23,947 Baruwa[1536]: Task
update-audit-log[cb8412f7-c859-49a5-97fc-fcd85028fa65] succeeded in
0.0136449337006s: None
2013-11-09 18:41:36,466 Baruwa[1536]: Got task from broker:
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a]
2013-11-09 18:41:36,467 Baruwa[1536]: Processing quarantined message:
1Vf5Zt-0007vn-9Q
2013-11-09 18:41:36,600 Baruwa[1536]: Message: 1Vf5Zt-0007vn-9Q deleted from
quarantine
2013-11-09 18:41:36,621 Baruwa[1536]: Task
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a] succeeded in
0.154033184052s: {'errors': [], 'to_address':...

Then came error 500 in the webinterface and that I get in the error
reporting mail:


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:654 in process
<<      def process(self, taskid, format=None):
              "process a taskset"
              result = TaskSetResult.restore(taskid, backend=dbbackend)
              if (result is None or
                  'taskids' not in session or

result = TaskSetResult.restore(taskid, backend=dbbackend)

Module celery.result:631 in restore
<<          return (
                  backend or self.app.backend if self.app else
current_app.backend
              ).restore_group(id)

).restore_group(id)

Module celery.backends.amqp:255 in restore_group
<<      def restore_group(self, group_id, cache=True):
              raise NotImplementedError(
                  'restore_group is not supported by this backend.')

          def delete_group(self, group_id):

'restore_group is not supported by this backend.')

NotImplementedError: restore_group is not supported by this backend.

Thanks a lot



--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/restore-group-is-not-supported-by-this-backend-tp4027150.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

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


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

Re: restore_group is not supported by this backend

jeremymcs
nonspam.actions.rules in /etc/MailScanner change it to deliver only. 

Let me find patch

--
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="1">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="2">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="3">850-254-2955

On Nov 9, 2013, at 12:06 PM, "Bernhard Sigl" <[hidden email]> wrote:

Hi Jeremy,

 

how can I change this. I won’t store messages that are no spam.

 

It is possible to test the patch?

 

Thanks a lot

 

Von: [hidden email] [[hidden email]] Im Auftrag von Jeremy McSpadden
Gesendet: Samstag, 09. November 2013 18:57
An: Baruwa users list
Cc: [hidden email]
Betreff: Re: [Baruwa] restore_group is not supported by this backend

 

I am storing all messages with this install, you'll need to sort when viewing quarantine. The definition of quarantine just means stored on disk, not specific to spam. 

 

Andrew provided a patch, but it did not fix the restore_groups issue for me.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions
Office : <a href="tel:850-250-5590;101">850-250-5590x101 | Cell : <a href="tel:850-890-2543">850-890-2543 | Fax : <a href="tel:850-254-2955">850-254-2955


On Nov 9, 2013, at 11:53 AM, "barney" <[hidden email]> wrote:

Hi,

I have following two errors on a new Baruwa install with Jeremy's script:

When I preview the Quarantine all messages are shown also non Spam mail...

Failure number two when I release or delete a message I get follwing error
but the system do the task right.

celeryd.log say:
2013-11-09 18:41:23,947 Baruwa[1536]: Task
update-audit-log[cb8412f7-c859-49a5-97fc-fcd85028fa65] succeeded in
0.0136449337006s: None
2013-11-09 18:41:36,466 Baruwa[1536]: Got task from broker:
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a]
2013-11-09 18:41:36,467 Baruwa[1536]: Processing quarantined message:
1Vf5Zt-0007vn-9Q
2013-11-09 18:41:36,600 Baruwa[1536]: Message: 1Vf5Zt-0007vn-9Q deleted from
quarantine
2013-11-09 18:41:36,621 Baruwa[1536]: Task
process-quarantined-msg[941e7221-cce7-46b2-9925-ba4e40660e9a] succeeded in
0.154033184052s: {'errors': [], 'to_address':...

Then came error 500 in the webinterface and that I get in the error
reporting mail:


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:654 in process
<<      def process(self, taskid, format=None):
              "process a taskset"
              result = TaskSetResult.restore(taskid, backend=dbbackend)
              if (result is None or
                  'taskids' not in session or

result = TaskSetResult.restore(taskid, backend=dbbackend)

Module celery.result:631 in restore
<<          return (
                  backend or self.app.backend if self.app else
current_app.backend
              ).restore_group(id)

).restore_group(id)

Module celery.backends.amqp:255 in restore_group
<<      def restore_group(self, group_id, cache=True):
              raise NotImplementedError(
                  'restore_group is not supported by this backend.')

          def delete_group(self, group_id):

'restore_group is not supported by this backend.')

NotImplementedError: restore_group is not supported by this backend.

Thanks a lot



--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/restore-group-is-not-supported-by-this-backend-tp4027150.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

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

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

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

Re: restore_group is not supported by this backend

barney
Thanks a lot
Reply | Threaded
Open this post in threaded view
|

Re: restore_group is not supported by this backend

Mark
This post has NOT been accepted by the mailing list yet.
In reply to this post by jeremymcs
Hi Jeremy,

Do you have the link please, I have the same issue.


Thanks

Mark