[Tutor] error

Alan Gauld alan.gauld at yahoo.co.uk
Wed Jul 6 14:39:31 EDT 2016

On 06/07/16 18:27, Moses, Samuel wrote:
> I am getting an error.  I tired to run the script in wing IDE.

Without the accompanying code we can only guess.

> I am getting this error,
> "Traceback (most recent call last):
>   File "C:\Program Files (x86)\Wing IDE 5.1\bin\wingdb.py", line 822, in
> main
>     args['firststop'], err, netserver, pwfile_path)
>   File "C:\Program Files (x86)\Wing IDE 5.1\bin\wingdb.py", line 649, in
> CreateServer
>     pwfile_path, internal_modules=tuple(internal_modules))
>   File "C:\src\ide\bin\3.2\src/debug/tserver\netserver.pyc", line 922, in
> __init__
>   File "C:\src\ide\bin\3.2\src/debug/tserver\netserver.pyc", line 2234, in
> __PrepareConnectListener
>   File "C:\Python32\lib\socket.py", line 94, in __init__
>     _socket.socket.__init__(self, family, type, proto, fileno)
> socket.error: [Errno 10107] A system call has failed"

Have you checked that you have the requisite permissions? That the
socket you are connecting to exists? If its a system call error the
problem is most likely in your environment rather than your code.

But check the values you pass into socket. Print them out
to check they are what you (and Python) expect...

> I tried printing "Christmas"

I have no idea what that means. Literally putting

print "Christmas"

in your code probably wouldn't help so I assume you
did something else?

> It said there was no TCP/IP connection.

What said? Was it another error trace? Or something else?

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list