← Back to team overview

desktop-packages team mailing list archive

[Bug 877397] Re: gedit in -proposed breaks snippets plugin

 

This bug was fixed in the package pygobject - 3.0.0-0ubuntu3

---------------
pygobject (3.0.0-0ubuntu3) oneiric-proposed; urgency=low

  * Add 00git_allow_gboxed_properties.patch: Add the GBoxed type as valid type
    to the gobject property helper. This fixes the "snippets" gedit plugin.
    Patch taken from upstream git head.  (LP: #877397)
  * Add 00git_gboxed_property_test.patch: Corresponding test case. Taken from
    upstream git head.
  * Add 00git_gdk2_overrides_atom_intern.patch: Fix Gdk override to also work
    for Gdk 2.0. Patch also pushed to upstream git. (LP: #875399)
 -- Martin Pitt <martin.pitt@xxxxxxxxxx>   Wed, 19 Oct 2011 09:05:09 +0200

** Changed in: pygobject (Ubuntu Oneiric)
       Status: Fix Committed => Fix Released

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

Title:
  gedit in -proposed breaks snippets plugin

Status in Python bindings for GObject:
  Fix Released
Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Oneiric:
  Fix Released

Bug description:
  gedit in oneiric-proposed breaks the snippets plugin:

  Traceback (most recent call last):
    File "/usr/lib/gedit/plugins/snippets/__init__.py", line 19, in <module>
      from windowactivatable import WindowActivatable
    File "/usr/lib/gedit/plugins/snippets/windowactivatable.py", line 29, in <module>
      class Activate(Gedit.Message):
    File "/usr/lib/gedit/plugins/snippets/windowactivatable.py", line 31, in Activate
      iter = GObject.property(type=Gtk.TextIter)
    File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 111, in __init__
      self.type = self._type_from_python(type)
    File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 202, in _type_from_python
      raise TypeError("Unsupported type: %r" % (type_,))
  TypeError: Unsupported type: <class 'gi.overrides.Gtk.TextIter'>

  (gedit:3353): libpeas-WARNING **: Error loading plugin 'snippets'

  
  Reverting to gedit 3.2.0-0ubuntu1 resolves the issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gedit 3.2.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Tue Oct 18 08:48:41 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
  SourcePackage: gedit
  UpgradeStatus: Upgraded to oneiric on 2011-08-16 (63 days ago)

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


References