Jira (PUP-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson assigned an issue to Eric Thompson Puppet / PUP-4086 File and line numbers often missing from errors Change By: Eric Thompson Assignee: QA EricThompson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson assigned an issue to QA Puppet / PUP-4086 File and line numbers often missing from errors Change By: Eric Thompson Assignee: QA Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson commented on PUP-4086 Re: File and line numbers often missing from errors verified on rhel7 at SHA: c46c45a [root@tddwf6n6v0g4vzw ~]# puppet module install puppetlabs/stdlib Notice: Preparing to install into /etc/puppetlabs/code/modules ... Notice: Created target directory /etc/puppetlabs/code/modules Notice: Downloading from https://forgeapi.puppetlabs.com ... Notice: Installing -- do not interrupt ... /etc/puppetlabs/code/modules └── puppetlabs-stdlib (v4.5.1) [root@tddwf6n6v0g4vzw ~]# puppet apply -e 'notice pick($empty, )' Error: Evaluation Error: Error while evaluating a Function Call, pick(): must receive at least one non empty value at line 1:8 on node tddwf6n6v0g4vzw.delivery.puppetlabs.net Error: Evaluation
Jira (PUP-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson assigned an issue to Unassigned Puppet / PUP-4086 File and line numbers often missing from errors Change By: Eric Thompson Assignee: EricThompson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson commented on PUP-4086 Re: File and line numbers often missing from errors verified on windows2012r2-rubyx64 at SHA: c46c45a Administrator@lkocn4uy71ehg8m /opt/puppet-git-repos/puppet $ puppet apply -e 'notice pick($empty, )' C:\cygwin64\bin\ruby.exe: No such file or directory -- /usr/bin/puppet (LoadError) Administrator@lkocn4uy71ehg8m /opt/puppet-git-repos/puppet $ cmd /c puppet apply -e 'notice pick($empty, )' Error: Evaluation Error: Error while evaluating a Function Call, pick(): must receive at least one non empty value at line 1:8 on node lkocn4uy71ehg8m.delivery.puppetlabs.net Error: Evaluation Error: Error while evaluating a Function Call, pick(): must receive at least one non empty value at line 1:8 on node lkocn4uy71ehg8m.delivery.puppetlabs.net
Jira (PUP-4086) File and line numbers often missing from errors
Title: Message Title Kylo Ginsberg assigned an issue to QA Puppet / PUP-4086 File and line numbers often missing from errors Change By: Kylo Ginsberg Status: Readyfor CI Test Assignee: QA Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4086 File and line numbers often missing from errors Change By: Steve Barlow Sprint: Language2015-03-18 ,Language2015-04-01 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Hailee Kenney assigned an issue to Hailee Kenney Puppet / PUP-4086 File and line numbers often missing from errors Change By: Hailee Kenney Assignee: HaileeKenney Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Hailee Kenney assigned an issue to Unassigned Puppet / PUP-4086 File and line numbers often missing from errors Change By: Hailee Kenney Assignee: HaileeKenney Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Hailee Kenney commented on PUP-4086 Re: File and line numbers often missing from errors Merged into stable in 84e52af Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4086 File and line numbers often missing from errors Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Eric Thompson commented on PUP-4086 Re: File and line numbers often missing from errors probability: high (people debug puppet code often) severity: low (annoying, unhelpful, work arounds exist) qa risk: medium (FR only) testcase 27161 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg commented on PUP-4086 Re: File and line numbers often missing from errors There is now a fix for this in PR#3690 - see the commit message for details. Basically this fix: removes the pesky superfluous Wrapped Exception messages provides location information for ParseErrors raised without location information Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg commented on PUP-4086 Re: File and line numbers often missing from errors After some experimentation I found that just supplying file and line for all parse errors that do not have this means that there are cases where this information has already been added to the message and this means getting the information twice (i.e. at line 1 at line 1). There are also valid cases where file is set, but not line number. Naturally, all of our functions in puppet raise ParseError... so I think we need to do something about this situation - not quite sure how to deal with it though. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg assigned an issue to Henrik Lindberg Puppet / PUP-4086 File and line numbers often missing from errors Change By: Henrik Lindberg Assignee: HenrikLindberg Sprint: Language2015-03-18 Scope Change Reason: Community-turnedouttobeageneralproblem Scope Change Category: Adopted Fix Version/s: PUP3.7.5 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs
Jira (PUP-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-4086 File and line numbers often missing from errors Change By: Henrik Lindberg Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg commented on PUP-4086 Re: File and line numbers often missing from errors I am considering giving up my quest as this is like the 11th time this happens, and this is before people in general has switched over and call their functions (which I am sure also contains raising ParseErrors). Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg moved an issue Puppet / PUP-4086 File and line numbers often missing from errors Change By: Henrik Lindberg Component/s: PuppetServer Component/s: DSL Affects Version/s: SERVER1.0.2 Key: SERVER PUP - 411 4086 Project: Puppet Server Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails
Jira (PUP-4086) File and line numbers often missing from errors
Title: Message Title Nick Howes commented on PUP-4086 Re: File and line numbers often missing from errors Thanks for looking into this - your explanation makes sense. I agree that ArgumentError seems more appropriate than ParseError, and does give line numbers. Also agree that the best place for a fix is in the module functions themselves, rather than adding cruft to the evaluator. I might raise a PR on stdlib to consider the idea of using ArgumentError instead. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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-4086) File and line numbers often missing from errors
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-4086 File and line numbers often missing from errors Change By: Henrik Lindberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.