Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10797

Chocolatey : Installation of 'puretext' fails with 'The handle is invalid.'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: chocolatey
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 5.1.1
      Puppet Version: 6.18
      OS Name/Version: Windows 10 x64

      1. Open Admin command prompt
      2. Run choco uninstall puretext, if already installed
      3. Create a temporary directory
      4. Run: puppet module install puppetlabs/chocolatey --modulepath <the_directory>
      5. Run: puppet resource package puretext ensure=latest provider=chocolatey --modulepath <the_directory>

      Desired Behavior:

      The installation should succeed.

      Actual Behavior:

      The installation fails with:

      Extracting C:\Users\manski\AppData\Local\Temp\chocolatey\puretext\6.2\puretext_6.2_64-bit.zip to C:\ProgramData\chocolatey\lib\puretext\tools...
      C:\ProgramData\chocolatey\lib\puretext\tools
      ERROR: The handle is invalid.
      

      Note: I'm reporting this issue here (and not to the author of the puretext package) because running choco install puretext works without problems on my machine. So the puppet module seems to do something differently.

      I've attached the full chocolatey.log.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            skrysmanski Sebastian Krysmanski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support