[Bug 654867] Re: gedit python console NameError when changing colors
Bug Watch Updater
654867 at bugs.launchpad.net
Thu Nov 4 16:58:14 GMT 2010
** Changed in: gedit
Status: Unknown => New
** Changed in: gedit
Importance: Unknown => Medium
--
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
Sponsors Team, which is a direct subscriber.
Status in Light-Weight Text Editor for Gnome: New
Status in “gedit” package in Ubuntu: Triaged
Bug description:
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
More information about the Ubuntu-sponsors
mailing list