← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1654315] Re: awscli now depends on python3-botocore >= 1.4

 

** Bug watch added: Debian Bug tracker #850867
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850867

** Also affects: awscli (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850867
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1654315

Title:
  awscli now depends on python3-botocore >= 1.4

Status in awscli package in Ubuntu:
  In Progress
Status in awscli source package in Xenial:
  In Progress
Status in awscli source package in Yakkety:
  In Progress
Status in awscli source package in Zesty:
  In Progress
Status in awscli package in Debian:
  Unknown

Bug description:
  1)  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04

  2) 1.11.13-1~16.04.0
  3) Run aws (even just for cli help), no crash
  4) Crashes

  More info:

  After the latest update of awscli to 1.11.13-1~16.04.0 on Xenial, aws
  crashes immediately with the following Python trace:

  $ aws
  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/dist-packages/awscli/clidriver.py", line 50, in main
      return driver.main()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 176, in main
      parser = self._create_parser()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 157, in _create_parser
      command_table = self._get_command_table()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 91, in _get_command_table
      self._command_table = self._build_command_table()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 111, in _build_command_table
      command_object=self)
    File "/usr/lib/python3/dist-packages/botocore/session.py", line 675, in emit
      return self._events.emit(event_name, **kwargs)
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 226, in emit
      return self._emit(event_name, kwargs)
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 209, in _emit
      response = handler(**kwargs)
    File "/usr/lib/python3/dist-packages/awscli/customizations/preview.py", line 70, in mark_as_preview
      service_name=original_command.service_model.service_name,
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 351, in service_model
      return self._get_service_model()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 368, in _get_service_model
      api_version = self.session.get_config_variable('api_versions').get(
  AttributeError: 'NoneType' object has no attribute 'get'

  Upgrading to python3-botocore from xenial-updates (currently
  1.4.70-1~16.04.0) solves the problem.  This took out a number of our
  production instances which used the cli for SSH authentication.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1654315/+subscriptions