awscli crashes immediately on start

Bug #1499063 reported by psanford
This bug report is a duplicate of:  Bug #1499075: python3.4.3 SRU breaks awscli. Edit Remove
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
awscli (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running awscli on trusty results in the following crash:

$ aws
Traceback (most recent call last):
  File "/usr/bin/aws", line 23, in <module>
    sys.exit(main())
  File "/usr/bin/aws", line 19, in main
    return awscli.clidriver.main()
  File "/usr/share/awscli/awscli/clidriver.py", line 44, in main
    driver = create_clidriver()
  File "/usr/share/awscli/awscli/clidriver.py", line 53, in create_clidriver
    event_hooks=emitter)
  File "/usr/share/awscli/awscli/plugin.py", line 49, in load_plugins
    plugin.awscli_initialize(event_hooks)
  File "/usr/share/awscli/awscli/handlers.py", line 73, in awscli_initialize
    register_removals(event_handlers)
  File "/usr/share/awscli/awscli/customizations/removals.py", line 32, in register_removals
    'verify-email-address'])
  File "/usr/share/awscli/awscli/customizations/removals.py", line 45, in remove
    self._create_remover(remove_commands))
  File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 64, in register
    self._verify_accept_kwargs(handler)
  File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 84, in _verify_accept_kwargs
    argspec = inspect.getargspec(func)
  File "/usr/lib/python3.4/inspect.py", line 936, in getargspec
    raise ValueError("Function has keyword-only arguments or annotations"
ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them

This appears to be the same bug as https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1326039 except
it is now affecting trusty (that bug was for Utopic).

# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04

# apt-cache policy awscli
awscli:
  Installed: 1.2.9-2
  Candidate: 1.2.9-2
  Version table:
 *** 1.2.9-2 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in awscli (Ubuntu):
status: New → Confirmed
Revision history for this message
Joe Terranova (joeterranova) wrote :

Unmarked as duplicate of #1499075 . doko in #1499075 notes that the Python package will not be updated for this change, and therefore third-party packages should be updated for it. That means awscli needs to be updated in order to resolve this issue.

Revision history for this message
Joe Terranova (joeterranova) wrote :

Unmarked as duplicate of bug #1499075 . doko in bug #1499075 notes that the Python package will not be updated for this change, and therefore third-party packages should be updated for it. That means awscli needs to be updated in order to resolve this issue.

Revision history for this message
Joe Terranova (joeterranova) wrote :

I'm dumb, it is a duplicate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.