Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 08:59 PM, Grant Edwards wrote: > On 2010-06-18, AK wrote: > >> Here it is: >> >> Traceback (most recent call last): >> File "./vimp3_player.py", line 112, in >> Player().main() >> File "./vimp3_player.py", line 35, in main >> self.listen() >> File "./vimp3_player.py",

Re: Socket error 98 "Address already in use"

2010-06-17 Thread Grant Edwards
On 2010-06-18, AK wrote: > Here it is: > > Traceback (most recent call last): > File "./vimp3_player.py", line 112, in > Player().main() > File "./vimp3_player.py", line 35, in main > self.listen() > File "./vimp3_player.py", line 41, in listen > s.bind((HOST, PORT)) > File "

Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 08:19 PM, Grant Edwards wrote: > On 2010-06-17, AK wrote: >> Hi, I'm trying to make a little mp3 server / client and I'm running into >> a problem with the Socket error 98 "Address already in use". The error >> doesn't happen right away, I can send 3-4 commands, disconnecting and >>

Re: Socket error 98 "Address already in use"

2010-06-17 Thread Grant Edwards
On 2010-06-17, AK wrote: > Hi, I'm trying to make a little mp3 server / client and I'm running into > a problem with the Socket error 98 "Address already in use". The error > doesn't happen right away, I can send 3-4 commands, disconnecting and > reconnecting and they work fine and then I get this

Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 07:21 PM, AK wrote: > Hi, I'm trying to make a little mp3 server / client and I'm running into > a problem with the Socket error 98 "Address already in use". The error > doesn't happen right away, I can send 3-4 commands, disconnecting and > reconnecting and they work fine and then I

Re: Socket Error: Permission Denied

2010-02-09 Thread Stephen Hansen
On Mon, Feb 8, 2010 at 7:38 PM, W. eWatson wrote: > I'm using McAffee. I see it was pythonw.exe blocked in red. There are > several choices: Allow Access, Allow Outboubnd only > Block (current), Remove Prgrm permission, Learn More. > > Outbound only seem reasonable, but why does the blocking keep

Re: Socket Error: Permission Denied

2010-02-09 Thread W. eWatson
I decided to go with outbound. Now when I run the program, I get a long of messabge about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied (Firewall)

2010-02-09 Thread W. eWatson
(corrected typos) I decided to go with outbound in McAfee. Now when I run the program, I get a long list of messages about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied

2010-02-08 Thread W. eWatson
On 2/8/2010 7:24 PM, W. eWatson wrote: I'm using IDLE with winxp. It seems every day I get into the Subject above. Usually, after 5-8 minutes I get past it. A msg appearing at the same time say, "IDLE's subprocess didn't make connect. ... possible firewall problem." A resource for this is

Re: socket error: connection refused?

2008-06-23 Thread cirfu
On 23 Juni, 20:55, [EMAIL PROTECTED] wrote: > It's a security conflict. You should be able to run it again and have > it work. Our company's cisco does the same thing (even after we > approve the app) doesnt work but i found out i should open the task manager and kill all the python processes, the

Re: socket error: connection refused?

2008-06-23 Thread hall . jeff
It's a security conflict. You should be able to run it again and have it work. Our company's cisco does the same thing (even after we approve the app) -- http://mail.python.org/mailman/listinfo/python-list

Re: socket error when loading the shell?

2008-03-31 Thread Gabriel Genellina
En Mon, 31 Mar 2008 23:28:13 -0300, <[EMAIL PROTECTED]> escribió: > tried wi5th the normal IDLE too and it worked later after i posted > this but now it doesnt work again. and i havent chnaged my firewall in > between. Perhaps any other running process has opened the port that IDLE uses to comm

Re: socket error when loading the shell?

2008-03-31 Thread vokinloksar
i mean vpython(www.vpython.org). tried wi5th the normal IDLE too and it worked later after i posted this but now it doesnt work again. and i havent chnaged my firewall in between. python.exe works but i want the idle not the dos-interpreter. -- http://mail.python.org/mailman/listinfo/python-li

Re: socket error when loading the shell?

2008-03-30 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > using python and wpython. What's wpython? > when using run module or python shell on the run menu in the GUI i > get "socket error, connection refused". > > it worked before, what si wrong now? There's no process listening for the port you try to connect to, so the t

Re: socket error when loading the shell?

2008-03-30 Thread Gabriel Genellina
En Sun, 30 Mar 2008 16:46:00 -0300, <[EMAIL PROTECTED]> escribió: > using python and wpython. Soory, I don't know what wpython is > when using run module or python shell on the run menu in the GUI i get > "socket error, connection refused". > > it worked before, what si wrong now? Try to detect

Re: Socket Error: Connection Refused

2006-04-17 Thread Steve Horsley
[EMAIL PROTECTED] wrote: > Dear c.l.p, > > I have recently been doing the tutorial of Python and everything is > well, i'm upto the pass section. Anyway, when I try to launch idle now > I get the error message: Socket Error: Connection Refused. I do not > have a firewall, so I don't know what

Re: socket error on windows, working fine on mac

2005-05-01 Thread Heiko Wundram
Am Montag, 2. Mai 2005 04:35 schrieb Thomas: > I am getting socket error for large file transfer on windows (100MB+) Get an operating system... :-) No, seriously, I think that the problem might be that WinSock doesn't block the sending process while it can't send out the data. Thus: the internal

Re: Socket Error

2005-04-14 Thread Matt
[EMAIL PROTECTED] wrote: > Thanks everybody, it works now. I thought I needed to do something like > that but it didn't show it in the tutorial so I decided to ask here. Where was the tutorial? If it's in the Python docs, perhaps you could submit a patch to fix it ... ;-) M@ -- http://mail.py

Re: Socket Error

2005-04-14 Thread kingofearth . com
Thanks everybody, it works now. I thought I needed to do something like that but it didn't show it in the tutorial so I decided to ask here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread Achim Domma (Procoders)
[EMAIL PROTECTED] wrote: NameError: name 'socket' is not defined You forgot to import the socket module: import socket regards, Achim -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread [EMAIL PROTECTED]
You missed the import socket statement. Also the socket.PF_INET should be socket.AF_INET -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread Tiziano Bettio
[EMAIL PROTECTED] wrote: When I try to open a socket with python i get the following error: Traceback (most recent call last): File "./mailer", line 3, in ? sock = socket.socket(socket.PF_INET, socket.SOCK_STREAM) NameError: name 'socket' is not defined the code is: #!/usr/bin/python sock = soc