← 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.2-1

---------------
pygobject (3.0.2-1) experimental; urgency=low

  * New upstream release:
    - Allow GBoxed types as property. (LP: #877397)
    - When converting an object with transfer none, make sure the wrapper owns
      a ref. (LP: #874299)
    - Gdk overrides: Unbreak for Gdk-2.0. (LP: #875399)
    - Do union member checks for unions that are parameters.
    - Fix "Returns: (skip)" method calls without (out) arguments.
 -- Martin Pitt <martin.pitt@xxxxxxxxxx>   Sun, 23 Oct 2011 12:54:30 +0200

** Changed in: pygobject (Ubuntu)
       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 Committed

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