After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541445 - Python-debugger doesn't work?
Python-debugger doesn't work?
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-03 20:15 UTC by Sven Arvidsson
Modified: 2008-07-16 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Arvidsson 2008-07-03 20:15:58 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."
Comment 1 Jonathan Matthew 2008-07-03 21:33:44 UTC
You need to set a password in the gconf key /apps/rhythmbox/plugins/pythonconsole/rpdb2_password first.
Comment 2 Sven Arvidsson 2008-07-07 21:27:21 UTC
I see, perhaps this could be documented in the HACKING document?
Comment 3 Jonathan Matthew 2008-07-16 10:31:33 UTC
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.