Bugs item #1513617, was opened at 2006-06-27 17:18
Message generated for change (Comment added) made by kbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1513617&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
>Group: Python 2.4
>Status: Closed
>Resolution: Invalid
>Priority: 5
Submitted By: John Bollinger (bbands)
Assigned to: Kurt B. Kaiser (kbk)
>Summary: IDLE fails to launch after 46272 (2.4 with 2.5 IDLE)

Initial Comment:
As of revision 46805 IDLE fails silently on launch. If
launched from a command prompt the following output is
seen.

D:\Python24\Lib\idlelib>python idle.py
Traceback (most recent call last):
  File "idle.py", line 2, in ?
    import idlelib.PyShell
  File "D:\Python24\lib\idlelib\PyShell.py", line 27, in ?
    from EditorWindow import EditorWindow, fixwordbreaks
  File "D:\Python24\lib\idlelib\EditorWindow.py", line
42, in ?
    class EditorWindow(object):
  File "D:\Python24\lib\idlelib\EditorWindow.py", line
47, in EditorWindow
    import Bindings
  File "D:\Python24\lib\idlelib\Bindings.py", line 109,
in ?
    default_keydefs = idleConf.GetCurrentKeySet()
  File "D:\Python24\lib\idlelib\configHandler.py", line
499, in GetCurrentKeySet

    result = self.GetKeySet(self.CurrentKeys())
  File "D:\Python24\lib\idlelib\configHandler.py", line
519, in GetKeySet
    activeExtns=self.GetExtensions(active_only=1)
  File "D:\Python24\lib\idlelib\configHandler.py", line
377, in GetExtensions
    extns=self.RemoveKeyBindNames(
  File "D:\Python24\lib\idlelib\configHandler.py", line
410, in RemoveKeyBindNames
    if name.endswith(('_bindings', '_cfgBindings')):
TypeError: expected a character buffer object


----------------------------------------------------------------------

>Comment By: Kurt B. Kaiser (kbk)
Date: 2006-07-17 13:40

Message:
Logged In: YES 
user_id=149084

It appears that you are running a mixed system
on XP: Python 2.4 and IDLE from the repository.

At 46805 IDLE was modified to reflect new syntax:

"Make use of new str.startswith/endswith semantics.
Occurences in email and compiler were ignored due to 
backwards compat requirements."

The change is:

http://svn.python.org/view/python/trunk/Lib/idlelib/
configHandler.py?rev=46805&r1=38395&r2=46805

My suggestion would be to move to 2.5b2, now
available.  Otherwise, modify your configHandler.py
source to revert this change locally.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1513617&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to