Debbie Paul | 1 Aug 20:27 2010
Picon

newbie - IDLE won't start, socket error, Vista, 32bit

Hi All,  Newbie, trying to learn Python. os is Windows Vista, 32-bit 
machine. Used Installer pkg from helloworldbook.com
includes Python 2.5.1, Tk 8.4 and IDLE v 1.2.1 (and other stuff).

Trying to launch IDLE from Start Menu icon. Socket error: permission 
denied. IDLE's subprocess didn't make connection. Either IDLE can't 
start a subprocess or personal firewall software is blocking the connection.

Trying to start IDLE from cmd line:
c:\Python25\python.exe c:\Python25\Lib\idlelib\idle.py (or 
c:\Python25\pythonw.exe c:\Python25\Lib\idlelib\idle.pyw)
gets:
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: Connection to IDLE GUI failed, exiting.

Traceback (most recent call last):
** IDLE Internal Exception:
Traceback (most recent call last):
    File "C:\Python25\lib\idlelib\run.py", line 82, in main
       exit()
    File "C:\Python25\lib\idlelib\run.py", line 208, in exit
       del sys.exitfunc
AttributError: exitfunc
Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Python25\lib\idlelib\run.py", line 107, in main
       exit()
    File "C:\Python25\lib\idlelib\run.py", line 208, in exit
(Continue reading)

Sarah Mount | 1 Aug 21:04 2010
Picon

Re: newbie - IDLE won't start, socket error, Vista, 32bit

On 1 August 2010 19:27, Debbie Paul <dpaul <at> fsu.edu> wrote:
> Hi All,  Newbie, trying to learn Python. os is Windows Vista, 32-bit
> machine. Used Installer pkg from helloworldbook.com
> includes Python 2.5.1, Tk 8.4 and IDLE v 1.2.1 (and other stuff).
>
> Trying to launch IDLE from Start Menu icon. Socket error: permission denied.
> IDLE's subprocess didn't make connection. Either IDLE can't start a
> subprocess or personal firewall software is blocking the connection.
>

IDLE uses a socket to start Python programs. If you have a firewall
running then this socket may be blocked by the firewall. That's likely
the problem. You could try changing the settings on your firewall, but
you'd have to ask someone who has used Vista how best to go about
that.

Sarah

--

-- 
Sarah Mount, Senior Lecturer, University of Wolverhampton
website:  http://www.snim2.org/
twitter:  <at> snim2
Tal Einat | 2 Aug 09:31 2010
Picon

Re: newbie - IDLE won't start, socket error, Vista, 32bit

On Sun, Aug 1, 2010 at 9:27 PM, Debbie Paul <dpaul <at> fsu.edu> wrote:
Hi All,  Newbie, trying to learn Python. os is Windows Vista, 32-bit machine. Used Installer pkg from helloworldbook.com
includes Python 2.5.1, Tk 8.4 and IDLE v 1.2.1 (and other stuff).

Trying to launch IDLE from Start Menu icon. Socket error: permission denied. IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection.

Trying to start IDLE from cmd line:
c:\Python25\python.exe c:\Python25\Lib\idlelib\idle.py (or c:\Python25\pythonw.exe c:\Python25\Lib\idlelib\idle.pyw)
gets:
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: socket error: Permission denied, retrying....
IDLE Subprocess: Connection to IDLE GUI failed, exiting.

Traceback (most recent call last):
** IDLE Internal Exception:
Traceback (most recent call last):
  File "C:\Python25\lib\idlelib\run.py", line 82, in main
     exit()
  File "C:\Python25\lib\idlelib\run.py", line 208, in exit
     del sys.exitfunc
AttributError: exitfunc
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python25\lib\idlelib\run.py", line 107, in main
     exit()
  File "C:\Python25\lib\idlelib\run.py", line 208, in exit
     del sys.exitfunc
AttributeError: exitfunc

