Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-07-02 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Scope Change Reason:
 
 While working on task scheduler issue in sprint, discovered this problem (and associated ticket) as well. Decided to batch up fixes given context on task scheduler. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-07-02 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Scope Change Category:
 
 Found 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-24 Thread Erick Banks (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Erick Banks commented on  PUP-5269 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 
 
QA demo'ed to me by Glenn. 
I pulled the puppet.msi from http://nightlies.puppetlabs.com/puppet-agent/latest/repos/windows/ and ensured the changes from the pr above were included. Then ran a puppet apply on a manifest with a multibyte utf-8 character as the name of the manifest "test竹". 
The manifest was applied once and on the second run proved to be idempotent. 
I feel the tests in spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb are sufficient to prove the change works. Will not FR. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti assigned an issue to Erick Banks 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Glenn Sarti 
 
 
 

Assignee:
 
 qa Erick Banks 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Status:
 
 Ready for  CI  Test 
 
 
 

Assignee:
 
 Glenn Sarti qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti assigned an issue to Glenn Sarti 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Glenn Sarti 
 
 
 

Assignee:
 
 Glenn Sarti 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti commented on  PUP-5269 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 
 
Additional PR merged into stable at; https://github.com/puppetlabs/puppet/commit/fffcf8a6bf59f6cb2d1d9a555a8c6c28e5d33606 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti commented on  PUP-5269 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 
 
Merged into stable at; https://github.com/puppetlabs/puppet/commit/ea02ca1fb237cb7d80343d41cda7ee2005af2f0c 
This was merged in error and will cause CI failures 
PUP-1498 needs to be merged fixes for the tests https://github.com/puppetlabs/puppet/pull/5036 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Glenn Sarti (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Glenn Sarti commented on  PUP-5269 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 
 
PR Review 
Unit tests and Integration tests all succeeded 
Test Manifest 
 
 
 
 
 
 
scheduled_task { 'Test-Taskᚠᛇᚻ': 
 
 
 
 
  ensure  => 'present', 
 
 
 
 
  command => "C:\\windows\\system32\\notepad.exe", 
 
 
 
 
  enabled => true, 
 
 
 
 
  trigger => { 
 
 
 
 
'every'  => '1', 
 
 
 
 
'schedule'   => 'daily', 
 
 
 
 
'start_time' => '13:00' 
 
 
 
 
  }, 
 
 
 
 
}
 
 
 
 
 

Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Sprint:
 
 Windows  Triage  2016-06-29 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Fix Version/s:
 
 PUP 4.5.3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown commented on  PUP-5269 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 
 
The following manifest can be used to demonstrate the problem / validate the fix 
 
 
 
 
 
 
scheduled_task { 'Test-Taskᚠᛇᚻ': 
 
 
 
 
  ensure  => 'present', 
 
 
 
 
  command => "C:\\windows\\system32\\notepad.exe", 
 
 
 
 
  enabled => true, 
 
 
 
 
  trigger => { 
 
 
 
 
'every'  => '1', 
 
 
 
 
'schedule'   => 'daily', 
 
 
 
 
'start_time' => '13:00' 
 
 
 
 
  }, 
 
 
 
 
}
 
 
 
 
 
 
  

Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Acceptance Criteria:
 
 - Can create a task with utf8 characters in it- Can re-run the same manifest without error- puppet resource scheduled_task properly shows the task definition 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Story Points:
 
 2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-21 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown assigned an issue to Ethan Brown 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Assignee:
 
 Ethan Brown 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-16 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Scrum Team:
 
 Windows 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2016-06-16 Thread Ethan Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ethan Brown updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ethan Brown 
 
 
 

Sprint:
 
 Windows Triage 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2015-09-21 Thread Eric Zhu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Zhu updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Zhu 
 
 
 
 
 
 
 
 
 
 If there is a scheduled task with a Non-ASCII name  in the task library({{%SYSTEMROOT%/Tasks}}), {{scheduled_task}} provider will fail. Of course I don't name scheduled task like that, but sometimes third-party program or the end users might do so.I tried set the {{codepage}} to {{1252}}, but the error occurs anyway. So I guess it's a issue of Ruby again like [PUP-4333|https://tickets.puppetlabs.com/browse/PUP-4333]?{code :bash }C:\Users\Administrator\Desktop>puppet apply sch.pp  --debug --trace  Notice: Compiled catalog for win2k8sp2x86 in environment devel in 0 . 41 seconds .  Info: Applying configuration version '1443053017' Error: Could not set 'present' on ensure: U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 at 10 :C:/Users/Admi  C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `encode'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `read_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:69:in `block in read_arbitrary_wide_string_upC:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `upto'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `read_arbitrary_wide_string_up_to'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:215:in `block (6 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:214:in `block (5 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `each'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `block (4 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:210:in `block (3 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `initialize'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `new'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `block (2 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:203:in `initialize'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:203:in `new'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:203:in `block in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/com.rb:117:in `block in UseInstance'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/com.rb:114:in `initialize'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/com.rb:114:in `new'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/com.rb:114:in `UseInstance'C:/Program Files/Puppet Labs/Puppet/puppet/lib/pu

Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2015-09-21 Thread Eric Zhu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Zhu updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Zhu 
 
 
 
 
 
 
 
 
 
 If there is a scheduled task with a Non-ASCII name  in the task library({{%SYSTEMROOT%/Tasks}}), {{scheduled_task}} provider will fail. Of course I don't name scheduled task like that, but sometimes third-party program or the end users might do so.I tried set the {{codepage}} to {{1252}}, but the error occurs anyway. So I guess it's a issue of Ruby again like [PUP-4333|https://tickets.puppetlabs.com/browse/PUP-4333]?{code: powershell bash }C:\Users\Administrator\Desktop>puppet apply sch.ppNotice: Compiled catalog for win2k8sp2x86 in environment devel in 0.41 secondsError: Could not set 'present' on ensure: U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 at 10Error: Could not set 'present' on ensure: U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 at 10Wrapped exception:U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437Error: /Stage[main]/Main/Scheduled_task[test]/ensure: change from absent to present failed: Could not set 'presversion from UTF-16LE to UTF-8 to IBM437 at 10:C:/Users/Administrator/Desktop/sch.ppNotice: Finished catalog run in 0.11 secondsC:\Users\Administrator\Desktop>{code}{code: powershell bash }C:\Users\Administrator\Desktop>puppet resource scheduled_task --debug --traceDebug: Runtime environment: puppet_version=3.8.2, ruby_version=1.9.3, run_mode=user, default_encoding=IBM437Error: Could not run: U+6D4B to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `encode'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `read_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:69:in `block in read_arbitrary_wide_string_up_toC:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `upto'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `read_arbitrary_wide_string_up_to'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:215:in `block (6 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:214:in `block (5 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `each'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `block (4 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:210:in `block (3 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `initialize'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `new'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `block (2 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/pup

Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2015-09-21 Thread Eric Zhu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Zhu updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Zhu 
 
 
 
 
 
 
 
 
 
 If there is a scheduled task with a Non-ASCII name  in the task library({{%SYSTEMROOT%/Tasks}}), {{scheduled_task}} provider will fail. Of course I don't name scheduled task like that, but sometimes third-party program or the end users might do so.I tried set the {{codepage}} to {{1252}}, but the error occurs anyway. So I guess it's a issue of Ruby again like [PUP-4333|https://tickets.puppetlabs.com/browse/PUP-4333]?  {code: bash powershell }C:\Users\Administrator\Desktop>puppet  apply sch.ppNotice: Compiled catalog for win2k8sp2x86 in environment devel in 0.41 secondsError: Could not set 'present' on ensure: U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 at 10Error: Could not set 'present' on ensure: U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 at 10Wrapped exception:U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437Error: /Stage[main]/Main/Scheduled_task[test]/ensure: change from absent to present failed: Could not set 'presversion from UTF-16LE to UTF-8 to IBM437 at 10:C:/Users/Administrator/Desktop/sch.ppNotice: Finished catalog run in 0.11 secondsC:\Users\Administrator\Desktop>{code}{code:powershell}C:\Users\Administrator\Desktop>puppet  resource scheduled_task --debug --traceDebug: Runtime environment: puppet_version=3.8.2, ruby_version=1.9.3, run_mode=user, default_encoding=IBM437Error: Could not run: U+6D4B to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `encode'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:58:in `read_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:69:in `block in read_arbitrary_wide_string_up_toC:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `upto'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:67:in `read_arbitrary_wide_string_up_to'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:215:in `block (6 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:214:in `block (5 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `each'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:213:in `block (4 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb:97:in `read_com_memory_pointer'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:210:in `block (3 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `initialize'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `new'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/taskscheduler.rb:204:in `block (2 levels) in enum'C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet

Jira (PUP-5269) Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name

2015-09-21 Thread Eric Zhu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Zhu updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5269 
 
 
 
  Puppet scheduled_task provider on windows fails if non-ASCII characters are in Task Name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Zhu 
 
 
 

Summary:
 
 Puppet scheduled_task provider on windows fails if non-ASCII characters are in  Uninstall products name value  Task Name 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.