Package: planner / 0.14.6-7

python-plugin-crash.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix crash when executing python scripts.
Author: Yavor Doganov <yavor@gnu.org>
Bug-Debian: https://bugs.debian.org/584832
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=620785
Last-Update: 2018-10-14
---

--- planner-0.14.6.orig/src/planner-python-plugin.c
+++ planner-0.14.6/src/planner-python-plugin.c
@@ -139,6 +139,7 @@
 	priv->scripts = g_hash_table_new (g_str_hash, g_str_equal);
 
 	Py_Initialize ();
+	pygobject_init (-1, -1, -1);
 
 	/* Look in ~/.gnome2/planner/python/  and run the scripts that we find */
 	dirname = g_build_filename (g_get_home_dir(), ".gnome2", "planner", "python", NULL);