AWSCodeDeploy broken?


This looks like an error on a CircleCI python script, nothing to do with my code. This just started this morning:

watch_application_deployment /tmp/codedeploy_deployments.json
watch_application_deployment loaded: {“deployments”: [{“deployment_config”: “CodeDeployDefault.HalfAtATime”, “application_root”: “/”, “revision_location”: {“revisionType”: “S3”, “s3Location”: {“bundleType”: “zip”, “eTag”: “be9a9a107cfdf89ebc8da854d89b3ed9”, “bucket”: “pacificrealmedia-deploy”, “key”: “trad-834-31784cf”}}, “application_name”: “trad”, “deployment_group”: “production”, “region”: “us-west-2”, “deployment_id”: “d-PX9RIELQI”}]}
Watching deployment d-PX9RIELQI
View on the CodeDeploy console at:

(Failed) trad: Pending:1, InProgress:0, Succeeded:0, Failed:0, Skipped:0
ERROR: Traceback (most recent call last):
File “/usr/local/bin/watch_application_deployment”, line 9, in
load_entry_point(‘circle-sds-support==0.8.1’, ‘console_scripts’, ‘watch_application_deployment’)()
File “/usr/local/lib/python2.7/dist-packages/circlesds/”, line 222, in watch_application_deployment
print(“ERROR:”, e)
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2019’ in position 18: ordinal not in range(128)

((watch_application_deployment “/tmp/codedeploy_deployments.json”)) returned exit code 1

Action failed: Watch deployment


Was this ever resolved? I’m running into the same issue currently. Trying to force LC_ALL to match LANG doesn’t work (in machine environment). Setting PYTHONIOENCODING to UTF-8 also fails in the same manner.

closed #3