Bug 752597 - Snippets fail to load.
Summary: Snippets fail to load.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gedit
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 23:21 UTC by Andrew Ross
Modified: 2013-10-20 22:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-14 07:53:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Ross 2011-11-09 23:21:36 UTC
Description of problem:

When I try to load snippets the icon changes to red and a traceback appears on the command line.

Version-Release number of selected component (if applicable):
gedit-3.2.2-1.fc16.x86_64


How reproducible:


Steps to Reproduce:
1. start gedit
2. edit -> preferences -> plugins
3. Tick the snippets plugin
4. Traceback.
  
Actual results: Snippets fail to load, but gedit keeps working.
Traceback (most recent call last):
  File "/usr/lib64/gedit/plugins/snippets/__init__.py", line 19, in <module>
    from windowactivatable import WindowActivatable
  File "/usr/lib64/gedit/plugins/snippets/windowactivatable.py", line 29, in <module>
    class Activate(Gedit.Message):
  File "/usr/lib64/gedit/plugins/snippets/windowactivatable.py", line 31, in Activate
    iter = GObject.property(type=Gtk.TextIter)
  File "/usr/lib64/python2.7/site-packages/gi/_gobject/propertyhelper.py", line 111, in __init__
    self.type = self._type_from_python(type)
  File "/usr/lib64/python2.7/site-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:5530): libpeas-WARNING **: Error loading plugin 'snippets'


Expected results: snippets load :)



Additional info:

Comment 1 Andrew Ross 2011-11-14 07:53:29 UTC
Started gedit today and snippets loaded :)

rpm saying I still have gedit-3.2.2-1.fc16.x86_64 so not sure what the root issue was :-/


closing notabug


Note You need to log in before you can comment on or make changes to this bug.