Tried to run with firewall turned off. Same problem. Tried to run as Admin of computer, same problem.
At cmd line, ping localhost gets 127.0.0.1 ok. Is problem Vista permissions?, RPC (on Automatic) or RPC locator (set to Manual), firewall?, typo in code? I see other people manage to use this downloaded package. Kindly suggestions for frustrated newbie please. Thanks, Deb.

Hi Debbie!

I don't think this is caused by your firewall.

Please first try downloading and installing Python2.7 from the Python homepage: www.python.org. This also installs IDLE and is better tested. Post back and tell us if this works!

- Tal Einat
 
_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
Chas Leichner | 3 Aug 05:54 2010
Picon

Re: IDLE GSoC Extension

I just wanted to check in again before going on to the next step for me in GSoC.  I need to start polishing work on my code very soon--the firm pencils down date is in two weeks--and I would like some confirmation as to whether or not my project could be feature in the version of IDLE released with Python.  If it could be, I would really appreciate some input about how to proceed.  Otherwise, I appreciate all of the work you have contributed to IDLE and Python in general, I couldn't have done this project without it.
Chas

On Mon, Jul 26, 2010 at 11:47 PM, Chas Leichner <chaoslichen <at> gmail.com> wrote:
I posted on this list at the start of the summer about my Google
Summer of Code project. I've made a lot of progress and want to bring
it to the community for some feedback. For people who missed a
description, I am working on an extension to IDLE which will allow
tutorials to be more interactive. It works by accepting specially
annotated Python files which describe their own annotations. It then
generates a trace of the execution, along with annotations and
variables, storing it as a JSON file. I then made another type of
window for stepping through the traces like a debugger and displaying
the annotations at the appropriate lines.  I have gotten to the point
where I have a working prototype for my project and would like to know
where the IDLE developers see it fitting in with IDLE.  I don't know
if it would fit in better as a built in additional feature, an
optional extension, or somewhere in between. I would also appreciate
any advice on how to integrate it better with the current class
hierarchy (it is currently rather awkwardly grafted on) so I could get
user interface issues addressed as soon as possible.

If you want to take a look at what I've done so far, this is my repo:
http://code.google.com/p/idlecarpentry/source/checkout. The .json
files in the examples directory will bring up a trace window directly
when you open them and the .py files will bring up the editor, as
usual. Traces can be run from the editor window by selecting Run >
Create Trace, annotations are pulled from any line starting with #>
and applied to the first line of Python code which follows. I would
love to hear any about any bugs you find or UI friction you encounter.

I have been keeping a blog here http://cleichner.blogspot.com/, and
will be posting a screencast to it tomorrow.

Thanks,
Chas

_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
pribond | 4 Aug 14:36 2010
Picon

idle's Alt+P command not working in Idle 2.6.5 (python 2.6.4 x64 on windowsXP)


Hi,
I found that my idle shell can not get the previous command using Alt+P,
however I can get the next command by Alt+N. 

I am using Python 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64
bit (AMD64)] on win32.
(running on windowsXP Professional 64 bit ver 2003, service pack2 with Intel
Xeon E5506 2.13GHz cpu.) 
Idle version is also 2.6.5.
and >>> platform.architecture()
('64bit', 'WindowsPE')

I also found that Idle 3.1.2 (with Python 3.1.2 (r312:79149, Mar 20 2010,
22:55:39) [MSC v.1500 64 bit (AMD64)] on win32) also has same problem. 

Any patches or help getting Alt-P key binding active again?

Thanks in advance,

--

-- 
View this message in context: http://old.nabble.com/idle%27s-Alt%2BP-command-not-working-in-Idle-2.6.5-%28python-2.6.4-x64-on-windowsXP%29-tp29343924p29343924.html
Sent from the Python - idle-dev mailing list archive at Nabble.com.
Terry Reedy | 5 Aug 20:57 2010
Picon

Re: IDLE GSoC Extension

On 8/2/2010 11:54 PM, Chas Leichner wrote:
> I just wanted to check in again before going on to the next step for me
> in GSoC.  I need to start polishing work on my code very soon--the firm
> pencils down date is in two weeks--and I would like some confirmation as
> to whether or not my project could be feature in the version of IDLE
> released with Python.

