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

Installation ends prematurely #41323

Closed
anamh0001 mannequin opened this issue Dec 14, 2004 · 8 comments
Closed

Installation ends prematurely #41323

anamh0001 mannequin opened this issue Dec 14, 2004 · 8 comments
Assignees

Comments

@anamh0001
Copy link
Mannequin

anamh0001 mannequin commented Dec 14, 2004

BPO 1085208
Nosy @loewis
Files
  • python24_installbug.JPG: Python 2.4 installation error final screen
  • python.log: python 2.4 installation msi log file
  • 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 = 'https://github.com/loewis'
    closed_at = <Date 2005-05-11.05:39:59.000>
    created_at = <Date 2004-12-14.16:18:49.000>
    labels = ['expert-installation']
    title = 'Installation ends prematurely'
    updated_at = <Date 2005-05-11.05:39:59.000>
    user = 'https://bugs.python.org/anamh0001'

    bugs.python.org fields:

    activity = <Date 2005-05-11.05:39:59.000>
    actor = 'loewis'
    assignee = 'loewis'
    closed = True
    closed_date = None
    closer = None
    components = ['Installation']
    creation = <Date 2004-12-14.16:18:49.000>
    creator = 'anamh0001'
    dependencies = []
    files = ['1536', '1537']
    hgrepos = []
    issue_num = 1085208
    keywords = []
    message_count = 8.0
    messages = ['23698', '23699', '23700', '23701', '23702', '23703', '23704', '23705']
    nosy_count = 3.0
    nosy_names = ['loewis', 'anamh0001', 'tungwaiyip']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1085208'
    versions = ['Python 2.4']

    @anamh0001
    Copy link
    Mannequin Author

    anamh0001 mannequin commented Dec 14, 2004

    Test machine:
    Pentium 4M 1.7Ghz
    Win XP Pro w/ SP2
    512Mb RAM
    30Gb HD
    .Net Framework 1.0 and 1.1
    Windows Scripting Host 5.6

    After double clicking the installation file. It proceeds to
    act like any other Windows Installer. After accepting
    c:\Python24 as the install directory, I am presented with
    this screen saying that there was an error and that the
    installation has ended prematurely.

    FYI, I tried to install over Python 2.3 (as in upgrade) but
    I got the same error. So I proceeded to uninstall Python
    2.3 and other installed libraries. I then restarted the PC
    and tried to install Python 2.4 again. This bug is the
    symptom of this second try.

    Please find the screenshot attached showing the final
    screen.

    @anamh0001 anamh0001 mannequin closed this as completed Dec 14, 2004
    @anamh0001 anamh0001 mannequin assigned loewis Dec 14, 2004
    @anamh0001 anamh0001 mannequin added the topic-installation label Dec 14, 2004
    @anamh0001 anamh0001 mannequin closed this as completed Dec 14, 2004
    @anamh0001 anamh0001 mannequin assigned loewis Dec 14, 2004
    @anamh0001 anamh0001 mannequin added the topic-installation label Dec 14, 2004
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Dec 15, 2004

    Logged In: YES
    user_id=21627

    Can you please run

    msiexec /i python-2.4.msi /l*v python.log

    and attach the resulting python.log (do NOT paste it into
    the SF comment box).

    @anamh0001
    Copy link
    Mannequin Author

    anamh0001 mannequin commented Dec 16, 2004

    Logged In: YES
    user_id=1178107

    Please find the msi log file attached.

    I managed to pinpoint the area where it breaks.. It's failing
    on CheckDir with an error 2896.

    -----
    MSI (c) (88:54) [09:50:38:430]: Doing action: CheckDir
    Action start 09:50:38: CheckDir.
    MSI (c) (88:3C) [09:50:38:440]: Cloaking enabled.
    MSI (c) (88:3C) [09:50:38:440]: Attempting to enable all
    disabled priveleges before calling Install on Server
    MSI (c) (88:3C) [09:50:38:440]: Connected to service for CA
    interface.
    MSI (c) (88:88) [09:50:38:580]: Entering
    MsiProvideComponentFromDescriptor. Descriptor: 2eAq^]D2g
    (8V7Xaq(hoRIngresDBMS>M5KDYSUnf(HA*L[xeX)y, PathBuf:
    1C4F348, pcchPathBuf: 1C4F344, pcchArgsOffset: 1C4F2A4
    MSI (c) (88:88) [09:50:38:580]:
    MsiProvideComponentFromDescriptor called for component
    {997FA962-E067-11D1-9396-00A0C90F27F9}: returning
    harcoded oleaut32.dll value
    MSI (c) (88:88) [09:50:38:580]:
    MsiProvideComponentFromDescriptor is returning: 0
    Action ended 09:50:38: CheckDir. Return value 3.
    MSI (c) (88:54) [09:50:38:921]: Note: 1: 2262 2: Error 3: -
    2147287038
    DEBUG: Error 2896: Executing action CheckDir failed.
    The installer has encountered an unexpected error installing
    this package. This may indicate a problem with this package.
    The error code is 2896. The arguments are: CheckDir, ,
    Action ended 09:50:38: SelectDirectoryDlg. Return value 3.
    MSI (c) (88:94) [09:50:38:931]: Doing action: FatalError
    Action start 09:50:38: FatalError.
    Action 09:50:38: FatalError. Dialog created
    Action ended 09:50:39: FatalError. Return value 2.
    Action ended 09:50:40: INSTALL. Return value 3.
    MSI (c) (88:94) [09:50:40:012]: Destroying RemoteAPI
    object.
    MSI (c) (88:3C) [09:50:40:012]: Custom Action Manager
    thread ending.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Dec 16, 2004

    Logged In: YES
    user_id=21627

    Can you please try the following things?

    1. Run the script

    ========== SNIP ============
    Function CheckDir()
    Set FSO = CreateObject("Scripting.FileSystemObject")
    if FSO.FolderExists("c:\python24") then
    wscript.echo "1"
    else
    wscript.echo "0"
    end if
    End Function

    CheckDir()
    ============= SNIP 

    ==============

    in wscript.exe (i.e. save it into c:\x.vbs, then run c:\x.vbs)

    1. Report the version of

    C:\WINDOWS\SYSTEM32\wscript.exe

    (5.6 is too imprecise - could it be that you have 5.6.0.8820?)

    1. Install VBScript, from

    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943
    -7E4B-4622-86EB-95A22B832CAA&displaylang=en

    @anamh0001
    Copy link
    Mannequin Author

    anamh0001 mannequin commented Dec 16, 2004

    Logged In: YES
    user_id=1178107

    BUG FIXED -- solution below.

    BTW I actually thought the installer was looking for
    c:\python24. So I created the folder before running the
    installer again. But it didnt work.

    When I ran the script. It returned this error: I used cscript.

    c:\x.vbs(2, 7) (null): The specified module could not be found.

    1. The version of wscript and cscript is 5.6.0.8825
    2. This is latest version because I read that installing the
      latest version of scripting host fixes installation problems.

    I managed to fix it. I registered scrrun.dll by typing:
    regsvr32 c:\windows\system32\scrrun.dll

    Thanks for all the help..

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Dec 22, 2004

    Logged In: YES
    user_id=21627

    This is fixed for 2.4.1, which will not require VB anymore.

    @tungwaiyip
    Copy link
    Mannequin

    tungwaiyip mannequin commented May 10, 2005

    Logged In: YES
    user_id=561546

    Having previously sucessfully installer Python 2.4. I run into
    this same error with both 2.4 and 2.4.1.msi on a new
    computer. Running x.vbs gives me 0. Doing

    regsvr32 c:\windows\system32\scrrun.dll

    does not help. cscript shows version info below:

    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights
    reserved.

    I have captured a log file but perhaps I'm not the orginator of
    this bug I don't seems to have the capability to upload it.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented May 11, 2005

    Logged In: YES
    user_id=21627

    This can't be the same bug (maybe the same symptom), so
    please submit a new bug report.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants