Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6035

Puppet Throws Exception when Running Under Unicode Windows User

    Details

    • Type: Bug
    • Status: Ready for Engineering
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.4.0
    • Fix Version/s: PUP 5.y
    • Component/s: Windows
    • Labels:
    • Environment:

      Agent: Windows Server 2012 R2 (WIN_SUT)

    • Template:
    • Acceptance Criteria:
      Hide

      Puppet does not throw an exception when running under a Unicode user on Windows.

      Show
      Puppet does not throw an exception when running under a Unicode user on Windows.
    • Team:
      Coremunity
    • Story Points:
      5

      Description

      Description

      If a user attempts to run Puppet under a Unicode Windows user account an unhandled exception will be thrown.

      Attachments

      • None.

      Reproduction Steps

      1. Install Puppet Agent test build on WIN_SUT.
      2. Create user "㔲㔳㔴㔵㔶" and join the user to the "Administrators" group on WIN_SUT.
      3. Logoff and logon as the "㔲㔳㔴㔵㔶" user on the WIN_SUT.
      4. Open a Puppet console and execute the following command:

        C:\>puppet --version
        Error: Could not initialize global default settings: Invalid argument @ dir_s_mk
        dir - C:/Users/?????

      Expect

      Puppet should display the version number.

      Actual

      Puppet throws an unhandled exception:

      C:\>puppet --version
      Error: Could not initialize global default settings: Invalid argument @ dir_s_mk
      dir - C:/Users/?????
       
      C:\>chcp 65001
      Active code page: 65001
       
      C:\>puppet --version
      Error: Could not initialize global default settings: Invalid argument @ dir_s_mk
      dir - C:/Users/?????
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ryan.gard Ryan Gard
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support