[Bug 1751822] Re: EXCEPTION of type 'AttributeError' when using 'help' from openstack-cli

Brian Murray brian at ubuntu.com
Thu Mar 1 18:10:55 UTC 2018


python-cliff (2.11.0-0ubuntu2) bionic; urgency=medium

  * d/p/align-parsed-call-with-cmd2-versions-0.7.3.patch: Cherry-picked
    from https://review.openstack.org/#/c/548626/ to fix AttributeError
    exception with use of cmd2 parsed() method (LP: #1751822).

** Also affects: python-cliff (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-cliff (Ubuntu Bionic)
       Status: New => Fix Released

** Changed in: python-cliff (Ubuntu Artful)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-artful

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-cliff in Ubuntu.
https://bugs.launchpad.net/bugs/1751822

Title:
  EXCEPTION of type 'AttributeError' when using 'help' from openstack-
  cli

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive pike series:
  Triaged
Status in Ubuntu Cloud Archive queens series:
  Fix Released
Status in cliff:
  In Progress
Status in python-openstackclient:
  New
Status in python-cliff package in Ubuntu:
  Fix Released
Status in python-openstackclient package in Ubuntu:
  Fix Committed
Status in python-cliff source package in Artful:
  Fix Committed
Status in python-openstackclient source package in Artful:
  Triaged
Status in python-cliff source package in Bionic:
  Fix Released
Status in python-openstackclient source package in Bionic:
  Fix Committed

Bug description:
  $ dpkg -S $(readlink -f `which openstack`)
  python3-openstackclient: /usr/bin/python3-openstack
  $ openstack
  (openstack) help network
  EXCEPTION of type 'AttributeError' occurred with message: ''InteractiveApp' object has no attribute 'parsed''
  To enable full traceback, run the following command:  'set debug true'
  (openstack) set debug true
  debug - was: False
  now: True
  (openstack) help network
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/cmd2.py", line 776, in onecmd_plus_hooks
      stop = self.onecmd(statement)
    File "/usr/lib/python3/dist-packages/cmd2.py", line 964, in onecmd
      stop = func(statement)
    File "/usr/lib/python3/dist-packages/cliff/interactive.py", line 114, in do_help
      self.default(self.parsed('help ' + arg))
  AttributeError: 'InteractiveApp' object has no attribute 'parsed'
  EXCEPTION of type 'AttributeError' occurred with message: ''InteractiveApp' object has no attribute 'parsed''
  To enable full traceback, run the following command:  'set debug true'

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: python3-openstackclient 3.14.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Feb 26 10:49:15 2018
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (949 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-openstackclient
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1751822/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list