Cannot install python under Win32

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Payala

    Cannot install python under Win32

    Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
    error. The installer starts fine, but when it gets to the part that
    says "Status: Copying new files" it terminates with an error code of
    2356.

    Does anyone have a clue to what to do?

    Thanks in advance for your help
  • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

    #2
    Re: Cannot install python under Win32

    Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
    error. The installer starts fine, but when it gets to the part that
    says "Status: Copying new files" it terminates with an error code of
    2356.
    >
    Does anyone have a clue to what to do?
    Run the installer with

    msiexec /i <py.msi/l*v py.log,

    then study py.log to find out what went wrong.

    Are you by any chance running the installer from a SUBSTed drive?

    Regards,
    Martin

    Comment

    • Payala

      #3
      Re: Cannot install python under Win32

      On Jun 10, 8:56 am, "Martin v. Löwis" <mar...@v.loewi s.dewrote:
      Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
      error. The installer starts fine, but when it gets to the part that
      says "Status: Copying new files" it terminates with an error code of
      2356.
      >
      Does anyone have a clue to what to do?
      >
      Run the installer with
      >
      msiexec /i <py.msi/l*v py.log,
      >
      then study py.log to find out what went wrong.
      >
      Are you by any chance running the installer from a SUBSTed drive?
      >
      Regards,
      Martin
      Thanks for your fast reply Martin, I have done what you said and
      digging in the log for the error code I found the following lines,
      which sound bad but doesn't give me a clue:

      "Action 9:04:50: InstallFiles. Copying new files
      MSI (s) (78:54) [09:04:50:250]: Executing op:
      ProgressTotal(T otal=34700741,T ype=0,ByteEquiv alent=1)
      MSI (s) (78:54) [09:04:50:250]: Executing op: SetTargetFolder (Folder=C:
      \Python25\)
      MSI (s) (78:54) [09:04:50:250]: Executing op:
      SetSourceFolder (Folder=1\)
      MSI (s) (78:54) [09:04:50:250]: Executing op:
      ChangeMedia(,Me diaPrompt=Pleas e insert the
      disk: ,MediaCabinet=p ython,BytesPerT ick=32768,Copie rType=2,ModuleF ileName=C:
      \WINDOWS\Instal ler\4f36b5.msi, ,,,,IsFirstPhys icalMedia=1)
      MSI (s) (78:54) [09:04:50:250]: Executing op:
      FileCopy(Source Name=W9XPOPEN.E XE|
      w9xpopen.exe,So urceCabKey=w9xp open.exe,DestNa me=w9xpopen.exe ,Attributes=512 ,FileSize=4608, PerTick=32768,, VerifyMedia=1,, ,,,CheckCRC=0,, ,InstallMode=58 982400,HashOpti ons=0,HashPart1 =-1158250844,Hash Part2=-457781963,HashP art3=862897926, HashPart4=-733767670,,)
      MSI (s) (78:54) [09:04:50:250]: File: C:\Python25\w9x popen.exe; To be
      installed; Won't patch; No existing file
      MSI (s) (78:54) [09:04:50:250]: Source for file 'w9xpopen.exe' is
      compressed
      InstallFiles: File: w9xpopen.exe, Directory: C:\Python25\, Size:
      4608
      MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: Verifying
      object --'C:\WINDOWS\Ins taller\4f36b5.m si' against software
      restriction policy
      MSI (s) (78:54) [09:04:50:265]: Note: 1: 2262 2: DigitalSignatu re 3:
      -2147287038
      MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS
      \Installer\4f36 b5.msi is not digitally signed
      MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS
      \Installer\4f36 b5.msi is permitted to run at the 'unrestricted'
      authorization level.
      MSI (s) (78:54) [09:04:50:265]: Note: 1: 2356 2: python
      MSI (s) (78:54) [09:04:50:265]: Note: 1: 2262 2: Error 3: -2147287038
      DEBUG: Error 2356: Couldn't locate cabinet in stream: python.
      The installer has encountered an unexpected error installing this
      package. This may indicate a problem with this package. The error code
      is 2356. The arguments are: python, ,
      MSI (s) (78:54) [09:04:51:843]: Note: 1: 2262 2: Error 3: -2147287038
      MSI (s) (78:54) [09:04:51:843]: Product: Python 2.5.2 -- The installer
      has encountered an unexpected error installing this package. This may
      indicate a problem with this package. The error code is 2356. The
      arguments are: python, , "

      Comment

      • Payala

        #4
        Re: Cannot install python under Win32

        On Jun 10, 8:56 am, "Martin v. Löwis" <mar...@v.loewi s.dewrote:
        Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
        error. The installer starts fine, but when it gets to the part that
        says "Status: Copying new files" it terminates with an error code of
        2356.
        >
        Does anyone have a clue to what to do?
        >
        Run the installer with
        >
        msiexec /i <py.msi/l*v py.log,
        >
        then study py.log to find out what went wrong.
        >
        Are you by any chance running the installer from a SUBSTed drive?
        >
        Regards,
        Martin
        I forgot to tell you that I believe I am not installing from a SUBSTed
        drive, the installer is in a directory under the "My Documents"
        folder.

        Thanks

        Comment

        • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

          #5
          Re: Cannot install python under Win32

          DEBUG: Error 2356: Couldn't locate cabinet in stream: python.

          That sounds bad indeed. In the original file, that stream is
          definitely present, so most likely, you experienced a corruption
          in download. Please check the md5 sum of the MSI file; if it differs,
          download again (preferably using a different web browser).

          Another possible source is that the Windows installer (running as
          local system) does not have access to your

          Regards,
          Martin

          Comment

          • Payala

            #6
            Re: Cannot install python under Win32

            Hi Martin, I checked the md5 checksum, it is the following:

            d806af2312a33a8 d817a6cc3d2ee7b ed *python-2.5.2.msi

            which doesn't match with the one on the website (
            http://www.python.org/download/releases/2.5.2/ )

            d71e45968fdc4e2 06bb69fbf4cb82b 2d python-2.5.2.msi (11294720 bytes,
            signature)

            File size doesn't match either ( it is 11.292.672 bytes )

            I downloaded it again and I have the same md5. We have one of those
            "Panda GateDefender" gateways which look at everything you download
            and surf. It must be corrupting the file somehow.

            Anyways, I have found a co-worker who had a copy of Python 2.5, and I
            have installed it without problems.

            Thank you very much
            Pedro

            Comment

            Working...