WinPdb错误(调试Django):CTimeoutHTTP实例没有属性';getresponse';

WinPdb错误(调试Django):CTimeoutHTTP实例没有属性';getresponse';,django,winpdb,Django,Winpdb,我正在尝试学习winpdb来调试django脚本。我有一个非常简单的django网站,如果我从命令行启动它,它会运行find,但是当我尝试从winpdb启动它时,它会给我以下错误消息: RPDB2 - The Remote Python Debugger, version RPDB_2_4_6, Copyright (C) 2005-2009 Nir Aides. Type "help", "copyright", "license", "credits" for more informatio

我正在尝试学习winpdb来调试django脚本。我有一个非常简单的django网站,如果我从命令行启动它,它会运行find,但是当我尝试从winpdb启动它时,它会给我以下错误消息:

RPDB2 - The Remote Python Debugger, version RPDB_2_4_6,
Copyright (C) 2005-2009 Nir Aides.
Type "help", "copyright", "license", "credits" for more information.

*** NEW: Use CTRL-N for auto completion in the following commands: launch,
*** eval and exec.
*** Password has been set to a random password.
*** Starting debuggee...
*** Command returned the following error:
*** <type 'exceptions.AttributeError'>, CTimeoutHTTP instance has no
*** attribute 'getresponse'.
*** Please check stderr for stack trace and report to support.
*** Failed to find script.
RPDB2-远程Python调试器,版本为RPDB_2_4_6,
版权所有(C)2005-2009 Nir助手。
有关详细信息,请键入“帮助”、“版权”、“许可证”、“信用证”。
***新增:在以下命令中使用CTRL-N自动完成:启动,
***评估和执行。
***密码已设置为随机密码。
***正在启动调试对象。。。
***命令返回了以下错误:
***,CTimeoutHTTP实例没有
***属性“getresponse”。
***请检查stderr以获取堆栈跟踪并向支持人员报告。
***找不到脚本。
我甚至不知道从哪里开始修理。它看起来像一个MFC的东西。我用ANSI版本安装了wxpython,当它抱怨时,我安装了unicode版本(没有删除ANSI版本)。这是我能想到的唯一不寻常的事情。任何帮助都将不胜感激


我应该说,在WindowsXP上运行。

这似乎是Python2.7中rpdb2的一个缺陷。尝试下载并运行winpdb。您需要相应的wxPython库,并且需要重新运行:

python setup.py install -f

安装winpdb。

在winpdb 1.4.8中修复了这个错误。根据上面nir的建议,我从Winpdb 1.4.6升级到了1.4.8,但我再也看不到了(我是新用户,不能投票支持他的答案)。

哦,我的天啊,非常感谢你。rpdb2控制台是。。。功能性,但不完全符合人体工程学。