gpt4 book ai didi

django - WinPdb错误(调试Django):CTimeoutHTTP instance has no attribute 'getresponse'

转载 作者:行者123 更新时间:2023-12-04 13:35:12 27 4
gpt4 key购买 nike

我正在尝试学习winpdb来调试django脚本。我有一个非常简单的django网站,可以运行查找是否从命令行启动它,但是当我尝试从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.

我什至不知道从哪里开始解决这个问题。它的CTimeoutHTTP看起来像MFC的东西。我用ANSI版本安装了wxpython,然后当它提示时,我安装了unicode版本(没有删除ANSI版本。)这是我唯一能想到的事情。任何帮助,将不胜感激。

我应该说,在Windows XP上运行。

最佳答案

在Winpdb 1.4.8中修复

关于django - WinPdb错误(调试Django):CTimeoutHTTP instance has no attribute 'getresponse' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3464013/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com