aws help error #7900
Labels
closed-for-staleness
duplicate
This issue is a duplicate.
pager
issues related to AWS_PAGER, cli_pager, or other client-side paging (not API pagination)
Describe the bug
Got a error when run aws help
Expected Behavior
get some help information
Current Behavior
ouput: list index out of range
Reproduction Steps
aws --debug help
Possible Solution
No response
Additional Information/Context
➜ ~ aws --debug help
2023-05-17 17:22:41,125 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.11.20 Python/3.11.3 Darwin/22.4.0 source/arm64
2023-05-17 17:22:41,125 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['--debug', 'help']
2023-05-17 17:22:41,137 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler
......
2023-05-17 17:22:41,180 - MainThread - awscli.help - DEBUG - Running command: ['mandoc', '-T', 'ascii']
2023-05-17 17:22:41,188 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "/opt/homebrew/Cellar/awscli/2.11.20/libexec/lib/python3.11/site-packages/awscli/clidriver.py", line 460, in main
return command_table[parsed_args.command](remaining, parsed_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/awscli/2.11.20/libexec/lib/python3.11/site-packages/awscli/help.py", line 278, in call
self.renderer.render(self.doc.getvalue())
File "/opt/homebrew/Cellar/awscli/2.11.20/libexec/lib/python3.11/site-packages/awscli/help.py", line 84, in render
self._send_output_to_pager(converted_content)
File "/opt/homebrew/Cellar/awscli/2.11.20/libexec/lib/python3.11/site-packages/awscli/help.py", line 125, in _send_output_to_pager
if not self._exists_on_path(cmdline[0]):
~~~~~~~^^^
IndexError: list index out of range
list index out of range
CLI version used
aws-cli/2.11.20
Environment details (OS name and version, etc.)
macOS Ventura 13.3.1
The text was updated successfully, but these errors were encountered: