← Back to team overview

desktop-packages team mailing list archive

[Bug 890771] Re: wnck gtk3 python bindings broken

 

Ok, I shall mark the bug as invalid.

** Changed in: gnome-python-desktop (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-python-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/890771

Title:
  wnck gtk3 python bindings broken

Status in “gnome-python-desktop” package in Ubuntu:
  Invalid

Bug description:
  I have the following wnck bits installed on 11.10, running with gnome-
  shell:

  richard@laptop:~$ dpkg -l | grep wnck
  ii  gir1.2-wnck-3.0                                             3.2.0-0ubuntu1                             GObject introspection data for the WNCK library
  ii  libwnck-3-0                                                 3.2.0-0ubuntu1                             Window Navigator Construction Kit - runtime files
  ii  libwnck-3-common                                            3.2.0-0ubuntu1                             Window Navigator Construction Kit - common files
  ii  libwnck-3-dev                                               3.2.0-0ubuntu1                             Window Navigator Construction Kit - development files
  ii  libwnck-common                                              1:2.30.7-0ubuntu1                          Window Navigator Construction Kit - common files
  ii  libwnck22                                                   1:2.30.7-0ubuntu1                          Window Navigator Construction Kit - runtime files
  ii  python-wnck                                                 2.32.0-0ubuntu6                            Python bindings for the WNCK library

  
  Now if I start python:

  richard@wc-hp:~/tools/skype-record$ python
  Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 
  [GCC 4.6.1] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import wnck
  >>> import gi.repository
  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".',))

  or the other way around:

  Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 
  [GCC 4.6.1] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import gi.repository
  >>> import wnck
  /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
    import gobject._gobject
  >>>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-python-desktop/+bug/890771/+subscriptions