By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.

socket error when loading the shell?

P: n/a
hi

using python and wpython.

when using run module or python shell on the run menu in the GUI i get
"socket error, connection refused".

it worked before, what si wrong now?

and i cant find where to start the shell directly. think i had an exe
before but cant seem to find it now.
Mar 30 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
En Sun, 30 Mar 2008 16:46:00 -0300, <vo*********@yahoo.seescribió:
using python and wpython.
Soory, I don't know what wpython is
when using run module or python shell on the run menu in the GUI i get
"socket error, connection refused".

it worked before, what si wrong now?
Try to detect what changed on your system between "before" and "now".
and i cant find where to start the shell directly. think i had an exe
before but cant seem to find it now.
python.exe?
c:
cd \
dir /s python.exe
--
Gabriel Genellina

Mar 30 '08 #2

P: n/a
vo*********@yahoo.se wrote:
using python and wpython.
What's wpython?
when using run module or python shell on the run menu in the GUI i
get "socket error, connection refused".

it worked before, what si wrong now?
There's no process listening for the port you try to connect to, so
the target host refuses.
and i cant find where to start the shell directly.
Well, for me, ALT-F2 xterm[Enter] works.
think i had an exe before but cant seem to find it now.
You mean the Python interpreter? It's probably located on your
system root in a directory called python<version>. But I'd rather
use IDLE.

Regards,
Björn

--
BOFH excuse #338:

old inkjet cartridges emanate barium-based fumes

Mar 30 '08 #3

P: n/a
i mean vpython(www.vpython.org).

tried wi5th the normal IDLE too and it worked later after i posted
this but now it doesnt work again. and i havent chnaged my firewall in
between.
python.exe works but i want the idle not the dos-interpreter.

Apr 1 '08 #4

P: n/a
En Mon, 31 Mar 2008 23:28:13 -0300, <vo*********@yahoo.seescribió:
tried wi5th the normal IDLE too and it worked later after i posted
this but now it doesnt work again. and i havent chnaged my firewall in
between.
Perhaps any other running process has opened the port that IDLE uses to
communicate with the running program. Or you have IDLE already running.
See if you have python.exe/pythonw.exe processes running.
Or go to Help, IDLE Help, and read the section "Running without a
subprocess"

--
Gabriel Genellina

Apr 1 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.