Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.python

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2010, 02:24 AM
W. eWatson
Guest
 
Posts: n/a
Default Socket Error: Permission Denied

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 <http://bugs.python.org/issue6941>. There a
number of choices. Perhaps the most appealing is:

adgprogramming: first, bring up your task manager and make sure there
are no python processes running. 2.6.x subprocesses can get stuck.
Then make sure that your firewall isn't blocking socket access to
localhost. Then restart IDLE. IDLE 3.1.1 may work for you since it
has the recent enhancement that allows multiple copies of IDLE to run
simultaneously, but it still needs interprocess access via sockets.

How would I know the which Python processes or subprocesses are running?
I can kill the main one, but that seems to do no good.
pythonw.exe.

Comments?
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 02-09-2010, 02:38 AM
W. eWatson
Guest
 
Posts: n/a
Default Re: Socket Error: Permission Denied

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 <http://bugs.python.org/issue6941>. There a
> number of choices. Perhaps the most appealing is:
>
> adgprogramming: first, bring up your task manager and make sure there
> are no python processes running. 2.6.x subprocesses can get stuck.
> Then make sure that your firewall isn't blocking socket access to
> localhost. Then restart IDLE. IDLE 3.1.1 may work for you since it
> has the recent enhancement that allows multiple copies of IDLE to run
> simultaneously, but it still needs interprocess access via sockets.
>
> How would I know the which Python processes or subprocesses are running?
> I can kill the main one, but that seems to do no good.
> pythonw.exe.
>
> Comments?

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 returning
every many hours, or maybe when I reboot, which I've done several times
today?
Reply With Quote
  #3 (permalink)  
Old 02-09-2010, 02:45 AM
W. eWatson
Guest
 
Posts: n/a
Default Re: Socket Error: Permission Denied

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.

Reply With Quote
  #4 (permalink)  
Old 02-09-2010, 09:50 AM
W. eWatson
Guest
 
Posts: n/a
Default Re: Socket Error: Permission Denied (Firewall)

(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.

Reply With Quote
 
Reply

Popular Tags in the Forum
denied, error, permission, socket

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
socket client using -myaddr Daniel Stasinski Newsgroup comp.lang.tcl 0 10-09-2009 05:52 PM
Read/write access to a Socket feenberg Newsgroup comp.soft-sys.sas 0 06-23-2009 12:06 AM
inheriting socket in child process on Windows knutaf@gmail.com Newsgroup comp.lang.ruby 5 06-10-2009 02:54 PM
SK 4147-6 47 Piece 1/2-Inch Drive 6 Point Standard and Metric Socket Super Set Areas@marla.com Newsgroup comp.lang.ada 0 05-22-2009 09:29 AM
client-server socket script that crashes on Mac Bad Mutha Hubbard Newsgroup comp.lang.python 0 04-16-2009 01:35 AM



All times are GMT. The time now is 04:27 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.