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

Python 2.6 64-bit + Vista 64 = Bad MSVCRT #48534

Closed
DaGoodBoy mannequin opened this issue Nov 8, 2008 · 2 comments
Closed

Python 2.6 64-bit + Vista 64 = Bad MSVCRT #48534

DaGoodBoy mannequin opened this issue Nov 8, 2008 · 2 comments
Labels
OS-windows type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@DaGoodBoy
Copy link
Mannequin

DaGoodBoy mannequin commented Nov 8, 2008

BPO 4284
Nosy @loewis
Superseder
  • bpo-4018: "for me" installer problem on x64 Vista
  • 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 2008-11-08.19:29:22.687>
    created_at = <Date 2008-11-08.19:09:48.966>
    labels = ['OS-windows', 'type-crash']
    title = 'Python 2.6 64-bit + Vista 64 = Bad MSVCRT'
    updated_at = <Date 2008-11-08.19:29:22.686>
    user = 'https://bugs.python.org/DaGoodBoy'

    bugs.python.org fields:

    activity = <Date 2008-11-08.19:29:22.686>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-11-08.19:29:22.687>
    closer = 'loewis'
    components = ['Windows']
    creation = <Date 2008-11-08.19:09:48.966>
    creator = 'DaGoodBoy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 4284
    keywords = []
    message_count = 2.0
    messages = ['75643', '75646']
    nosy_count = 2.0
    nosy_names = ['loewis', 'DaGoodBoy']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '4018'
    type = 'crash'
    url = 'https://bugs.python.org/issue4284'
    versions = ['Python 2.6']

    @DaGoodBoy
    Copy link
    Mannequin Author

    DaGoodBoy mannequin commented Nov 8, 2008

    Here is the reproduction process. Get Windows box running Vista 64-bit.
    Download the Python 2.6 64-bit version. Write a script that imports
    escape from saxutils. See this:

    C:\Python26>python.exe example_xml_script.py > out.xml
    Traceback (most recent call last):
      File "example_xml_script.py", line 11, in <module>
        from xml.sax.saxutils import escape
      File "C:\Python26\lib\xml\sax\saxutils.py", line 6, in <module>
        import os, urlparse, urllib, types
      File "C:\Python26\lib\urllib.py", line 26, in <module>
        import socket
      File "C:\Python26\lib\socket.py", line 46, in <module>
        import _socket
    ImportError: DLL load failed: The application has failed to start
    because its side-by-side configuration is incorrect. Please see the
    application event log for more detail.

    EventViewer says:

    Activation context generation failed for "C:\Python26\DLLs\_socket.pyd".
    Error in manifest or policy file
    "C:\Python26DLLs\Microsoft.VC90.CRT.MANIFEST" on line 12.
    The value "../msvcr90.dll" of attribute "name" in element
    "urn:schemas-microsoft-com:asm.v1^file" is invalid.

    Go download the MSVCRT directly and install it:

    http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Then the problem goes away.

    This issue is particular only to the Python 2.6 64-bit version, as the
    32-bit version runs just fine.

    @DaGoodBoy DaGoodBoy mannequin added OS-windows type-crash A hard crash of the interpreter, possibly with a core dump labels Nov 8, 2008
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Nov 8, 2008

    This is a duplicate of bpo-4018. You need to install Python "for all
    users"; "just for me" installation is not supported.

    @loewis loewis mannequin closed this as completed Nov 8, 2008
    @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
    OS-windows type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants