Skip to content
This repository was archived by the owner on Oct 31, 2020. It is now read-only.
This repository was archived by the owner on Oct 31, 2020. It is now read-only.

KeyError exception #3

@rgcarrasqueira

Description

@rgcarrasqueira

Hi again Ian!

When I use CloudStorage with many process using the same bucket and the same queue, I´m getting this error bellow, any clue to solve this?

Thanks so much!

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/appsender/production/web_app/appsender.sender/src/slimta/slimta/queue/__init__.py", line 319, in _retry_later
    attempts = self.store.increment_attempts(id)
  File "/home/appsender/production/web_app/appsender.sender/src/slimta-cloudstorage/slimta/cloudstorage/__init__.py", line 91, in increment_attempts
    timestamp, attempts = self.obj_store.get_message_meta(id)
  File "/home/appsender/production/web_app/appsender.sender/src/slimta-cloudstorage/slimta/cloudstorage/aws.py", line 141, in get_message_meta
    key = self._get_key(id)
  File "/home/appsender/production/web_app/appsender.sender/src/slimta-cloudstorage/slimta/cloudstorage/aws.py", line 103, in _get_key
    raise KeyError(id)
KeyError: u'12c04387-1906-47d2-ac26-024c2836d2df'
<Greenlet at 0x1d0fa50: <bound method Queue._retry_later of <Queue at 0x140ec30>>(u'12c04387-1906-47d2-ac26-024c2836d2df', <Envelope at 0x1d09a90, sender=u'5326707b70cba91fb, <Reply code='450' message='4.3.0 10.0 seconds'>)> failed with KeyError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions