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 722948 - creation or import of snippets appears successful, but actually always fails
creation or import of snippets appears successful, but actually always fails
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: snippets
3.10.x
Other Linux
: Normal critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-25 02:18 UTC by Christopher VanZomeren
Modified: 2014-04-13 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stderr output of Gedit with snippets plugin enabled (8.18 KB, text/x-log)
2014-01-25 02:18 UTC, Christopher VanZomeren
  Details
Open files with utf-8 encoding (3.32 KB, patch)
2014-04-12 16:44 UTC, jessevdk@gmail.com
committed Details | Review

Description Christopher VanZomeren 2014-01-25 02:18:33 UTC
Created attachment 267168 [details]
stderr output of Gedit with snippets plugin enabled

Running Gedit 3.10.4 without GNOME

stderr output is attached

steps to reproduce:

 start Gedit with snippets plugin enabled
 go to tools > manage snippets,
 make any changes (create or import snippets)

 attempt to use snippets, or go to tools > manage snippets again

expected result:

 snippets should still exist and be usable

actual result:

 no snippets
Comment 1 jessevdk@gmail.com 2014-04-12 16:44:39 UTC
Created attachment 274174 [details] [review]
Open files with utf-8 encoding

This fixes issues in python 3 for reading tools and snippets
files when gedit is run in an environment with a non utf-8
locale
Comment 2 jessevdk@gmail.com 2014-04-13 12:27:18 UTC
Attachment 274174 [details] pushed as a2f45f6 - Open files with utf-8 encoding