Dwill112
Posts: 7
Joined: Sat Aug 02, 2014 1:30 pm

HELP IDLE 3

Thu Nov 06, 2014 5:12 pm

Have been working through book with son, started to use Python through IDLE3, done a couple of projects, come back to open again and get following message:

IDLE's sub process didn't make connection. Either Idle can't start a sub process or personal firewall software is blocking the connection.

Not aware of anything having been changed since we were using it before - can anyone help?!?!

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: HELP IDLE 3

Thu Nov 06, 2014 6:53 pm

It seems to be a problem that pops up regularly.
One of the suggestions is that you have created a .py file with a name that's also used by python (string.py, random.py, ...). Python / IDLE will use these instead of the 'official' ones, causing all sorts of problems.

If that's the case renaming them should solve the problem. Also make sure that there are no .pyc files with these names left (you can delete these).
See e.g. http://www.reddit.com/r/Python/comments ... ont_start/

HTH

Dwill112
Posts: 7
Joined: Sat Aug 02, 2014 1:30 pm

Re: HELP IDLE 3

Thu Nov 06, 2014 9:17 pm

Thanks! Will give that a go. The boy is desperate to get onto the next chapter!

Dwill112
Posts: 7
Joined: Sat Aug 02, 2014 1:30 pm

Re: HELP IDLE 3

Fri Nov 07, 2014 7:45 am

Help again! It didn't work. Deleted the pc files, couldn't see any pcy files but same issue persists....any other thoughts??

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: HELP IDLE 3

Fri Nov 07, 2014 8:08 am

Is it safe to assume that you have tried rebooting the RPi?

How are you trying to start IDLE3 - by clicking on the icon on the GUI desktop, or by typing IDLE3 at a shell prompt (eg. LXTerminal)? [Both should work, but the latter will be more susceptible to problems caused by unwanted files left around in your working directory.]

Note that previous advice was about deleting .py and .pyc files - you wrote .pc and .pcy - these alternative file extensions are not relevant to your problem and these little details matter...

Dwill112
Posts: 7
Joined: Sat Aug 02, 2014 1:30 pm

Re: HELP IDLE 3

Sat Nov 08, 2014 9:41 am

Hi, thanks, yes have tried rebooting and starting from desktop and start menu/programs. File extensions just misquotes in the typing.

Any other thoughts, should I just reformat and reload sd card and start again?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: HELP IDLE 3

Sat Nov 08, 2014 9:58 am

Dwill112 wrote:Any other thoughts, should I just reformat and reload sd card and start again?
You can do that by holding the [SHIFT] key while you reboot and using the NOOBS recovery system to re-install Raspbian. YOU WILL LOSE EVERYTHING YOU'VE DONE SO FAR (unless you back things up to a USB stick (or some other place)).

The only downside is that if you've not determined the cause of the error then in a week's time you'll could back to here reporting the same problem.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Dwill112
Posts: 7
Joined: Sat Aug 02, 2014 1:30 pm

Re: HELP IDLE 3

Sat Nov 08, 2014 10:47 am

Just rebooted again and this time it worked?!?!!!

Thanks for all the advice, much appreciated (by someone who has less aptitude for this than the 8 year old he's trying to teach!!)

Return to “Beginners”