After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660560 - [patch] Snippet plugin is broken
[patch] Snippet plugin is broken
Status: RESOLVED DUPLICATE of bug 659879
Product: gedit-plugins
Classification: Other
Component: General
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-30 12:51 UTC by Marc Deslauriers
Modified: 2019-03-23 20:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (2.11 KB, patch)
2011-09-30 12:51 UTC, Marc Deslauriers
none Details | Review

Description Marc Deslauriers 2011-09-30 12:51:29 UTC
Created attachment 197874 [details] [review]
proposed patch

The snippet plugin is giving the following error:

Traceback (most recent call last):
  • File "/usr/lib/gedit/plugins/snippets/document.py", line 742 in on_view_key_press
    state = event.get_state()
  • File "/usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py", line 207 in cull_success
    result = func(*args)
  • File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43 in function
    return info.invoke(*args, **kwargs)
TypeError: Expected a Gdk.Event, but got EventKey

See the downstream report:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/862627

The attached patch fixes the issue.
Comment 1 Ignacio Casal Quinteiro (nacho) 2011-09-30 12:57:29 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 659879 ***