Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQS help show some error messages #3731

Closed
lazize opened this issue Nov 16, 2018 · 18 comments
Closed

SQS help show some error messages #3731

lazize opened this issue Nov 16, 2018 · 18 comments
Labels
bug This issue is a bug. documentation This is a problem with documentation. p3 This is a minor priority issue sqs

Comments

@lazize
Copy link

lazize commented Nov 16, 2018

If I use the command aws sqs help it shows me the error message below.

$ aws sqs help
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.

Version

$ aws --version
aws-cli/1.16.56 Python/3.5.2 Linux/4.4.0-139-generic botocore/1.12.46
@justnance
Copy link

justnance commented Nov 16, 2018

@lazize - Thank you for reaching out. I was unable to reproduce the issue because the command executed without any errors. For us to investigate this further, please upload the sanitize debug logs after running the command with --debug:

aws sqs help --debug

@justnance justnance self-assigned this Nov 16, 2018
@justnance justnance added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. guidance Question that needs advice or information. labels Nov 16, 2018
@lazize
Copy link
Author

lazize commented Nov 16, 2018

@justnance See it below.

$ aws sqs help --debug
2018-11-16 21:01:28,356 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.16.56 Python/3.5.2 Linux/4.4.0-139-generic botocore/1.12.46
2018-11-16 21:01:28,357 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['sqs', 'help', '--debug']
2018-11-16 21:01:28,358 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x7f86239e6a60>
2018-11-16 21:01:28,358 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x7f8624020f28>
2018-11-16 21:01:28,358 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x7f8623feb8c8>
2018-11-16 21:01:28,362 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x7f8625b9a730>
2018-11-16 21:01:28,366 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python3.5/dist-packages/botocore/data/sqs/2012-11-05/service-2.json
2018-11-16 21:01:28,374 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.sqs: calling handler <function register_retries_for_service at 0x7f8624974d08>
2018-11-16 21:01:28,374 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: sqs
2018-11-16 21:01:28,376 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sqs: calling handler <function add_waiters at 0x7f86239f8d90>
2018-11-16 21:01:28,391 - MainThread - botocore.hooks - DEBUG - Event doc-breadcrumbs.sqs: calling handler <bound method CLIDocumentEventHandler.doc_breadcrumbs of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,391 - MainThread - botocore.hooks - DEBUG - Event doc-title.sqs: calling handler <bound method CLIDocumentEventHandler.doc_title of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,392 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_description of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,395 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <function add_paging_description at 0x7f8623a857b8>
2018-11-16 21:01:28,395 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,395 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,396 - MainThread - botocore.hooks - DEBUG - Event doc-options-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,396 - MainThread - botocore.hooks - DEBUG - Event doc-options-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,396 - MainThread - botocore.hooks - DEBUG - Event doc-subitems-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_subitems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,396 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.add-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,397 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,397 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,397 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.create-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,397 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,397 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,398 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,398 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,398 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-url: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,399 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.help: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,399 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-dead-letter-source-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,399 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queue-tags: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,400 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,400 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.purge-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,401 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.receive-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,401 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.remove-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,401 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,401 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,402 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.set-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,402 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.tag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,402 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.untag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
2018-11-16 21:01:28,402 - MainThread - botocore.hooks - DEBUG - Event doc-relateditems-start.sqs: calling handler <bound method CLIDocumentEventHandler.doc_relateditems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x7f8623934a58>>
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.
2018-11-16 21:01:28,518 - MainThread - awscli.help - DEBUG - Running command: ['groff', '-m', 'man', '-T', 'ascii']
2018-11-16 21:01:28,583 - MainThread - awscli.help - DEBUG - Running command: ['less', '-R']

@justnance
Copy link

justnance commented Dec 6, 2018

@lazize - Thank you for your feedback and the --debug details. I was able to reproduce the issue in a test environment using multiple versions. We are working to get this resolved. Thanks again for reporting this issue.

@justnance justnance added documentation This is a problem with documentation. bug This issue is a bug. and removed guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Dec 6, 2018
@lazize
Copy link
Author

lazize commented Dec 13, 2018

@justnance I found a similar issue with aws kms help.

@hieuhtr
Copy link

hieuhtr commented Aug 22, 2019

Same to me for aws sqs help

❯❯ aws --version
aws-cli/1.16.158 Python/2.7.16 Darwin/18.5.0 botocore/1.12.166

