Jira (PUP-8259) PAL list_tasks doesn't display file information when parsing error is encountered

2017-12-18 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  PUP-8259 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: PAL list_tasks doesn't display file information when parsing error is encountered  
 
 
 
 
 
 
 
 
 
 
Newer code does provide a clearer error message. I can update this ticket to reflect the need for more fine-grained error handling. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-8259) PAL list_tasks doesn't display file information when parsing error is encountered

2017-12-18 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  PUP-8259 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: PAL list_tasks doesn't display file information when parsing error is encountered  
 
 
 
 
 
 
 
 
 
 
I'll give it a try with newer code. 
Ideally we'd like to know have clear errors for each task that fails to load, as well as the list of tasks that loaded cleanly. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-8259) PAL list_tasks doesn't display file information when parsing error is encountered

2017-12-18 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8259 
 
 
 
  PAL list_tasks doesn't display file information when parsing error is encountered  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-8259) PAL list_tasks doesn't display file information when parsing error is encountered

2017-12-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-8259 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: PAL list_tasks doesn't display file information when parsing error is encountered  
 
 
 
 
 
 
 
 
 
 
There were recent improvements regarding errors arising from the type parser. Was this output with puppet on master? It may be that this is a special case of type parsing that needs to also be updated. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-8259) PAL list_tasks doesn't display file information when parsing error is encountered

2017-12-15 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8259 
 
 
 
  PAL list_tasks doesn't display file information when parsing error is encountered  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/12/15 3:11 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Michael Smith 
 
 
 
 
 
 
 
 
 
 
By prying into the parser, I found Variant[Enum[yes, no, maybe], Boolean]] was present in one of my task metadata files. Using PAL's list_tasks wasn't very helpful, as it displayed 
 
 
 
 
 
 
Error: Syntax error at ']'  at line 1:39 on node localhost 
 
 
 
 
bundler: failed to load command: bolt (/Users/michaelsmith/puppetlabs/bolt/.bundle/gems/ruby/2.3.0/bin/bolt) 
 
 
 
 
Puppet::ParseErrorWithIssue: Syntax error at ']' at line 1:39 on node localhost