Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinPdb Error (Debugging Django) :CTimeoutHTTP instance has no attribute 'getresponse'

Tags:

django

winpdb

I am trying to learn winpdb to debug django scripts. I have a very simply django web site that runs find if I start it from the command line, but when I try to launch it from winpdb it gives me this error message:

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.

I don't even know where to start fixing this. It CTimeoutHTTP looks like an MFC thing. I installed wxpython with the ANSI version, then when it complained, I installed the unicode version (without removing the ANSI version.) That is the only unusual thing I can think of. Any help would be appreciated.

I should say, running on Windows XP.

like image 279
Fred Thomas Avatar asked Aug 12 '10 01:08

Fred Thomas


1 Answers

Fixed in Winpdb 1.4.8

like image 123
nir Avatar answered Oct 13 '22 12:10

nir