New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turtle.py hangs Idle #41023
Comments
1 line fix: After line 336's: [Since IDLE is Tkinter based, the implict quit can't -T. |
Logged In: YES What version of Python are you using? |
Logged In: YES Sorry - should have included this: -T. |
Logged In: YES I've tracked down some more info: It also happens on XP using 2.4.1 and Idle 1.1.1. The way to trigger it is to start IDLE with no subprocess. While the fix that I suggested still cures it, it may be -T. |
Given that it wasn't possible to reproduce the bug in 2.4 nor 2.4, I'll |
Taro, the OP, has been able to reproduce the issue with Python 3.0. |
Here's Taro message: Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit The procedure to reproduce is: |
I started Idle from a command prompt: Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python30\Lib\tkinter\__init__.py", line 1405, in __call__
return self.func(*args)
File "C:\Python30\Lib\tkinter\__init__.py", line 493, in callit
func(*args)
File "C:\Python30\lib\idlelib\ColorDelegator.py", line 152, in
recolorize
self.recolorize_main()
File "C:\Python30\lib\idlelib\ColorDelegator.py", line 185, in
recolorize_main
next = self.index(mark + "+%d lines linestart" %
File "C:\Python30\Lib\idlelib\Delegator.py", line 10, in __getattr__
attr = getattr(self.delegate, name) # May raise AttributeError
AttributeError: 'NoneType' object has no attribute 'index'
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python30\Lib\tkinter\__init__.py", line 1405, in __call__
return self.func(*args)
File "C:\Python30\lib\idlelib\MultiCall.py", line 165, in handler
r = l[i](event)
File "C:\Python30\lib\idlelib\IOBinding.py", line 222, in open
self.editwin.flist.open(filename)
File "C:\Python30\lib\idlelib\FileList.py", line 36, in open
edit = self.EditorWindow(self, filename, key)
File "C:\Python30\Lib\idlelib\PyShell.py", line 114, in __init__
if self.io.filename: self.restore_file_breaks()
File "C:\Python30\Lib\idlelib\PyShell.py", line 222, in
restore_file_breaks
filename = self.io.filename
AttributeError: 'NoneType' object has no attribute 'filename' |
Can you still reproduce this? |
Closing as not reproducible for 3.3. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: