Ah, I didn't realize this at the time, but this bug is actually invalid
as PyGI isn't meant to play nice with static bindings like PyGTK.  It
was pretty much by accident when it worked before.

The pygobject version in Oneiric doesn't let you dangerously mix them
anymore:

>>> import gtk
>>> from gi.repository import WebKit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using 
gi.repository you must not import static modules like "gobject". Please change 
all occurrences of "import gobject" to "from gi.repository import GObject".',))



** Changed in: pygobject (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/729933

Title:
  2.27.90 => 2.27.91 regression: AttributeError: type object 'Widget'
  has no attribute '__info__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/729933/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to