From rehmat.mulla at tighs.staracademies.org Mon Feb 3 09:09:44 2020 From: rehmat.mulla at tighs.staracademies.org (Rehmat Mulla) Date: Mon, 3 Feb 2020 14:09:44 +0000 Subject: [Idle-dev] SUBPROCESS STARTUP ERROR Message-ID: Hey We are getting this issue when using Python Shell IDLE Please could you provide us with a solution. Thank you Rehmat Mulla ICT Technician Tauheedul Islam Girls' High School and Sixth Form College | Preston New Road, Blackburn BB2 7AD 01254 54021 | info at tighs.staracademies.org | tighs.com | @tauheedulgirls Part of Star Academies | info at staracademies.org | staracademies.org | @StarAcademies CONFIDENTIALITY NOTICE: This email and any accompanying documents contained within are intended for the recipients. Any views or opinions presented are solely those of the author and do not necessarily represent the views and opinions of Star Academies. This information is private and protected by law. If you are not the intended recipient and have received this email in error, please: 1. Notify us immediately by replying to this email or contacting Star Academies via info at staracademies.org 2. Delete this email immediately from your inbox and then from your deleted items folder too. 3. Be aware that by Law any disclosure, copying, distribution, or the taking of any action based on the contents of this information is strictly prohibited. LIABILITY NOTICE: We make every effort to keep our network and emails free from viruses. You should however, check this email (and any attachments) for viruses. Star Academies does not accept responsibility for losses incurred as a result of this email or any attached files. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20200203_130517.jpg Type: image/jpeg Size: 3355532 bytes Desc: 20200203_130517.jpg URL: From taleinat at gmail.com Tue Feb 4 14:23:55 2020 From: taleinat at gmail.com (Tal Einat) Date: Tue, 4 Feb 2020 21:23:55 +0200 Subject: [Idle-dev] SUBPROCESS STARTUP ERROR In-Reply-To: References: Message-ID: Hello Rehmat, I'm happy to try my best to help. As the error message describes, this issue is usually caused by firewall or similar security software blocking an internal connection made between two components of IDLE. To diagnose the cause, *please try disabling all such firewalls and running IDLE again* (first closing IDLE if it is already running.) Some more information may be helpful: It would be useful to see the entire screen, and also all of the text in the black window which is partially hidden in the image you've attached. Also, does this error happen consistently or just sometimes? Regards, - Tal Einat On Tue, Feb 4, 2020 at 8:51 PM Rehmat Mulla via IDLE-dev < idle-dev at python.org> wrote: > Hey > > > > We are getting this issue when using Python Shell IDLE > > > > Please could you provide us with a solution. > > > > Thank you > > > > > > *Rehmat Mulla* > > ICT Technician > > > > > > *Tauheedul Islam Girls? High School and Sixth Form College* | Preston New > Road, Blackburn BB2 7AD > 01254 54021 | info at tighs.staracademies.org | tighs.com > | @tauheedulgirls > > > > > > > *Part of Star Academies* | info at staracademies.org | staracademies.org > | @StarAcademies > > > > > CONFIDENTIALITY NOTICE: This email and any accompanying documents > contained within are intended for the recipients. Any views or opinions > presented are solely those of the author and do not necessarily represent > the views and opinions of Star Academies. This information is private and > protected by law. If you are not the intended recipient and have received > this email in error, please: > 1. Notify us immediately by replying to this email or contacting Star > Academies via info at staracademies.org > 2. Delete this email immediately from your inbox and then from your > deleted items folder too. > 3. Be aware that by Law any disclosure, copying, distribution, or the > taking of any action based on the contents of this information is strictly > prohibited. > LIABILITY NOTICE: We make every effort to keep our network and emails free > from viruses. You should however, check this email (and any attachments) > for viruses. Star Academies does not accept responsibility for losses > incurred as a result of this email or any attached files. > > > > > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > https://mail.python.org/mailman/listinfo/idle-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjreedy at udel.edu Tue Feb 4 14:33:09 2020 From: tjreedy at udel.edu (Terry Reedy) Date: Tue, 4 Feb 2020 14:33:09 -0500 Subject: [Idle-dev] SUBPROCESS STARTUP ERROR In-Reply-To: References: Message-ID: <9f956dcf-9260-9ce8-06f1-4cfe7639d3e6@udel.edu> On 2/3/2020 9:09 AM, Rehmat Mulla via IDLE-dev wrote: > We are getting this issue when using Python Shell IDLE [Attached image shows '2013'.] IDLE has gotten a few hundred improvements since 2013. I strongly recommend using a current version if possible. Anyway, the current version of the error message depicted says "See the 'Startup failure' section of the IDLE doc, https://docs.python.org/3/library/idle.html#startup-failure That contains our best current advice "Startup failure IDLE uses a socket to communicate between the IDLE GUI process and the user code execution process. A connection must be established whenever the Shell starts or restarts. (The latter is indicated by a divider line that says ?RESTART?). If the user process fails to connect to the GUI process, it displays a Tk error box with a ?cannot connect? message that directs the user here. It then exits. A common cause of failure is a user-written file with the same name as a standard library module, such as random.py and tkinter.py. When such a file is located in the same directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file. Though less common than in the past, an antivirus or firewall program may stop the connection. If the program cannot be taught to allow the connection, then it must be turned off for IDLE to work. It is safe to allow this internal connection because no data is visible on external ports. A similar problem is a network mis-configuration that blocks connections. Python installation issues occasionally stop IDLE: multiple versions can clash, or a single installation might need admin access. If one undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over. A zombie pythonw.exe process could be a problem. On Windows, use Task Manager to detect and stop one. Sometimes a restart initiated by a program crash or Keyboard Interrupt (control-C) may fail to connect. Dismissing the error box or Restart Shell on the Shell menu may fix a temporary problem. When IDLE first starts, it attempts to read user configuration files in ~/.idlerc/ (~ is one?s home directory). If there is a problem, an error message should be displayed. Leaving aside random disk glitches, this can be prevented by never editing the files by hand, using the configuration dialog, under Options, instead Options. Once it happens, the solution may be to delete one or more of the configuration files. If IDLE quits with no message, and it was not started from a console, try starting from a console (python -m idlelib) and see if a message appears." From sforman at hushmail.com Tue Feb 4 14:49:12 2020 From: sforman at hushmail.com (Simon Forman) Date: Tue, 04 Feb 2020 11:49:12 -0800 Subject: [Idle-dev] SUBPROCESS STARTUP ERROR In-Reply-To: Message-ID: <20200204194912.EC0EF406F3@smtp.hushmail.com> "IDLE's subprocess didn't make connection. Either IDLE can't start or personal firewall software is blocking connection." Check here: https://stackoverflow.com/questions/29567051/python-error-idles-subprocess-didnt-make-connection-either-idle-cant-start or maybe here: https://www.youtube.com/watch?v=86Oc8q9pnLc HTH! On 2/4/2020 at 10:52 AM, "Rehmat Mulla via IDLE-dev" wrote: > >Hey > >We are getting this issue when using Python Shell IDLE > >Please could you provide us with a solution. > >Thank you > > >Rehmat Mulla >ICT Technician > > >Tauheedul Islam Girls' High School and Sixth Form College | >Preston New Road, Blackburn BB2 7AD >01254 54021 | >info at tighs.staracademies.org >| tighs.com | >@tauheedulgirls > > >Part of Star Academies | >info at staracademies.org | >staracademies.org | >@StarAcademies > >CONFIDENTIALITY NOTICE: This email and any accompanying documents >contained within are intended for the recipients. Any views or >opinions presented are solely those of the author and do not >necessarily represent the views and opinions of Star Academies. >This information is private and protected by law. If you are not >the intended recipient and have received this email in error, >please: >1. Notify us immediately by replying to this email or contacting >Star Academies via >info at staracademies.org >2. Delete this email immediately from your inbox and then from >your deleted items folder too. >3. Be aware that by Law any disclosure, copying, distribution, or >the taking of any action based on the contents of this information >is strictly prohibited. >LIABILITY NOTICE: We make every effort to keep our network and >emails free from viruses. You should however, check this email >(and any attachments) for viruses. Star Academies does not accept >responsibility for losses incurred as a result of this email or >any attached files. -- "The history of mankind for the last four centuries is rather like that of an imprisoned sleeper, stirring clumsily and uneasily while the prison that restrains and shelters him catches fire, not waking but incorporating the crackling and warmth of the fire with ancient and incongruous dreams, than like that of a man consciously awake to danger and opportunity." --H. G. Wells, "A Short History of the World" From tjreedy at udel.edu Wed Feb 5 20:24:11 2020 From: tjreedy at udel.edu (Terry Reedy) Date: Wed, 5 Feb 2020 20:24:11 -0500 Subject: [Idle-dev] SUBPROCESS STARTUP ERROR In-Reply-To: <20200204194912.EC0EF406F3@smtp.hushmail.com> References: <20200204194912.EC0EF406F3@smtp.hushmail.com> Message-ID: On 2/4/2020 2:49 PM, Simon Forman via IDLE-dev wrote: > "IDLE's subprocess didn't make connection. Either IDLE can't start or personal firewall software is blocking connection." > > Check here: https://stackoverflow.com/questions/29567051/python-error-idles-subprocess-didnt-make-connection-either-idle-cant-start I looked at the answers to questions like the above when I wrote the current doc section on startup problems. https://docs.python.org/3/library/idle.html#startup-failure If I left something out, or wrote unclearly, please let me know. > or maybe here: https://www.youtube.com/watch?v=86Oc8q9pnLc I will take a look at this and similar videos. -- Terry Jan Reedy