[Impact]
The openstack CLI interactive shell is unusable. More details in bug
description above.
[Test Case]
Install python-openstackclient and attempt to enter the interactive shell:
$ openstack
Exception raised: When using gi.repository you must not import static modules
like "gobject".
I've uploaded a patched version of python-pyperclip to the Artful queue
where it is awaiting SRU team review:
https://launchpad.net/ubuntu/artful/+queue?queue_state=1_text=
** Changed in: python-pyperclip (Ubuntu Artful)
Status: Confirmed => Triaged
** Changed in: python-pyperclip (Ubuntu
This error doesn't surface on the Pike cloud-archive, but I've added it
as the Artful version will be backported to Pike and will need
regression testing.
** Also affects: cloud-archive
Importance: Undecided
Status: New
** Also affects: cloud-archive/pike
Importance: Undecided
** No longer affects: cloud-archive
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises exception referencing gi.repository and gnome
bug 709183
To manage
** Also affects: cloud-archive
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises exception referencing gi.repository
Conrad,
The bug is definitely still present in Artful. Fixing it in Artful (a stable
release) is what is known as a Stable Release Update [1]. I can verify I do
not see the problem with just 'openstack' on bionic.
$ dpkg -S $(readlink -f `which openstack`)
python3-openstackclient:
I can confirm that this issue is still occurring in Artful. Use of the
client from the command line works just fine, but any attempt to use it
as an interactive shell fails with this error.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python-openstackclient (Ubuntu Artful)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: cmd2 (Ubuntu Artful)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python-pyperclip (Ubuntu Artful)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I just had a report that this is still occurring in Artful. While I
can't recreate on a new kvm instance, I want to open this back up for
Artful and possibly provide a fix or get to the bottom of why I'm not
seeing it.
** Also affects: cmd2 (Ubuntu Artful)
Importance: Undecided
Status:
** Changed in: cmd2 (Ubuntu)
Status: Triaged => Fix Released
** Changed in: python-openstackclient (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
This bug was fixed in the package python-pyperclip - 1.5.32-1ubuntu1
---
python-pyperclip (1.5.32-1ubuntu1) bionic; urgency=medium
* d/p/move-to-gtk3.patch: Use GTK+3 instead of GTK+2 (LP: #1722553).
-- Corey Bryant Tue, 19 Dec 2017 16:25:22
-0500
I've uploaded patched cmd2 and python-pyperclip packages to Bionic to
fix this issue. If you're still seeing this on any other releases please
let me know.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
It seems this issue has gone away in artful but still exists in bionic.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises exception referencing gi.repository and
sigh.. s/GDK/GTK
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises exception referencing gi.repository and gnome
bug 709183
To manage notifications about this
s/GTL/GDK
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises exception referencing gi.repository and gnome
bug 709183
To manage notifications about this bug go
The only reason I've marked python-openstackclient as low is because the
bug is not in that code. The fix is required in python-pyperclient and
cmd2.
I've not received any action on the upstream pyperclip bug, so I
submitted patches this morning to move pyperclip and cmd2 to GTL+
version 3:
Checking to see if we can work around this via a change to keyring:
https://github.com/jaraco/keyring/issues/291
** Bug watch added: github.com/jaraco/keyring/issues #291
https://github.com/jaraco/keyring/issues/291
--
You received this bug notification because you are a member of Ubuntu
Edit to previous comment:
And if I understand correctly from
https://bugzilla.gnome.org/show_bug.cgi?id=709183, this is importing
gtk+2 modules via 'import gtk' as well as gtk+3 modules via 'import gi'
**which causes module conflicts**.
--
You received this bug notification because you are a
Another edit:
And if I understand correctly from
https://bugzilla.gnome.org/show_bug.cgi?id=709183, this is importing
gtk+2 modules via 'import gtk' as well as gtk+3 modules via 'import gi'
which causes module conflicts **(according to the same bug)**.
** Bug watch added:
According to https://bugzilla.gnome.org/show_bug.cgi?id=709183, gtk+2
and gtk+3 are mutually exclusive.
I've opened https://github.com/asweigart/pyperclip/issues/106 with the
upstream pyperclip project.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Narrowing down a bit more, this can also be reproduced with the
following python script:
#!/usr/bin/env python
import gtk
import gi
The 2 lines of code that appear to be conflicting are:
1) /usr/lib/python2.7/dist-packages/keyrings/alt/Gnome.py
import gi
2)
This can be reproduced with the following python script:
#!/usr/bin/env python
import keyring
import pyperclip
pyperclip.paste()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
I'm not sure that the logging.getLogger('keyring') is necessary, but it
also doesn't seem to be the root cause of this.
This bug has the reasoning behind why the AttributeError exception is
thrown: https://bugzilla.gnome.org/show_bug.cgi?id=709183
** Bug watch added: GNOME Bug Tracker #709183
Here's how the code flows to python-keyring where the conflicting code
appears to be:
openstackclient/shell.py
from openstackclient.common import clientmanager
openstackclient/common/clientmanager.py
# Get list of base plugin modules
PLUGIN_MODULES = get_plugin_modules(
This looks to be very similar to: https://github.com/mps-youtube/mps-
youtube/issues/461
** Bug watch added: github.com/mps-youtube/mps-youtube/issues #461
https://github.com/mps-youtube/mps-youtube/issues/461
--
You received this bug notification because you are a member of Ubuntu
Bugs,
note that 'openstack server list' does work, its just when trying to
start the interactive shell it fails.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722553
Title:
openstack command raises
28 matches
Mail list logo