473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 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 1446
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: anuradha.k.r | last post by:
hi, i am writing a socket program in python,both client side and server side.I've written the client side which is working perfectly fine(checked it against server program written in C).but as for...
0
by: Ian | last post by:
Dear All, I just downloaded & installed MYSQL. It seemed to work and I can start it and enter my password and change a directory but that is about all. I have been ready and playing "hit & miss"...
2
by: Rene Sørensen | last post by:
We are 4 students working on a assignment, that our teacher gave use, normally we do this is C++, but the 4 of us, use C# more often that C++ so… We made a small games called reversi, now our job...
4
by: billiejoex | last post by:
Hi, I'm writing a small asyncore-based server application serving a lot of clients. When I have to handle more than 1021 client simoultaneously the 'binded' socket object raises an error: ...
4
by: pradqdo | last post by:
Hi folks, I have a very strange problem when I try to port my client/server program to cygwin. It is a simple shell program where the server executes client's commands + it can send and receive...
8
by: half.italian | last post by:
Hi all, I'm having trouble with the socket module resolving a hostname. It seems like this is a system level problem, but I'm not even sure where to start. I can ping the smtp server by name...
3
by: W. Watson | last post by:
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...
2
by: cirfu | last post by:
The first time i start the shell it always works. But often after closing it and restarting it I get: Two windows pops up and the shell, after clicking the windows the shell just closes by...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.