Python 2.0 Attempt to execute test_socket.py fails

Colin J. Williams cjw at connection.com
Fri Nov 3 21:04:50 EST 2000


The Traceback, using Windows 95, follows.

PythonWin 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32.

Portions Copyright 1994-2000 Mark Hammond (MarkH at ActiveState.com) - see
'Help/About PythonWin' for further copyright information.
>>> socket.error
Traceback (most recent call last):
  File "G:\Program
Files\Python20\Pythonwin\pywin\framework\scriptutils.py", line 298, in
RunScript
    debugger.run(codeObject, __main__.__dict__, start_stepping=0)
  File "G:\Program Files\Python20\Pythonwin\pywin\debugger\__init__.py",
line 60, in run
    _GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
  File "G:\Program Files\Python20\Pythonwin\pywin\debugger\debugger.py",
line 582, in run
    _doexec(cmd, globals, locals)
  File "G:\Program Files\Python20\Pythonwin\pywin\debugger\debugger.py",
line 921, in _doexec
    exec cmd in globals, locals
  File "G:\Program Files\Python\Gordon\ExTest1_Stat\test_socket.py",
line 72, in ?
    hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
error: host not found
>>>

A similar indication is given when test_socket.py is executed from DOS.

Any advice would be appreciated.

Colin W.




More information about the Python-list mailing list