Skip to content

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

Closed

Description

@keldonin
mannequin
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']

    Activity

    1. keldonin commented on Nov 24, 2008

      keldoninmannequin
      MannequinAuthor

      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 )

    2. self-assigned this
      on Nov 24, 2008
    3. loewis commented on Nov 30, 2008

      loewismannequin
      Mannequin

      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.

    4. keldonin commented on Nov 30, 2008

      keldoninmannequin
      MannequinAuthor

      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\>


    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions