Public bug reported:

python -c "from gi.repository import Gtk; w=Gtk.Window(); w.show_all();
Gtk.main()"

Correctly shows a window, as expected.

python -c "from gi.repository import Gtk; import indicate;
w=Gtk.Window(); w.show_all(); Gtk.main()"

Fails with the following traceback:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 44, in function
    return info.invoke(*args)
TypeError: instance: Must be Gtk.Widget, not Window

Note that I didn't *do* anything with libindicate; I just imported the
Python bindings.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-indicate 0.5.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Sat Jun 11 13:13:09 2011
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: libindicate
UpgradeStatus: Upgraded to natty on 2011-01-18 (143 days ago)

** Affects: libindicate (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty running-unity

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

Title:
  Importing Python indicate module seems to break Gtk introspection

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

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

Reply via email to