Opened 5 weeks ago

Closed 2 weeks ago

Last modified 13 days ago

#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)

0001-py-awscli2-Support-empty-PAGER.patch (2.5 KB) - added by graywolf-s1 3 weeks ago.
Patch fixing the issues

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 weeks ago by dgilman (David Gilman)

I am unable to reproduce this locally. Can you try these steps to reproduce:

  • does normal aws usage work?
  • does PAGER=cat aws s3 help work?
  • what's the log output of PAGER=cat aws s3 help --debug
  • the above should mention mandoc or groff under the awscli.help logger, which one is on your path, what version is it, and did you get it from the system or from MacPorts?

comment:2 Changed 3 weeks 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 3 weeks 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 3 weeks ago by graywolf-s1

Patch fixing the issues

comment:4 Changed 3 weeks 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:5 Changed 3 weeks ago by graywolf-s1

Uh, it probably is missing a revision bump.

comment:6 Changed 2 weeks 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 weeks ago by dgilman (David Gilman)

Resolution: fixed
Status: assignedclosed

In a956e0c4f25c2600db377cc0430ebb7ab0f076d5/macports-ports (master):

py-awscli2: update to 2.17.46

Closes: #70601

comment:8 Changed 13 days ago by graywolf-s1

Thank you :)

Note: See TracTickets for help on using tickets.