❯❯ aws sqs help
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.

❯❯ aws sqs help --debug
2019-08-22 15:14:22,960 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.16.158 Python/2.7.16 Darwin/18.5.0 botocore/1.12.166
2019-08-22 15:14:22,960 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['sqs', 'help', '--debug']
2019-08-22 15:14:22,961 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x1078eff50>
2019-08-22 15:14:22,961 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x10720b9b0>
2019-08-22 15:14:22,962 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x107270aa0>
2019-08-22 15:14:22,970 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x1074ea9b0>
2019-08-22 15:14:22,973 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python2.7/site-packages/botocore/data/sqs/2012-11-05/service-2.json
2019-08-22 15:14:22,983 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sqs: calling handler <function add_waiters at 0x10790e398>
2019-08-22 15:14:23,000 - MainThread - botocore.hooks - DEBUG - Event doc-breadcrumbs.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_breadcrumbs of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,000 - MainThread - botocore.hooks - DEBUG - Event doc-title.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_title of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,001 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_description of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,005 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <function add_paging_description at 0x107885de8>
2019-08-22 15:14:23,005 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,006 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,006 - MainThread - botocore.hooks - DEBUG - Event doc-options-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,006 - MainThread - botocore.hooks - DEBUG - Event doc-options-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,006 - MainThread - botocore.hooks - DEBUG - Event doc-subitems-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_subitems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,006 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.add-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,007 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,007 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,007 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.create-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,007 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,008 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,008 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,008 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,008 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-url: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,010 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.help: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,010 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-dead-letter-source-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,010 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queue-tags: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,010 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,011 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.purge-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,011 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.receive-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,011 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.remove-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,011 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,012 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,012 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.set-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,012 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.tag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,012 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.untag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
2019-08-22 15:14:23,013 - MainThread - botocore.hooks - DEBUG - Event doc-relateditems-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_relateditems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x107a49950>>
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.
2019-08-22 15:14:23,090 - MainThread - awscli.help - DEBUG - Running command: ['groff', '-m', 'man', '-T', 'ascii']
2019-08-22 15:14:23,111 - MainThread - awscli.help - DEBUG - Running command: ['less', '-R']

@singhnitin25
Copy link

I am also getting same error:

➜ .aws aws sqs help
:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.

➜ .aws aws --version
aws-cli/2.0.16 Python/3.7.4 Darwin/19.2.0 botocore/2.0.0dev20

Please let me know if there is any workaround for this.

@scottgreenup
Copy link

I am also getting the error showing up.

$ aws --version
aws-cli/2.0.25 Python/3.8.3 Darwin/19.5.0 botocore/2.0.0dev29
Expand for aws sqs help
$ aws sqs help
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.

list index out of range
Expand for aws sqs help --debug
$ aws sqs help --debug
2020-06-25 13:45:24,164 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.0.25 Python/3.8.3 Darwin/19.5.0 botocore/2.0.0dev29
2020-06-25 13:45:24,164 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['sqs', 'help', '--debug']
2020-06-25 13:45:24,164 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x108c088b0>
2020-06-25 13:45:24,164 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x10849af70>
2020-06-25 13:45:24,164 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x108c56040>
2020-06-25 13:45:24,164 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x1084ef820>
2020-06-25 13:45:24,173 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x108ac6670>
2020-06-25 13:45:24,173 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x108a74820>
2020-06-25 13:45:24,194 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/botocore/data/sqs/2012-11-05/service-2.json
2020-06-25 13:45:24,199 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sqs: calling handler <function add_waiters at 0x108c0fee0>
2020-06-25 13:45:24,218 - MainThread - botocore.hooks - DEBUG - Event doc-breadcrumbs.sqs: calling handler <bound method CLIDocumentEventHandler.doc_breadcrumbs of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,218 - MainThread - botocore.hooks - DEBUG - Event doc-title.sqs: calling handler <bound method CLIDocumentEventHandler.doc_title of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,218 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_description of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-description.sqs: calling handler <function add_paging_description at 0x108a79ee0>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-synopsis-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_synopsis_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-options-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-options-end.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_options_end of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-subitems-start.sqs: calling handler <bound method ServiceDocumentEventHandler.doc_subitems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.add-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,220 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.change-message-visibility-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.create-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.delete-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.get-queue-url: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.help: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-dead-letter-source-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queue-tags: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.list-queues: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.purge-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,221 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.receive-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.remove-permission: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.send-message-batch: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.set-queue-attributes: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.tag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-subitem.sqs.untag-queue: calling handler <bound method ServiceDocumentEventHandler.doc_subitem of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
2020-06-25 13:45:24,222 - MainThread - botocore.hooks - DEBUG - Event doc-relateditems-start.sqs: calling handler <bound method CLIDocumentEventHandler.doc_relateditems_start of <awscli.clidocs.ServiceDocumentEventHandler object at 0x108d64670>>
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.
2020-06-25 13:45:24,370 - MainThread - awscli.help - DEBUG - Running command: ['groff', '-m', 'man', '-T', 'ascii']
2020-06-25 13:45:24,400 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
  File "/usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/awscli/clidriver.py", line 335, in main
    return command_table[parsed_args.command](remaining, parsed_args)
  File "/usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/awscli/clidriver.py", line 507, in __call__
    return command_table[parsed_args.operation](remaining, parsed_globals)
  File "/usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/awscli/help.py", line 273, in __call__
    self.renderer.render(self.doc.getvalue())
  File "/usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/awscli/help.py", line 85, in render
    self._send_output_to_pager(converted_content)
  File "/usr/local/Cellar/awscli/2.0.25/libexec/lib/python3.8/site-packages/awscli/help.py", line 120, in _send_output_to_pager
    if not self._exists_on_path(cmdline[0]):
