This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年09月30日 00:05 by jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (11) | |||
|---|---|---|---|
| msg144657 - (view) | Author: jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal (jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal) | Date: 2011年09月30日 00:05 | |
I have tried all ways of opening IDLE and have uninstalled and reinstalled Python, but when I try to open it it crashes before anything happens |
|||
| msg144659 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年09月30日 00:29 | |
Try to open cmd (win+r -> type 'cmd' -> press enter), cd in the Python directory and do "python.exe Lib\idlelib\idle.py". If that doesn't work it should give you a traceback. Once you get the traceback copy/paste it here, so we can figure out what's going on. |
|||
| msg144709 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2011年09月30日 22:18 | |
IDLE with Py3.2.2 works fine on Win 7 for me (desktop) and daughter (laptop), so there is something peculiar with your system. |
|||
| msg144804 - (view) | Author: jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal (jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal) | Date: 2011年10月03日 05:22 | |
Traceback (most recent call last): File "C:\Python32\Lib\idlelib/idle.py", line 11, in <module> idlelib.PyShell.main() File "C:\Python32\Lib\idlelib\PyShell.py",line 1377, in main shell = flist.open_shell() File "C:\Python32\Lib\idlelib\PyShell.py", line 273, in open_shell self.pyshell = PyShell(self) File "C:\Python32\Lib\idlelib\Pyshell.py", line 802, in __init__ OutputWindow.__init__(self,flist, none, none) File "C:\Python32\Lib\idlelib\OutputWindow.py", line 16, in __init__ EditorWindow.__init__(self,*args) File "C:\Python32\Lib\idlelib\EditorWindow.py", line 145, in __init__ self.aply_bindings() File "C:\Python32\Lib\idlelib\EditorWindow.py", line 985, in apply_bindings text.event_add(event, *keylist) File "C:\Python32\Lib\idlelib\MultiCall.py", line 359, in event_add widget.event_add(self, virtual, seq) File C:\Python32\Lib\tkinter\__init__.py", line 1353, in event_add self.tk.call(args) _tkinter.TclError: bad event type or keysym "Alt" |
|||
| msg144805 - (view) | Author: jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal (jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal) | Date: 2011年10月03日 05:23 | |
That is the traceback given when I run idle.py through windows command prompt |
|||
| msg144807 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2011年10月03日 08:17 | |
Are you using the .msi installer from python.org? Or one from activestate or enthought? |
|||
| msg144808 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2011年10月03日 08:20 | |
Are you using some "unusual" keyboard layout? |
|||
| msg144809 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) | Date: 2011年10月03日 08:51 | |
This issue is very similar to issue5707: it is possible to define a custom key binding to "<Alt>" or "<Control>": just click the Alt box and don't select a letter. There is no check, it's possible to save this buggy key binding, and IDLE won't start anymore. IDLE should: - check the validity of the binding and refuse to save it when it is invalid - gracefully skip invalid bindings from the config file |
|||
| msg144842 - (view) | Author: jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal (jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal) | Date: 2011年10月03日 21:32 | |
ok i have solved the problem it was the same as issue 4765 |
|||
| msg144843 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) | Date: 2011年10月03日 21:36 | |
What did you do to solve the problem? |
|||
| msg144845 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2011年10月03日 22:15 | |
While this issue and #4765 are about the same effect, with a similar workaround, Amaury has indentified a separate bug in the custom key mechanism. So I retitled it to refer to that bug. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:22 | admin | set | github: 57280 |
| 2012年01月26日 04:35:35 | terry.reedy | set | status: open -> closed resolution: duplicate superseder: IDLE crash on startup with typo in config-keys.cfg nosy: + roger.serwy |
| 2011年10月03日 22:15:18 | terry.reedy | set | messages:
+ msg144845 title: IDLE refuses to open on windows 7 -> IDLE accepts, then crashes, on invalid key bindings. |
| 2011年10月03日 21:36:56 | amaury.forgeotdarc | set | messages: + msg144843 |
| 2011年10月03日 21:32:40 | jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal | set | messages: + msg144842 |
| 2011年10月03日 08:51:44 | amaury.forgeotdarc | set | nosy:
+ amaury.forgeotdarc messages: + msg144809 |
| 2011年10月03日 08:20:37 | ezio.melotti | set | messages: + msg144808 |
| 2011年10月03日 08:17:50 | terry.reedy | set | messages: + msg144807 |
| 2011年10月03日 05:23:03 | jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal | set | messages: + msg144805 |
| 2011年10月03日 05:22:11 | jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal | set | messages: + msg144804 |
| 2011年09月30日 22:18:39 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg144709 |
| 2011年09月30日 00:29:07 | ezio.melotti | set | nosy:
+ ezio.melotti messages: + msg144659 |
| 2011年09月30日 00:05:21 | jfalskfjdsl;akfdjsa;l.laksfj;aslkfdj;sal | create | |