FS#61924 - KeyError: 'sms-voice'

Attached to Project: Community Packages
Opened by Kai Hendry (hendry) - Wednesday, 06 March 2019, 07:43 GMT
Last edited by Balló György (City-busz) - Saturday, 16 March 2019, 14:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Need aws-cli package I think (according to my googling skills) is incompatible with botocore


Additional info:
* aws-cli-1.16.117-1


Steps to reproduce:

Update to aws-cli-1.16.117-1
Try some S3 operation

Traceback (most recent call last):
File "/usr/bin/aws", line 27, in <module>
sys.exit(main())
File "/usr/bin/aws", line 23, in main
return awscli.clidriver.main()
File "/usr/lib/python3.7/site-packages/awscli/clidriver.py", line 59, in main
rc = driver.main()
File "/usr/lib/python3.7/site-packages/awscli/clidriver.py", line 193, in main
command_table = self._get_command_table()
File "/usr/lib/python3.7/site-packages/awscli/clidriver.py", line 102, in _get_command_table
self._command_table = self._build_command_table()
File "/usr/lib/python3.7/site-packages/awscli/clidriver.py", line 122, in _build_command_table
command_object=self)
File "/home/hendry/.local/lib/python3.7/site-packages/botocore/session.py", line 725, in emit
return self._events.emit(event_name, **kwargs)
File "/home/hendry/.local/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/home/hendry/.local/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/home/hendry/.local/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
File "/usr/lib/python3.7/site-packages/awscli/customizations/sms_voice.py", line 21, in hide_sms_voice
command_table['sms-voice']._UNDOCUMENTED = True
KeyError: 'sms-voice'


Workaround: downgrading package aws-cli (1.16.117-1 => 1.16.60-1)
This task depends upon

Closed by  Balló György (City-busz)
Saturday, 16 March 2019, 14:20 GMT
Reason for closing:  Not a bug
Comment by loqs (loqs) - Wednesday, 06 March 2019, 16:48 GMT
/home/hendry/.local/lib/python3.7/site-packages/botocore/session.py
If you use botocore provided by python-botocore 1.12.107-1 is the issue still present?

Loading...