471,079 Members | 1,064 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

socket error when loading the shell?

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
4 1385
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
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
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
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.

Similar topics

11 posts views Thread by anuradha.k.r | last post: by
2 posts views Thread by Rene Sørensen | last post: by
4 posts views Thread by billiejoex | last post: by
4 posts views Thread by pradqdo | last post: by
8 posts views Thread by half.italian | last post: by
3 posts views Thread by W. Watson | last post: by
2 posts views Thread by cirfu | last post: by

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.