Public bug reported:
Binary package hint: gedit
In Maverick gedit-2.30.3-1ubuntu1:
When configuring the Python Console plugin, changing the "Command Color"
results in a python NameError:
Traceback (most recent call last):
File "/usr/lib/gedit-2/plugins/pythonconsole/config.py", line 129, in
on_colorbutton_command_color_set
self.config.color_command = colorbutton.get_color().to_string()
File "/usr/lib/gedit-2/plugins/pythonconsole/config.py", line 59, in <lambda>
lambda self, value: self.gconf_set_str(GCONF_KEY_COMMAND_COLOR, value))
File "/usr/lib/gedit-2/plugins/pythonconsole/config.py", line 81, in
gconf_set_str
v = PythonConsoleConfig.gconf.Value(gconf.VALUE_STRING)
NameError: global name 'gconf' is not defined
This can be fixed by including the prefix PythonConsoleConfig. to two of
the gconf references in /usr/lib/gedit-2/plugins/pythonconsole/config.py
. A patch will be attached.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gedit 2.30.3-1ubuntu1 [modified:
usr/lib/gedit-2/plugins/pythonconsole/config.py]
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Oct 4 17:51:49 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gedit
** Affects: gedit (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 maverick
--
gedit python console NameError when changing colors
https://bugs.launchpad.net/bugs/654867
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs