[Bug 1751822] Re: EXCEPTION of type 'AttributeError' when using 'help' from openstack-cli
Corey Bryant
corey.bryant at canonical.com
Mon Mar 12 18:41:09 UTC 2018
This bug was fixed in the package python-cliff - 2.8.0-0ubuntu1.1~cloud0
---------------
python-cliff (2.8.0-0ubuntu1.1~cloud0) xenial-pike; urgency=medium
.
* New update for the Ubuntu Cloud Archive.
.
python-cliff (2.8.0-0ubuntu1.1) artful; urgency=medium
.
* d/gbp.conf: Create stable/pike branch.
* d/p/align-parsed-call-with-cmd2-versions-0.7.3.patch: Cherry-picked
from https://review.openstack.org/#/c/548627/ to fix AttributeError
exception with use of cmd2 parsed() method (LP: #1751822).
** Changed in: cloud-archive/pike
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
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:
Fix Released
Status in Ubuntu Cloud Archive queens series:
Fix Released
Status in cliff:
Fix Released
Status in python-cliff package in Ubuntu:
Fix Released
Status in python-cliff source package in Artful:
Fix Released
Status in python-cliff source package in Bionic:
Fix Released
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