This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Launcher reset to factory button provides bad command-line
Type: Stage:
Components: macOS Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: jejackson, nnorwitz, ronaldoussoren, sf-robot
Priority: normal Keywords:

Created on 2006-10-03 21:17 by jejackson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg30149 - (view) Author: jjackson (jejackson) Date: 2006-10-03 21:17
If I push the "Reset to factory settings" in Python Launcher's Preferences 
window, the command line gets a bogues "(null)" inserted, which makes a 
mess of things. I don't think that was what was intended.

In trying to debug this, I notice in the source for FileSettings.m, at line 
209
there are two duplicated lines:

            [NSNumber numberWithBool: nosite], @"nosite",
            [NSNumber numberWithBool: nosite], @"nosite",

Also, I notice at FileSettings.m:236

    value = [dict objectForKey: @"nosite"];
    if (value) nosite = [value boolValue];
    value = [dict objectForKey: @"nosite"];
    if (value) tabs = [value boolValue];

I'm wondering if these second "nosite"s should be "tabs", and if that 
would fix the problem.
msg30150 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-10-04 05:48
Logged In: YES 
user_id=33168

Ronald, I'm guessing that Jack still doesn't have time.  Do
you know anything about this?
msg30151 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-10-06 10:26
Logged In: YES 
user_id=580910

I'll have a look at this this weekend. On first glance the analysis for the source 
code looks correct and both lines should be changed, but I don't have time just 
ow to do this and test the results just now (and then backport to the 2.5 and 2.4 
trees)

P.S. I'll be doing a huge checking on the 2.4 branch this weekend, backporting 
the universal python stuff to the official tree. Last week was busier than 
expected, hence the late checkin.
msg30152 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-10-08 17:44
Logged In: YES 
user_id=580910

Fixed in revision 52229 (trunk), 52230 (2.5 branch) and 52231/52232 (2.4 
branch).

The latter checkin is a lot larger than just this fix, it is a backport of the entire 
universal binary support code from 2.5 to the official 2.4 tree (the 2.4.3. 
installer was build from an out-of-tree "branch").
msg30153 - (view) Author: SourceForge Robot (sf-robot) Date: 2006-10-24 02:20
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 44079
2006-10-03 21:17:48jejacksoncreate