Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97919

Re: UNABLE TO GET IDLE TO RUN

Path csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:IDLE': 0.04; 'session.': 0.07; 'anymore.': 0.09; 'creighton': 0.09; 'indicates': 0.09; 'mkdir': 0.09; 'prevents': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'bug': 0.10; 'python': 0.10; 'jan': 0.11; '2.7': 0.13; 'skip:f 30': 0.15; '"_")': 0.16; "-n'": 0.16; '>>on': 0.16; 'alexander': 0.16; 'idlelib': 0.16; 'loopback': 0.16; 'meanwhile,': 0.16; 'quits': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'reedy': 0.16; 'report?': 0.16; 'run.': 0.16; 'subprocess': 0.16; 'version?': 0.16; 'wrote:': 0.16; 'attribute': 0.18; 'laura': 0.18; '>>>': 0.20; 'library': 0.20; 'student': 0.20; '2015': 0.20; 'skip:" 30': 0.20; 'skip:" 40': 0.20; '"",': 0.22; 'disabled': 0.22; 'ok.': 0.22; 'am,': 0.23; 'tried': 0.24; 'import': 0.24; '(most': 0.24; 'header :User-Agent:1': 0.26; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; 'fri,': 0.27; '14,': 0.27; "skip:' 10": 0.28; 'interface': 0.29; 'blocking': 0.29; 'firewall': 0.29; 'occasionally': 0.29; 'work.': 0.30; 'skip:_ 10': 0.32; 'help,': 0.32; 'run': 0.33; 'problem': 0.33; 'usually': 0.33; 'idle': 0.33; 'option.': 0.33; 'traceback': 0.33; 'file': 0.34; 'running': 0.34; 'installing': 0.35; 'mine': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'cases': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; '12,': 0.37; 'test': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'received:de': 0.40; 'software': 0.40; 'your': 0.60; 'ago.': 0.61; 'details': 0.62; '(that': 0.63; 'more': 0.63; 'personal': 0.63; 'python-list': 0.66; 'touch': 0.66; 'subject': 0.70; 'connection.': 0.76; 'saw': 0.77; 'os?': 0.84; 'seldom': 0.84; 'shadows': 0.84; 'subject:GET': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Peter Otten <__peter__@web.de>
Subject Re: UNABLE TO GET IDLE TO RUN
Date Fri, 23 Oct 2015 11:42:54 +0200
Organization None
References <1501485483.555358.1445441061800.JavaMail.yahoo@mail.yahoo.com> <1501485483.555358.1445441061800.JavaMail.yahoo@mail.yahoo.com> <n0ccgu$uj9$1@ger.gmane.org> <201510230905.t9N95FPe025528@fido.openend.se>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Gmane-NNTP-Posting-Host p57bd82a7.dip0.t-ipconnect.de
User-Agent KNode/4.13.3
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.115.1445593409.878.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1445593409 news.xs4all.nl 23826 [2001:888:2000:d::a6]:54801
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:97919

Show key headers only | View raw


Laura Creighton wrote:

> In a message of Fri, 23 Oct 2015 00:19:42 -0400, Terry Reedy writes:
>>On 10/21/2015 11:24 AM, Terry Alexander via Python-list wrote:
>>
>>> I have tried installing both Python 2.7 and 3.5, and in both cases I
>>> cannot get IDLE to work. I received the following message both times:
>>
>>What OS? Windows? which version?  How did you start IDLE?  Start menu
>>icon?  Command line?
>>
>>> IDLE’s subprocess didn’t make connection.Either IDLE can’t start a
>>> subprocess or personal firewall software is blocking the connection.
>>>
>>> I am running Norton, and disabled it, but still IDLE will not run. Any
>>> suggestions?
>>
>>Don't shout with ALL CAPS in the subject line.  It usually indicates
>>spam.  I already know that this problem is very frustrating.
>>
>>Firewalls are seldom the problems anymore.  I occasionally saw this on
>>Win 7 when restarting, but never on startup, and never more than once or
>>twice in a session.
>>
>>What's left is misconfiguration of your network interface that prevents
>>a loopback connection.  There might be answers on Stackoverflow that
>>would help, depending on your OS.
>>
>>In the meanwhile, you can start IDLE with the -n option.  Either use a
>>command line or create an 'IDLE -n' icon.  Again, details depend on
>>exact OS.
>>
>>--
>>Terry Jan Reedy
> 
> You can also get this message if you run idle in directory where you
> have your own python file whose name shadows something in the
> standard library (that idle is interested in).  I think it was
> a file named 'string.py' that did this to a student of mine a
> few years ago.
> 
> Laura

I tried it out:

$ mkdir test
$ cd test
$ touch string.py
$ idle3
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.4/idlelib/run.py", line 12, in <module>
    from idlelib import CallTips
  File "/usr/lib/python3.4/idlelib/CallTips.py", line 16, in <module>
    from idlelib.HyperParser import HyperParser
  File "/usr/lib/python3.4/idlelib/HyperParser.py", line 14, in <module>
    _ASCII_ID_CHARS = frozenset(string.ascii_letters + string.digits + "_")
AttributeError: 'module' object has no attribute 'ascii_letters'

Then idle shows the message and quits after you hit OK.

Is there a bug report?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: UNABLE TO GET IDLE TO RUN Peter Otten <__peter__@web.de> - 2015-10-23 11:42 +0200

csiph-web