Importing Python indicate module seems to break Gtk introspection

Bug #795915 reported by Stuart Langridge
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libindicate (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Stuart Langridge (sil) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libindicate (Ubuntu):
status: New → Confirmed
Revision history for this message
Charles Kerr (charlesk) wrote :

Reproducible in 12.04 as well.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.