473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IDLE Won't Start w/o Socket Error--Win XP

After simply trying to write a program with help(MakeQTE), a module, and
having it fail with socket errors, I decided to restart IDLE, thinking I
knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make
connection. ... firewall may be blocking the connection." I doubt the FW
connection. There's a small X warning dialog that says "Socket Error:
Connection refused." Is there a way to reset IDLE?
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
Feb 12 '08 #1
3 2432
On Feb 12, 2:18 pm, "W. Watson" <wolf_tra...@invalid.comwrote:
After simply trying to write a program with help(MakeQTE), a module, and
having it fail with socket errors, I decided to restart IDLE, thinking I
knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make
connection. ... firewall may be blocking the connection." I doubt the FW
connection. There's a small X warning dialog that says "Socket Error:
Connection refused." Is there a way to reset IDLE?
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
I sometimes get this message when one of my programs fails to shutdown
properly. I program almost exclusively in Windows, so I open Task
Manager and kill all instance of Python.exe to fix this problem. I
have seen ZoneAlarm flag IDLE when I first installed Python, so if you
upgraded it recently, the firewall may be an issue.

Mike
Feb 12 '08 #2
En Tue, 12 Feb 2008 18:18:20 -0200, W. Watson <wo*********@invalid.com>
escribió:
After simply trying to write a program with help(MakeQTE), a module, and
having it fail with socket errors, I decided to restart IDLE, thinking I
knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make
connection. ... firewall may be blocking the connection." I doubt the FW
connection. There's a small X warning dialog that says "Socket Error:
Connection refused." Is there a way to reset IDLE?
From the IDLE About box:

IDLE executes Python code in a separate process, which is restarted for
each
Run (F5) initiated from an editor window. The environment can also be
restarted from the Shell window without restarting IDLE.

(Personal firewall software may warn about the connection IDLE makes to its
subprocess using this computer's internal loopback interface. This
connection
is not visible on any external interface and no data is sent to or received
from the Internet.)

From the help:

Running without a subprocess:

If IDLE is started with the -n command line switch it will run in a
single process and will not create the subprocess which runs the RPC
Python execution server. This can be useful if Python cannot create
the subprocess or the RPC socket interface on your platform. However,
in this mode user code is not isolated from IDLE itself. Also, the
environment is not restarted when Run/Run Module (F5) is selected. If
your code has been modified, you must reload() the affected modules and
re-import any specific items (e.g. from foo import baz) if the changes
are to take effect. For these reasons, it is preferable to run IDLE
with the default subprocess if at all possible.

--
Gabriel Genellina

Feb 12 '08 #3
Thanks. That did the trick.

Mike Driscoll wrote:
On Feb 12, 2:18 pm, "W. Watson" <wolf_tra...@invalid.comwrote:
>After simply trying to write a program with help(MakeQTE), a module, and
having it fail with socket errors, I decided to restart IDLE, thinking I
....
>
I sometimes get this message when one of my programs fails to shutdown
properly. I program almost exclusively in Windows, so I open Task
Manager and kill all instance of Python.exe to fix this problem. I
have seen ZoneAlarm flag IDLE when I first installed Python, so if you
upgraded it recently, the firewall may be an issue.

Mike
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
Feb 12 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: btopenworld | last post by:
I have been running IIS on Windows 2000 for several years with no problem. Today, when I clicked on the system tray icon and clicked start service, nothing happened - no error messages. IIS just...
5
by: Nick | last post by:
Hi there, This one is really doing my head in, I am attempting to start a thread using the following code, -------------------- Public Sub start() cTrdImportThread = New...
4
by: Farhymn | last post by:
I've uninstalled Python 2.4 recently, which worked when using IDLE, and installed 2.5. I made sure to uninstall both so as to avert an installation conflict, so no problems there. I'm running...
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, on win2003server when i do an iisreset it will shut down but won't start back up automatically i have to go into inetmgr to start manually. any ideas why it's not auto? thanks,...
11
by: Smokey Grindel | last post by:
Ok this is wierd I am seeing this issue with C# and VB.NET apps made in ..NET... I have the framework installed (.NET 3.5 currently)... i installed my applications... I placed them in the...
1
by: dusans | last post by:
Hi i took a look at eric4, its nice, cuz u have the script output and console in the same window, which is why i love pyscripter. Then i upgradet eric4 to newest version: eric4-4.0.4, it doesnt...
1
by: ziycon | last post by:
I have a batch file and all it does is stop a service call the deltree file to empty a directory and the start the service but its wont start the service back up. The first two lines run a fine,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.