Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ryan Gard updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Ryan Gard QA Risk Assessment: Medium Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Craig Gomes assigned an issue to Glenn Sarti Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Craig Gomes Assignee: Glenn Sarti Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Craig Gomes updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Craig Gomes Story Points: 2 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Steve Barlow Sprint: Windows Triage 2016-01-27 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Steve Barlow commented on PUP-4339 Re: Non-US paths in environment variables gets garbled on Windows Since there has been no response or activity on this ticket for several months, we are marking this with a later PUP version Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Steve Barlow Fix Version/s: PUP 4.x Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Steve Barlow Sprint: Windows Traige Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ryan Gard updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Ryan Gard QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ethan Brown commented on PUP-4339 Re: Non-US paths in environment variables gets garbled on Windows John Ericson thanks for the report. I see from the log that you're running our 64-bit agent, which is based on the Ruby 2.0 runtime. We have done a bit of work in Puppet itself to make sure that we Windows wide character UTF-16LE APIs whenever we touch the Win32 API, but to this point haven't performed exhaustive testings to find the sharp edges in Ruby itself. We do intend to tackle Non-US language support comprehensively at some point in the future. At a passing glance, your issue looks legitimate and you've provided great reproduction details. One thing that I noticed is that your current code page is set to IBM437. Internally Ruby sometimes relies on this global Windows codepage setting when performing string conversions, and we've seen that this can be buggy at times. IBM437 in particular is missing a number of common characters, and when Ruby cannot convert strings from UTF-16LE / UTF-8 to the current codepage, it can substitute invalid characters or outright fail. I'm wondering if you might be able to perform a quick test to validate a hunch. I'd like to see what happens if you set your codepage to 1252 prior to the Puppet run. You can do this at the command line with chcp 1252 prior to performing a puppet apply. Thanks again for the excellent report! Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ethan Brown updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Ethan Brown Environment: Windows 7 64 bit SwedishWindows 10 TP Build 10041 64 bit English PE 3.7.2 ( Puppet 3.7.4 ) 64-bit (Ruby 2.0.0) Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ethan Brown updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Ethan Brown Environment: Windows 7 64 bit SwedishWindows 10 TP Build 10041 64 bit English Puppet 3.7.4 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ryan Gard commented on PUP-4339 Re: Non-US paths in environment variables gets garbled on Windows Ethan Brown Josh Cooper Steve Barlow This is marked blocker, is the severity correct? Should this be pulled into the next sprint? Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Ryan Gard updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Ryan Gard QA Contact: Eric Thompson Ryan Gard Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Josh Cooper Epic Name: Non-US paths in environment variables gets garbled on Windows Epic Status: To Do Epic Colour: ghx-label-8 Workflow: Engineering Epic Scrum Team Workflow Issue Type: Epic Bug Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: Josh Cooper Scrum Team: Windows Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title John Ericson updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: John Ericson I discovered a problem today when I ran one of my modules on a computer running Windows. The cause of the problem was non-US characters in the users home directory (aka userprofile). The non-US characters in question was å, ä and ö. My only way of solving this was to rename the user account on the computer to a name with only English characters.I managed to reproduce the problem with a minimal manifest that I include in this ticket. The manifest works fine if my user account is c:\Users\John but if I change it to c:\Users\Jöhn it destroys the Swedish character and instead outputs C:\Users\JA›ƒ,ªA?hnThis happens in an exec resource like this:{code} # This caused problem on Tommys computer. exec { 'tomcat-configure-service': command => "powershell.exe Get-ChildItem Env:", onlyif => 'powershell.exe exit 0', provider => windows, logoutput => true, #notify => $tomcat_service, tag => 'tomcat-configure-service', }{code}To reproduce the error I ran it like this on Windows in cmd.exe:{code}set USERNAME=Jöhnset USERPROFILE=C:\Users\JöhnM:\Virtual Machines\Puppet Windows development\synced_folder>puppet apply manifests\bug_swedish_userprofile.pp --test{code}In the output you can see the garbled text. I include the complete output in the attached file puppetrun.log. To also see it internally in Ruby I added logging to util.rb. Simply replace it in C:\Program Files\Puppet Labs\Puppet Enterprise\puppet\lib\puppet with mine.This problem is a serious road block for running this in production so I would like to see it prioritized. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Jira (PUP-4339) Non-US paths in environment variables gets garbled on Windows
Title: Message Title John Ericson updated an issue Puppet / PUP-4339 Non-US paths in environment variables gets garbled on Windows Change By: John Ericson Epic Name: Non-US paths in environment variables gets garbled in on Windows Summary: Non-US paths in environment variables gets garbled in on Windows I discovered a problem today when I ran one of my modules on a computer running Windows. The cause of the problem was non-US characters in the users home directory (aka userprofile). The non-US character characters in question was å, ä and ö. My only way of solving this was to rename the user account on the computer to a name with only English characters.I managed to reproduce the problem with a minimal manifests manifest that I include in this ticket. The manifests manifest works fine if my user account is c:\Users\John but if I change it to c:\Users\Jöhn it destroys the Swedish character and instead outputs C:\Users\JA›ƒ,ªA?hnThis happens in an exec resource like this:{code} # This caused problem on Tommys computer. exec { 'tomcat-configure-service': command => "powershell.exe Get-ChildItem Env:", onlyif => 'powershell.exe exit 0', provider => windows, logoutput => true, #notify => $tomcat_service, tag => 'tomcat-configure-service', }{code}To reproduce the error I run ran it like this on Windows in cmd.exe:{code}set USERNAME=Jöhnset USERPROFILE=C:\Users\JöhnM:\Virtual Machines\Puppet Windows development\synced_folder>puppet apply manifests\bug_swedish_userprofile.pp --test{code}In the output you can see the garbled text. I include the complete output in the attached file puppetrun.log. To also see it internally in Ruby I added logging to util.rb. Simply replace it in C:\Program Files\Puppet Labs\Puppet Enterprise\puppet\lib\puppet with mine.This problem is a serious road block for running this in production so I would like to see it prioritized. Add Comment