[Bug 1244145] [NEW] idle-python2.7 - blank window (after ubutu upgrade to 13.10)
Jan Hapala
jan at hapala.cz
Thu Oct 24 09:44:36 UTC 2013
Public bug reported:
Hi,
after upgrade of Ubuntu from 13.04 to 13.10, Idle for Python 2.7 has not been working any more:
1) When I choose to open an existing module, I get a blank window (as if the file was empty).
2) I cannot close the window. (No response to clicking on the button.)
When run in the terminal, I get:
problem 1:
==========
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
return self.func(*args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 937, in open_recent_file
self.io.open(editFile=fn_closure)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 222, in open
flist.open(filename)
File "/usr/lib/python2.7/idlelib/FileList.py", line 36, in open
return self.EditorWindow(self, filename, key)
File "/usr/lib/python2.7/idlelib/PyShell.py", line 131, in __init__
EditorWindow.__init__(self, *args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 323, in __init__
io.loadfile(filename)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 258, in loadfile
chars = self.decode(chars)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 296, in decode
enc = coding_spec(chars)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 129, in coding_spec
for line in lst:
NameError: global name 'lst' is not defined
problem 2:
==========
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
return self.func(*args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1025, in close
self._close()
File "/usr/lib/python2.7/idlelib/PyShell.py", line 302, in _close
EditorWindow._close(self)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1032, in _close
self.unload_extensions()
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1053, in unload_extensions
for ins in self.extensions.values():
AttributeError: 'PyShellEditorWindow' object has no attribute 'extensions'
Idle-python3.3 works fine.
** Affects: python3.1 (Ubuntu)
Importance: Undecided
Status: New
** Tags: idle python2-7
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.1 in Ubuntu.
https://bugs.launchpad.net/bugs/1244145
Title:
idle-python2.7 - blank window (after ubutu upgrade to 13.10)
Status in “python3.1” package in Ubuntu:
New
Bug description:
Hi,
after upgrade of Ubuntu from 13.04 to 13.10, Idle for Python 2.7 has not been working any more:
1) When I choose to open an existing module, I get a blank window (as if the file was empty).
2) I cannot close the window. (No response to clicking on the button.)
When run in the terminal, I get:
problem 1:
==========
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
return self.func(*args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 937, in open_recent_file
self.io.open(editFile=fn_closure)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 222, in open
flist.open(filename)
File "/usr/lib/python2.7/idlelib/FileList.py", line 36, in open
return self.EditorWindow(self, filename, key)
File "/usr/lib/python2.7/idlelib/PyShell.py", line 131, in __init__
EditorWindow.__init__(self, *args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 323, in __init__
io.loadfile(filename)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 258, in loadfile
chars = self.decode(chars)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 296, in decode
enc = coding_spec(chars)
File "/usr/lib/python2.7/idlelib/IOBinding.py", line 129, in coding_spec
for line in lst:
NameError: global name 'lst' is not defined
problem 2:
==========
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1473, in __call__
return self.func(*args)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1025, in close
self._close()
File "/usr/lib/python2.7/idlelib/PyShell.py", line 302, in _close
EditorWindow._close(self)
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1032, in _close
self.unload_extensions()
File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 1053, in unload_extensions
for ins in self.extensions.values():
AttributeError: 'PyShellEditorWindow' object has no attribute 'extensions'
Idle-python3.3 works fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.1/+bug/1244145/+subscriptions
More information about the foundations-bugs
mailing list