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


Groups > comp.lang.python > #65133

Python shell wont open idle or an exisiting py file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rpucci2@cox.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.06; 'subject:file': 0.07; 'tkinter': 0.07; '__init__': 0.09; 'callback': 0.09; 'python': 0.11; '36,': 0.16; 'codec': 0.16; 'filename,': 0.16; 'key)': 0.16; 'exception': 0.16; 'bit': 0.19; '>>>': 0.22; 'import': 0.22; 'error': 0.23; '&gt;&gt;&gt;': 0.24; 'byte': 0.24; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'skip:( 20': 0.30; 'file': 0.32; 'open': 0.33; '(most': 0.33; 'message.': 0.35; "can't": 0.35; 'skip:s 30': 0.35; 'skip:u 20': 0.35; 'nov': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'delete': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'from:no real name:2**0': 0.61; 'more': 0.64; 'invalid': 0.68; '10:': 0.84; 'message-id:@UserPC': 0.84; '2013,': 0.91; 'received:userpc': 0.93
X-CT-Class Clean
X-CT-Score 0.00
X-CT-RefID str=0001.0A02020A.52EBD6F2.026B,ss=1,re=0.000,fgs=0
X-CT-Spam 0
X-Authority-Analysis v=2.0 cv=GKHW5JxK c=1 sm=1 a=I4f4GDKxEC/50XnNHq1HNA==:17 a=2BmvygyQ-rAA:10 a=G8Uczd0VNMoA:10 a=kviXuzpPAAAA:8 a=QpEJlH5mMTUA:10 a=8K82tKTd1OznMz23unAA:9 a=wPNLvfGTeEIA:10 a=_W_S_7VecoQA:10 a=u_jXhU6OhhBnJoLQ:21 a=I4f4GDKxEC/50XnNHq1HNA==:117
X-CM-Score 0.00
Authentication-Results cox.net; none
From <rpucci2@cox.net>
To <python-list@python.org>
Subject Python shell wont open idle or an exisiting py file
Date Fri, 31 Jan 2014 12:01:38 -0500
MIME-Version 1.0
Content-Type multipart/alternative; boundary="----=_NextPart_000_0070_01CF1E7C.32109800"
X-Priority 3
X-MSMail-Priority Normal
Importance Normal
X-Mailer Microsoft Windows Live Mail 16.4.3508.205
X-MimeOLE Produced By Microsoft MimeOLE V16.4.3508.205
X-Antivirus AVG for E-mail 2013.0.3462 [3684/7048]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.6213.1391191555.18130.python-list@python.org> (permalink)
Lines 115
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391191555 news.xs4all.nl 2839 [2001:888:2000:d::a6]:37810
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65133

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import idlelib.idle
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
    return self.func(*args)
  File "C:\Python33\lib\idlelib\EditorWindow.py", line 927, in open_recent_file
    self.io.open(editFile=fn_closure)
  File "C:\Python33\lib\idlelib\IOBinding.py", line 183, in open
    flist.open(filename)
  File "C:\Python33\lib\idlelib\FileList.py", line 36, in open
    edit = self.EditorWindow(self, filename, key)
  File "C:\Python33\lib\idlelib\PyShell.py", line 126, in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Python33\lib\idlelib\EditorWindow.py", line 287, in __init__
    if io.loadfile(filename):
  File "C:\Python33\lib\idlelib\IOBinding.py", line 242, in loadfile
    self.updaterecentfileslist(filename)
  File "C:\Python33\lib\idlelib\IOBinding.py", line 523, in updaterecentfileslist
    self.editwin.update_recent_files_list(filename)
  File "C:\Python33\lib\idlelib\EditorWindow.py", line 915, in update_recent_files_list
    menu.delete(0, END)  # clear, and rebuild:
  File "C:\Python33\lib\tkinter\__init__.py", line 2778, in delete
    if 'command' in self.entryconfig(i):
  File "C:\Python33\lib\tkinter\__init__.py", line 2788, in entryconfigure
    return self._configure(('entryconfigure', index), cnf, kw)
  File "C:\Python33\lib\tkinter\__init__.py", line 1247, in _configure
    self.tk.call(_flatten((self._w, cmd)))):
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 10: invalid start byte

This is the error message.

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


Thread

Python shell wont open idle or an exisiting py file <rpucci2@cox.net> - 2014-01-31 12:01 -0500

csiph-web