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

Puppet Throws Exception when Running Under Unicode Windows User

    XMLWordPrintable

Details

    • Bug
    • Status: Ready for Engineering
    • Normal
    • Resolution: Unresolved
    • PUP 4.4.0
    • None
    • Windows
    • Agent: Windows Server 2012 R2 (WIN_SUT)

    • 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.
    • Night's Watch
    • 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

              Unassigned Unassigned
              ryan.gard Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support