Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-28 Thread Jorie Tappa (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jorie Tappa updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jorie Tappa 
 
 
 

Labels:
 
 i18n  resolved-issue-added  type_augeas type_file utf-8 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-20 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Release Notes:
 
 Not Needed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-20 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Release Notes:
 
 Not Needed Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-20 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Release Notes Summary:
 
 see PUP-7063 for release notes for this issue 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Sprint:
 
 Agent N+1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
I can no longer reproduce this issue, given the changes in https://github.com/puppetlabs/puppet/pull/5772/commits/c47be2d3b3d002f02cbed6edee8dfee119152b46.  
This change introduced encoding handling to our console logging, including fall back for invalid encoding. 
The error case I reproduced with now encodes successfully for output with no failure. 
I'm going to close this as resolved, and we can reopen if we come across further issues. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-06-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Fix Version/s:
 
 PUP 5.y 
 
 
 

Fix Version/s:
 
 PUP 5.0.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-05-18 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Labels:
 
 i18n  triaged  type_augeas type_file utf-8 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-05-15 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Labels:
 
 i18n  triaged  type_augeas type_file utf-8 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-04-25 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 Agent N+ 2 1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-04-21 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 Agent  Ready for Engineering  N+2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-04-11 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Fix Version/s:
 
 PUP 5.y 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-03-22 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 Agent Ready for Engineering  1  0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-02-22 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP  2017-03-08  Ready for Engineering 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-02-08 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP 2017- 02 03 - 22 08 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2017-01-11 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP 2017-02- 08 22 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-30 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
I've traced this down to Puppet failing to log to the console the results of diff -u. Puppet::Util::Execution.execute("diff -u...") (https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/diff.rb#L18) returns a result string in ISO-8859-1 (from https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/file/data_sync.rb#L44) which ultimately makes its way to Puppet::Util::Log::Destinations https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/log/destinations.rb#L167 where we try to concatenate it with a UTF-8 string (in this case, prefixing the message with the resource), and fail. 
This is likely related to PUP-6432. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-30 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Ok, I was able to get this to fail (repro) w/puppet 4.8.1 on ubuntu with locale set to `en_US`, i.e. ISO-8859-1. My specific repro had a file with a UTF-8 file name served from a puppet module. 
 
 
 
 
 
 
Debug: Executing: 'diff -u /root/メインディレクトリ/ファイル /tmp/puppet-file20161230-10305-se6mci' 
 
 
 
 
Error: incompatible character encodings: UTF-8 and ISO-8859-1 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log/destinations.rb:167:in `handle' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:176:in `block in newmessage' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:175:in `each' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:175:in `newmessage' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:293:in `initialize' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:87:in `new' 
 
 
 
 
/var/lib/gems/2.3.0/gems/puppet-4.8.1/lib/puppet/util/log.rb:87:in `create' 
 

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-28 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
ja_JP.utf8 encoding seems to work fine: 
 
 
 
 
 
 
Debug: Executing: 'diff -u /tmp/file_with_unicode_content /tmp/puppet-file20161228-33725-8uvc8a' 
 
 
 
 
Notice: /Stage[main]/Main/File[/tmp/file_with_unicode_content]/content: 
 
 
 
 
--- /tmp/file_with_unicode_content	2016-12-28 13:41:57.130752204 -0800 
 
 
 
 
+++ /tmp/puppet-file20161228-33725-8uvc8a	2016-12-28 14:20:58.553147201 -0800 
 
 
 
 
@@ -1 +1 @@ 
 
 
 
 
-☃ ☃ ☃ 
 
 
 
 
+☃ ☃ 
 
 
 
 
  
 
 
 
 
Info: Computing checksum on file /tmp/file_with_unicode_content 
 
 
 
 
Debug: Evicting cache entry for environment 'production' 
 
 

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-28 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
With locale set to POSIX (ie C): 
 
 
 
 
 
 
Debug: Executing: 'diff -u /tmp/file_with_unicode_content /tmp/puppet-file20161228-33112-1y53m6z' 
 
 
 
 
Notice: /Stage[main]/Main/File[/tmp/file_with_unicode_content]/content: 
 
 
 
 
--- /tmp/file_with_unicode_content	2016-12-28 10:35:56.049058228 -0800 
 
 
 
 
+++ /tmp/puppet-file20161228-33112-1y53m6z	2016-12-28 13:41:57.094752295 -0800 
 
 
 
 
@@ -1 +1 @@ 
 
 
 
 
-☃ ☃ 
 
 
 
 
+☃ ☃ ☃ 
 
 
 
 
  
 
 
 
 
Info: Computing checksum on file /tmp/file_with_unicode_content 
 
 
 
 
Debug: Evicting cache entry for environment 'production' 
 
 
 

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-28 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Charlie Sharpsteen thanks for the tip. The host does have locale UTF-8, so I'll give it a run in something else. An initial foray using showdiff with a binary file replaced with a text file containing utf-8 chars also work: 
 
 
 
 
 
 
Debug: Executing: 'diff -u /tmp/ゖキタビソゥふけブビ /tmp/puppet-file20161228-11867-umebyu' 
 
 
 
 
Notice: /Stage[main]/Main/File[/tmp/ゖキタビソゥふけブビ]/content: 
 
 
 
 
Binary files /tmp/ゖキタビソゥふけブビ and /tmp/puppet-file20161228-11867-umebyu differ 
 
 
 
 
  
 
 
 
 
Info: Computing checksum on file /tmp/ゖキタビソゥふけブビ 
 
 
 
 
Debug: Evicting cache entry for environment 'production' 
 
 
 
 
Debug: Caching environment 'production' (ttl = 0 sec) 
 
 
 
 
Info: /Stage[main]/Main/File[/tmp/ゖキタビソゥふけブビ]: Filebucketed /tmp/ゖキタビソゥふけブビ to puppet with sum 32b7fc9f4a5e966cb03d631d91421195 
 
 
 
 
Notice: /Stage[main]/Main/File[/tmp/ゖキタビソゥふけブビ]/content: content changed '{md5}32b7fc9f4a5e966cb03d631d91421195' to '{md5}46a91a1e944a6f90b9d34205f969b412'
 
 

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-28 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Moses Mendoza What was the locale of that Ubuntu system set to? If it was defaulting to a Unicode character type, then everything may have worked out with a Unicode because the runtime environment caused the internal Ruby string encoding to match up with the external data. 
Testing file with non-UTF8 content, such as a binary like a .deb or .jar, might be a good idea. A file with ISO-8859 accented characters also makes a good test case as those bytes won't compose correctly when the locale is set to ASCII or UTF-8. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-28 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
I believe this may be resolved. I am unable to reproduce using Puppet 4.6.2 on ubuntu: 
Given this manifest: 
 
 
 
 
 
 
$ : cat file.pp 
 
 
 
 
file { "/tmp/file_with_unicode_content": 
 
 
 
 
  ensure => file, 
 
 
 
 
  source => "/root/unicode_file", 
 
 
 
 
  mode => '755', 
 
 
 
 
  before => Exec['Test Unicode Command'] 
 
 
 
 
} 
 
 
 
 
  
 
 
 
 
exec { "Test Unicode Command": 
 
 
 
 
  command => "/usr/bin/test 0" 
 
 
 
 
   

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-14 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP 2017- 01 02 - 25 08 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-13 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP 2017-01- 11 25 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-07 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Jeremy Grant - no ETA just yet, but it's in our high priority Unicode hit list, which we're actively working through. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-07 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Story Points:
 
 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-07 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Sprint:
 
 AP  Grooming  2017-01-11 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-07 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Acceptance Criteria:
 
 - "--show_diff" does not error on files with UTF-8 content- acceptance test 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-12-07 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Acceptance Criteria:
 
 - "--show_diff" does not error on files with UTF-8 content - acceptance test 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-10-03 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Sprint:
 
 AP Grooming Top 10 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-30 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Labels:
 
 i18n type_augeas type_file  utf-8 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-30 Thread Kristyna Streitova (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kristyna Streitova commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Hi, we have a customer that encountered PUP-1441 which seems to be now a part of " highest priority issues" within PUP-6718. I would like to ask if you have any ETA for the fix. Is it possible to say now if it's an extensive patch or not? Thank you! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-29 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Team:
 
 Agent & Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-29 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Sprint:
 
 i18n 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-01 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Ping Kylo Ginsberg - ticket needs priority to be decided 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-09-01 Thread Yadan Fan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Yadan Fan commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Hi everyone, is there any progress for this bug? Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-08-17 Thread David Kramer (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 David Kramer updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 David Kramer 
 
 
 

Sprint:
 
 i18n 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-03-24 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Scrum Team:
 
 Client Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2016-03-23 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 

CS Priority:
 
 Needs Priority 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2015-05-07 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
Was able to reproduce using steps from PUP-3377: 
 
 
 
 
 
 
0 ~/work/puppet (ticket/stable/PUP-4436-mkdir-ancestors)  $ be puppet apply -e 'include utf8::valid' --modulepath ~/work/modules/ --show_diff --trace 
 
 
 
 
Notice: Compiled catalog for ... in environment production in 0.43 seconds 
 
 
 
 
Error: invalid byte sequence in UTF-8 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/colors.rb:92:in `gsub' 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/colors.rb:92:in `console_color' 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/colors.rb:82:in `colorize' 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/log/destinations.rb:170:in `handle' 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/log.rb:174:in `block in newmessage' 
 
 
 
 
/Users/josh/work/puppet/lib/puppet/util/log.rb:173:in `each' 
 
 
 

Jira (PUP-1441) --show_diff causes crashes on files with UTF-8 content

2014-11-12 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 

Labels:
 
 type_augeastype_file, 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2014-11-12 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 

Affects Version/s:
 
 PUP3.7.3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2014-11-12 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-1441 
 
 
 
  --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 

Labels:
 
 type_augeastype_file , 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2014-11-12 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen commented on  PUP-1441 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: --show_diff causes crashes on files with UTF-8 content  
 
 
 
 
 
 
 
 
 
 
This also affects Augeas resources which show diffs after manipulating file content. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1441) --show_diff causes crashes on files with UTF-8 content

2014-01-14 Thread Tomas Doran (JIRA)
Title: Message Title










 

 Tomas Doran created an issue


















 Puppet /  PUP-1441



  --show_diff causes crashes on files with UTF-8 content 










Issue Type:

  Bug




Affects Versions:


 3.4.0




Assignee:


 Unassigned




Components:


 Catalog Application




Created:


 14/Jan/14 5:10 PM




Priority:

  Normal




Reporter:

 Tomas Doran










Run puppet apply with a manifest with a file block which uses a source which contains UTF-8 text.
Works as expected normally, however if the --show-diff flag is passed then it bails out with an error such as:
Error: /Stage[main]/Users::Bobtfish/File[/home/bobtfish/.gitconfig]/content: change from  {md5}8134292fa03d49e18941395afa85904e to {md5}
3fb27c4b9babe9f7808916e49bce3dbb failed: \xE2 from ASCII-8BIT to UTF-8
Note - this only happens when there are differences to be applied (i.e. when there are diffs to show)