Форум сайта python.su
в IDLE у меня ошибка - когда создаешь новый файл (ctrl+N), пишешь туда код и сохраняешь и после этого нет возможности закрыть кроме kill :(
может кто-то знает как это исправить?
debian 4.0 stable
pythin2.4
Офлайн
запусти из консоли idle и смотри какие ошибки пишет
Офлайн
вот ошибка:
idle
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/EditorWindow.py”, line 707, in close
File “idlelib/PyShell.py”, line 259, in _close
File “idlelib/EditorWindow.py”, line 712, in _close
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/EditorWindow.py”, line 707, in close
File “idlelib/PyShell.py”, line 259, in _close
File “idlelib/EditorWindow.py”, line 712, in _close
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/EditorWindow.py”, line 707, in close
File “idlelib/PyShell.py”, line 259, in _close
File “idlelib/EditorWindow.py”, line 712, in _close
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/EditorWindow.py”, line 707, in close
File “idlelib/PyShell.py”, line 259, in _close
File “idlelib/EditorWindow.py”, line 712, in _close
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File “lib-tk/Tkinter.py”, line 1348, in __call__
return self.func(*args)
File “idlelib/OutputWindow.py”, line 94, in goto_file_line
File “idlelib/FileList.py”, line 36, in open
File “idlelib/PyShell.py”, line 105, in __init__
File “idlelib/EditorWindow.py”, line 201, in __init__
File “idlelib/IOBinding.py”, line 267, in loadfile
File “idlelib/IOBinding.py”, line 544, in updaterecentfileslist
File “idlelib/EditorWindow.py”, line 592, in update_recent_files_list
UnicodeDecodeError: ‘ascii’ codec can't decode byte 0xd0 in position 18: ordinal not in range(128)
Traceback (most recent call last):
File “/usr/bin/idle”, line 5, in ?
main()
File “idlelib/PyShell.py”, line 1383, in main
File “/usr/lib/python2.4/lib-tk/Tkinter.py”, line 968, in mainloop
self.tk.mainloop(n)
File “/usr/lib/python2.4/lib-tk/Tkinter.py”, line 1343, in __call__
def __call__(self, *args):
KeyboardInterrupt
Офлайн
Очень похоже что в файле ты используешь не ascii символы и не указываешь кодировку.
Офлайн
Viper1) если использую русский язык, то указываю кодировку
Очень похоже что в файле ты используешь не ascii символы и не указываешь кодировку.
Офлайн