473,544 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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: <speckledwithSt ars.net>
Feb 12 '08 #1
3 2440
On Feb 12, 2:18 pm, "W. Watson" <wolf_tra...@in valid.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: <speckledwithSt ars.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*********@in valid.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...@in valid.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: <speckledwithSt ars.net>
Feb 12 '08 #4

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

Similar topics

1
1114
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 ignored me completely and would not start. I am about to try a computer restart - but has anyone else run into this problem? Thanks
5
1029
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 Threading.Thread(AddressOf cTrdImportThread_Callback)
4
1553
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 Windows XP SP2, and am attempting to run the program OpenRPG+. Also attempting to at least -edit- a .py file in IDLE (which also does not work, so this...
4
21687
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 webserver to see if service A needs to be updated. What service B does if it sees their is an update for service A is to download a new copy of the...
2
2023
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, rodchar
11
1693
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 registry to start up when the user logs in so I placed it in the HKEY_Current_USER_\Software\Microsoft\Windows\CurrentVersion\Run key... ok seems like it...
1
2283
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 start, even when i installed the old version: The error massage is: Warning: translation file 'qt_en_US'could not be loaded. Using default....
1
2560
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, service stops, specified directory is emptied out and it ends with no errors and the service hasn't been started. Any ideas/help much appreciated. ...
0
7434
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7371
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7716
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5925
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5305
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4925
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1848
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
676
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.