#70601 closed defect (fixed)
py-awscli2 2.17.27: Help commands do not work
Reported by: | graywolf-s1 | Owned by: | davidgilman1@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.0 |
Keywords: | Cc: | ||
Port: | py-awscli2 |
Description
When I try to run any help command, it errors out.
/ $ command -v aws /opt/local/bin/aws / $ aws --version aws-cli/2.17.27 Python/3.11.9 Darwin/23.6.0 source/arm64 / $ aws s3 help list index out of range / $ aws ssm help list index out of range
Attachments (1)
Change History (9)
comment:1 Changed 3 months ago by dgilman (David Gilman)
comment:2 Changed 2 months ago by graywolf-s1
Thanks for the suggestions, PAGER=cat does indeed work, after some more digging based on that this turned out to be an upstream issue (now reported). Therefore this can be closed I think, there is nothing to do in macports (I will patch the Portfile in my tree until upstream does something). I would close this, but did not figure out how.
comment:3 Changed 2 months ago by dgilman (David Gilman)
I can include your patch in the next MacPorts update for the package and that PR can auto close this ticket.
Changed 2 months ago by graywolf-s1
Attachment: | 0001-py-awscli2-Support-empty-PAGER.patch added |
---|
Patch fixing the issues
comment:4 Changed 2 months ago by graywolf-s1
I have attached commit I applied to my local tree as a fix to the issue. I suggested the same fix to the upstream https://github.com/aws/aws-cli/issues/8891#issuecomment-2324652082 .
comment:6 Changed 2 months ago by dgilman (David Gilman)
I can sense your frustration over in the AWS issue tracker. The awscli team moves very slowly. For example, they haven't signed off on Python 3.12 support yet. I think it's just internal prioritization, they've been lacking in manpower and don't have people to keep awscli clean.
I will put your patch in macports shortly.
comment:7 Changed 2 months ago by dgilman (David Gilman)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I am unable to reproduce this locally. Can you try these steps to reproduce:
PAGER=cat aws s3 help
work?PAGER=cat aws s3 help --debug
awscli.help
logger, which one is on your path, what version is it, and did you get it from the system or from MacPorts?