aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

[Bug]: Error in SQS Delete Message

Open ford-at-aws opened this issue 1 year ago • 0 comments

Expected behavior

Steps to run code are clearly identified. Code runs successfully without error.

Actual behavior

Steps to run are not clearly documented. Code fails on at least 1 error.

Steps to reproduce

1. clone repo
2. pull creds
3. `cd python/example_code/sqs`
4. `pytest`

Logs / stacktrace (if applicable)

At least this error:

ModuleNotFoundError: No module named 'queue_wrapper'

Customer reported this error, too:

File "3app.py", line 17, in process_message
message.delete()
AttributeError: 'str' object has no attribute 'delete'


### Which SDK were you using?

Python

### Which OS were you using?

macOS

### SDK version

3.11

### OS version

13.5.1

ford-at-aws avatar Nov 15 '23 20:11 ford-at-aws