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

Windows Installer Error 1722 when opting for compilation at install time #48657

Closed
keldonin mannequin opened this issue Nov 24, 2008 · 3 comments
Closed

Windows Installer Error 1722 when opting for compilation at install time #48657

keldonin mannequin opened this issue Nov 24, 2008 · 3 comments

Comments

@keldonin
Copy link
Mannequin

keldonin mannequin commented Nov 24, 2008

BPO 4407
Nosy @loewis, @keldonin
Files
  • compileall_py.patch: Patch
  • 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 2008-11-30.10:37:37.668>
    created_at = <Date 2008-11-24.11:15:13.379>
    labels = ['expert-installation', 'release-blocker']
    title = 'Windows Installer Error 1722 when opting for compilation at install time'
    updated_at = <Date 2008-12-01.09:39:26.789>
    user = 'https://github.com/keldonin'

    bugs.python.org fields:

    activity = <Date 2008-12-01.09:39:26.789>
    actor = 'keldonin'
    assignee = 'loewis'
    closed = True
    closed_date = <Date 2008-11-30.10:37:37.668>
    closer = 'loewis'
    components = ['Installation']
    creation = <Date 2008-11-24.11:15:13.379>
    creator = 'keldonin'
    dependencies = []
    files = ['12119']
    hgrepos = []
    issue_num = 4407
    keywords = ['patch']
    message_count = 3.0
    messages = ['76318', '76635', '76661']
    nosy_count = 2.0
    nosy_names = ['loewis', 'keldonin']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue4407'
    versions = ['Python 3.0']

    @keldonin
    Copy link
    Mannequin Author

    keldonin mannequin commented Nov 24, 2008

    This error happens when opting in for compiling the scripts at
    installation. (please note also that I did not selected "register
    extension", but I don't think this has an impact).

    Here is the text from event viewer:

    Product: Python 3.0rc3 -- Error 1722. There is a problem with this
    Windows Installer package. A program run as part of the setup did not
    finish as expected. Contact your support personnel or package vendor.
    Action CompilePyc, location: L:\Python30\python.exe, command: -Wi
    "L:\Python30\Lib\compileall.py" -f -x
    bad_coding|badsyntax|site-packages|py2_ "L:\Python30\Lib"

    Running the command manually indeed crashes, because of pipe symbol
    being interpretted at shell level, not Python.

    Please find attached a patch on Tools\msi\msi.py that addresses the
    problem (untested, I don't have VStudio )

    @keldonin keldonin mannequin added the topic-installation label Nov 24, 2008
    @loewis loewis mannequin added the release-blocker label Nov 24, 2008
    @loewis loewis mannequin self-assigned this Nov 24, 2008
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Nov 30, 2008

    Thanks for the report. The problem was not with the quoting (this works
    fine), but that test/crashers/iter.py failed to compile. Fixed in r67448.

    @loewis loewis mannequin closed this as completed Nov 30, 2008
    @keldonin
    Copy link
    Mannequin Author

    keldonin mannequin commented Nov 30, 2008

    Dear Martin,

    It's my pleasure. I'm just sorry if I misled you a bit, but as I told I
    haven't managed to have a full testing env yet ( although I'm close to it),
    so I could not check in time if it would have fixed the bug.

    Thanks for the great work.

    Eric

    2008/11/30 Martin v. Löwis <report@bugs.python.org>

    Martin v. Löwis <martin@v.loewis.de> added the comment:

    Thanks for the report. The problem was not with the quoting (this works
    fine), but that test/crashers/iter.py failed to compile. Fixed in r67448.

    ----------
    resolution: -> fixed
    status: open -> closed


    Python tracker <report@bugs.python.org>
    <http://bugs.python.org/issue4407\>


    @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
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants