GNOME Bugzilla – Bug 541445
Python-debugger doesn't work?
Last modified: 2008-07-16 10:31:33 UTC
[ From http://bugs.debian.org/487359 by Matthias Krüger ] "When I enable the python-debugger (Tools -> Python Debugger) the terminal says " > Traceback (most recent call last): > File "/usr/lib/rhythmbox/plugins/python-console/pythonconsole.py", line 127, in enable_debugging > rpdb2.start_embedded_debugger(password) > File "/var/lib/python-support/python2.5/rpdb2.py", line 423, in start_embedded_debugger > fDebug > File "/var/lib/python-support/python2.5/rpdb2.py", line 13799, in __start_embedded_debugger > _rpdb2_pwd = as_unicode(_rpdb2_pwd) > File "/var/lib/python-support/python2.5/rpdb2.py", line 1679, in as_unicode > u = s.decode(encoding, 'replace') > AttributeError: 'NoneType' object has no attribute 'decode' > > " but no more output appeared on doing other things."
You need to set a password in the gconf key /apps/rhythmbox/plugins/pythonconsole/rpdb2_password first.
I see, perhaps this could be documented in the HACKING document?
I've added an explanatory dialog box that pops up when you start the debugger. It now uses a default password ("rhythmbox") if one isn't specified in gconf. I thought about making it prompt for a password in that case, but I can't really be bothered for such a minor feature.