All I know about extensions is that there are some that that come with 
IDLE and are loaded by default and others that live on PyPI and have to 
be downloaded and configured. I suspect suspect yours will have to start 
as an option. To be included in the distribution, it would need the 
support of a developer and a promise of at least a few years of 
maintenance support from either you or the developer.

>     If you want to take a look at what I've done so far, this is my repo:
>     http://code.google.com/p/idlecarpentry/source/checkout. The .json
>     files in the examples directory will bring up a trace window directly
>     when you open them and the .py files will bring up the editor, as
>     usual. Traces can be run from the editor window by selecting Run >
>     Create Trace, annotations are pulled from any line starting with #>
>     and applied to the first line of Python code which follows. I would
>     love to hear any about any bugs you find or UI friction you encounter.
>
>     I have been keeping a blog here http://cleichner.blogspot.com/, and
>     will be posting a screencast to it tomorrow.

I support the idea of tutorial support but I cannot comment on the 
implementation now.

--

-- 
Terry Jan Reedy
Srikanth N | 12 Aug 19:08 2010
Picon

Python CGI for windows

Dear All,

I Have certain clarification in python CGI.

I use Python IDLE

1. How do we execute CGI Scripts in Windows?
2. How do i configure the Server?(If i use WAMP,XAMPP)
3. Is mod_python required for python cgi?

Someone Please revert back to me with the solution for the same.I would be at-most thankful

--
Thanks & Regards,
Srikanth.N

_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
Terry Reedy | 12 Aug 21:14 2010
Picon

Re: Python CGI for windows

On 8/12/2010 1:08 PM, Srikanth N wrote:
> Dear All,
>
> I Have certain clarification in python CGI.
>
> I use Python IDLE
>
> *1. How do we execute CGI Scripts in Windows?
> 2. How do i configure the Server?(If i use WAMP,XAMPP)
> 3. Is mod_python required for python cgi?

These questions have nothing to do with IDLE or any other editor you use 
to edit the program. I suggest you try either python-list or the web-sig 
list (not sure of the name). And no, I do not know the answers.

--

-- 
Terry Jan Reedy
Michael Allan | 13 Aug 19:06 2010
Picon

idle py2.7 disappearing output

I just installed 2.7, and also tried 3.1 with the same issue - any code more than one line will not show the output, it just instantly runs the code and goes back to a new (blank) prompt line. I am on winxp pro sp2.
 
for example:
 
print 52
 
+ Enter will correctly print '52' then goto a new command prompt
 
however:
x=52
print 52
 
+ Enter will just go right to the new command prompt, printing nothing.
 
However if I add a iterative on the first line like this:
 
for p in range(1):
     x=52
     print x
 
 
I can hit Enter (twice) and it will correctly show the output etc. I have googled all over and found a few references to python bugs (win32all updates etc) but all for older versions. I have been using that 'for' method to do all my assigments in the meantime.
 
(by the way is there a way to get to a new line (CRLF) in the shell without actually running the code yet (hitting Enter)? (so to be able to put a new line of code into the shell directly instead of copy/paste from notepad all the time)
 
-allan
_______________________________________________
IDLE-dev mailing list
IDLE-dev <at> python.org
http://mail.python.org/mailman/listinfo/idle-dev
FRANCOIS L. | 14 Aug 13:29 2010
Picon

encodage problem

hello,

-----
Python 2.6.5+ (release26-maint, Jul  6 2010, 12:58:20)
[GCC 4.4.4] on linux2
IDLE 2.6.5      ==== No Subprocess ====
 >>>import sys
 >>> u"é"
u'\xc3\xa9'
 >>> print u"é"
é
 >>> sys.stdin.encoding
'utf-8'
------

It seems to be a mixture of utf-8 and latin-1

In a terminal I got:

Python 2.6.5+ (release26-maint, Jul  6 2010, 12:58:20)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import sys
 >>> sys.stdin.encoding
'UTF-8'
 >>> u"é"
u'\xe9'
 >>> print u"é"
é

Thanks for your help.

Laurent
debian squeeze

Gmane