desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #33583
[Bug 873619] Re: Segmentation fault on python console plugin preferences
I don't know the gedit code, but when I changed the
set_colorbutton_color() method in the
/usr/lib/gedit/plugins/pythonconsole/config.py file to look like this:
59 @staticmethod
60 def set_colorbutton_color(colorbutton, value):
61 try:
62 parsed, color = Gdk.color_parse(value)
63 except:
64 parsed = None
65
66 if parsed:
67 colorbutton.set_color(color)
it works.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/873619
Title:
Segmentation fault on python console plugin preferences
Status in “gedit” package in Ubuntu:
New
Bug description:
When I try to open preferences for the python console plugin in the gedit I get Segmentation fault.
Problem is reproducible. I use Ubuntu 11.10 LiveCD.
----8<----
ubuntu@ubuntu:~$ gnome-text-editor
Traceback (most recent call last):
File "/usr/lib/gedit/plugins/pythonconsole/__init__.py", line 65, in do_create_configure_widget
return config_widget.configure_widget()
File "/usr/lib/gedit/plugins/pythonconsole/config.py", line 49, in configure_widget
self._settings.get_string(self.CONSOLE_KEY_COMMAND_COLOR))
File "/usr/lib/gedit/plugins/pythonconsole/config.py", line 61, in set_colorbutton_color
parsed, color = Gdk.color_parse(value)
TypeError: 'Color' object is not iterable
Segmentation fault (core dumped)
----8<----
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
CasperVersion: 1.287
Date: Thu Oct 13 21:19:51 2011
ExecutablePath: /usr/bin/gedit
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=pl_PL.UTF-8
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/873619/+subscriptions
References