[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-03-08 Thread Corey Bryant
[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".

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-03-06 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-03-06 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-03-06 Thread Corey Bryant
** 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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-03-06 Thread Corey Bryant
** 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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-26 Thread Scott Moser
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-24 Thread Conrad Rockenhaus
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-08 Thread Launchpad Bug Tracker
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.

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-08 Thread Launchpad Bug Tracker
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-08 Thread Launchpad Bug Tracker
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.

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2018-02-08 Thread Corey Bryant
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-12-20 Thread Corey Bryant
** 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.

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-12-20 Thread Launchpad Bug Tracker
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-12-20 Thread Corey Bryant
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.

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-12-20 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-11-20 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-11-20 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-11-20 Thread Corey Bryant
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-26 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-16 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-16 Thread Corey Bryant
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-16 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-16 Thread Corey Bryant
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)

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-16 Thread Corey Bryant
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:

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-13 Thread Corey Bryant
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

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-12 Thread Corey Bryant
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(

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-11 Thread Corey Bryant
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,

[Bug 1722553] Re: openstack command raises exception referencing gi.repository and gnome bug 709183

2017-10-10 Thread Scott Moser
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