IndexError: list index out of range
2020-06-25 13:45:24,403 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255

list index out of range

@scottgreenup
Copy link

scottgreenup commented Jun 25, 2020

I'll leave a link to https://docs.aws.amazon.com/cli/latest/reference/sqs/ in case people are looking for the help documentation.

Edit:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sqs/index.html#cli-aws-sqs is the latest documentation.

@scottgreenup
Copy link

Digging through, I remember setting PAGER to an empty string. This was to stop the CLI commands from using a pager, as I prefer the text to be dumped to the screen by default. This is what was causing my error.

$ PAGER="" aws sts help

list index out of range
# This will show the help page in less
$ PAGER="less" aws sts help
# This will show the help page on the CLI.
$ PAGER="randomwordsthatarentapager" aws sts help

@kdaily
Copy link
Member

kdaily commented Apr 23, 2021

This is still an issue.

@stobrien89
Copy link
Member

P46845868

@stobrien89 stobrien89 removed their assignment Jan 7, 2022
@jedrekdomanski
Copy link

What is the status of this issue? I have the same issue.

aws sqs help
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.

Could not find executable named "groff"
aws s3 help

Could not find executable named "groff"

@tim-finnigan
Copy link
Contributor

Hi @jedrekdomanski which OS and CLI versions are you using?

@jedrekdomanski
Copy link

I am on Ventura 13.0 (22A380)

aws --version
aws-cli/2.7.31 Python/3.10.6 Darwin/22.1.0 source/arm64 prompt/off

@tim-finnigan
Copy link
Contributor

Thanks @jedrekdomanski for confirming. I just created a tracking issue for this here: #7400, as we have received a few related reports now. The issue you're reporting appears due to macOS Ventura replacing groff with mandoc, which breaks the current help functionality. A fix for this should get prioritized by the team.

@rafrafek
Copy link

For me brew installs monterey bottle instead of ventura on my Ventura Mac. Other dependencies use correct ventura bottles.

==> Installing awscli dependency: lz4
==> Pouring lz4--1.9.4.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/lz4/1.9.4: 22 files, 680.1KB
==> Installing awscli dependency: zstd
==> Pouring zstd--1.5.2.arm64_ventura.bottle.3.tar.gz
🍺  /opt/homebrew/Cellar/zstd/1.5.2: 31 files, 2.2MB
==> Installing awscli
==> Pouring awscli--2.8.11.arm64_monterey.bottle.tar.gz

@tim-finnigan tim-finnigan added the p3 This is a minor priority issue label Nov 11, 2022
@tim-finnigan
Copy link
Contributor

tim-finnigan commented Aug 13, 2024

Closing since #7413 was merged.

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. documentation This is a problem with documentation. p3 This is a minor priority issue sqs
Projects
None yet
Development

No branches or pull requests

10 participants