Skip to content
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

IDLE: Python 2.7.2 refuses to open #58072

Closed
stephenAndel mannequin opened this issue Jan 25, 2012 · 2 comments
Closed

IDLE: Python 2.7.2 refuses to open #58072

stephenAndel mannequin opened this issue Jan 25, 2012 · 2 comments
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@stephenAndel
Copy link
Mannequin

stephenAndel mannequin commented Jan 25, 2012

BPO 13864
Nosy @terryjreedy, @serwy
Superseder
  • bpo-11437: IDLE crash on startup with typo in config-keys.cfg
  • 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:

    assignee = None
    closed_at = <Date 2012-01-26.04:39:54.188>
    created_at = <Date 2012-01-25.19:52:12.856>
    labels = ['expert-IDLE', 'type-bug']
    title = 'IDLE: Python 2.7.2 refuses to open'
    updated_at = <Date 2012-01-26.04:39:54.185>
    user = 'https://bugs.python.org/stephenAndel'

    bugs.python.org fields:

    activity = <Date 2012-01-26.04:39:54.185>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-01-26.04:39:54.188>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2012-01-25.19:52:12.856>
    creator = 'stephen.Andel'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 13864
    keywords = []
    message_count = 2.0
    messages = ['151971', '151995']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'roger.serwy', 'stephen.Andel']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'test needed'
    status = 'closed'
    superseder = '11437'
    type = 'behavior'
    url = 'https://bugs.python.org/issue13864'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @stephenAndel
    Copy link
    Mannequin Author

    stephenAndel mannequin commented Jan 25, 2012

    I recently changed one of the keybindings in python to just control. Python did not like this and, when I tried to fix this by swapping back to the default settings it closed itself and now will not open. Th program will attempt to open then stop, and the process with cancel. I have reinstalled and deleted all apparent files associated with python but this was not enough and continues to fail, badly. Sorry for the informal dialogue I'm just a bit peeved right now.

    @stephenAndel stephenAndel mannequin added the topic-IDLE label Jan 25, 2012
    @terryjreedy
    Copy link
    Member

    What system are you running on?
    I presume by 'keybindings in Python', you mean 'keybindings in IDLE'. Correct?
    By 'change to control', do you mean you made a line in the IDLE Preferences dialog, Keys tab, binding box, look like
    "keyname - <Control-Key>" instead of "keyname - <Control-Key-X>" ?

    The default configuration files are stored in and loaded from pythonxp/Lib/idlelib/. The user configuration files are in <userhome>/.idlerc/. They are not deleted when you delete or install Python. The reason is so that users do not lose their custom configuration when they upgrade or re-install for non-idle reasons. The location of <userhome> depends on the system. On my Win7 system, <userhome> appears as C;/user/Terry. On XP, I believe it was C:/Documents and Settings/Users/Terry/, possibly with 'Application Settings/idle' (or something) added. In any case, delete the bad file, perhaps after uploading config-keys.cfg here with the name 'poisonous_config_keys'.

    PS. Usage questions are generally best directed to python-list, where you generally get faster answers. In this case, though, there seems to be a nasty bug. A bad key binding should give a nice error message when one first tries to store it.

    Also, try searching the tracker before opening a new issue. Searching for 'key binding' in bpo-11437 Component: IDLE turns up "IDLE crash on startup with typo in config-keys.cfg". So I am closing this as a duplicate. Please post any answers there.

    @terryjreedy terryjreedy changed the title Python 2.7.2 refuses to open IDLE: Python 2.7.2 refuses to open Jan 26, 2012
    @terryjreedy terryjreedy added the type-bug An unexpected behavior, bug, or error label Jan 26, 2012
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant