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) /usr/lib/python2.7/dist-packages/pyperclip/clipboards.py
   import gtk

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'.

>From http://www.pygtk.org/: Note: New users are encouraged to use GTK+3
through the PyGObject bindings instead of using PyGTK with GTK+2.

So it seems to me that pyperclip in artful needs to move to GTK+3.

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

** Changed in: python-pyperclip (Ubuntu)
       Status: New => Triaged

** Changed in: python-pyperclip (Ubuntu)
   Importance: Undecided => High

-- 
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 to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1722553/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to