Issue #7456 has been updated by James Turnbull. Status changed from Unreviewed to Needs More Information Assignee set to Alex Sharp
Alex - we're only supporting 1.9.2 at 2.7.0 and later. Any chance you could test it there? Thanks! ---------------------------------------- Bug #7456: undefined method `length' for nil:NilClass (NoMethodError) when running puppet describe user https://projects.puppetlabs.com/issues/7456 Author: Alex Sharp Status: Needs More Information Priority: High Assignee: Alex Sharp Category: Target version: Affected Puppet version: 2.6.7 Keywords: Branch: I'm running ruby 1.9.2p180 and puppet at SHA 7f9c9e10. I get the following backtrace when trying to run `ruby -Ilib ./bin/puppet describe user`: <pre> racc/parser.rb:27: warning: already initialized constant Racc_Runtime_Version racc/parser.rb:28: warning: already initialized constant Racc_Runtime_Revision racc/parser.rb:30: warning: already initialized constant Racc_Runtime_Core_Version_R racc/parser.rb:31: warning: already initialized constant Racc_Runtime_Core_Revision_R racc/parser.rb:35: warning: already initialized constant Racc_Runtime_Core_Revision_C racc/parser.rb:39: warning: already initialized constant Racc_Main_Parsing_Routine racc/parser.rb:40: warning: already initialized constant Racc_YY_Parse_Method racc/parser.rb:41: warning: already initialized constant Racc_Runtime_Core_Version racc/parser.rb:42: warning: already initialized constant Racc_Runtime_Core_Revision racc/parser.rb:43: warning: already initialized constant Racc_Runtime_Type /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/provider/service/bsd.rb:11: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/provider/service/freebsd.rb:8: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/provider/service/freebsd.rb:9: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/provider/service/freebsd.rb:10: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:102: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:107: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:107: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:108: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:108: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:109: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:109: warning: class variable access from toplevel /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/type/tidy.rb:149: warning: class variable access from toplevel user ==== /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application/describe.rb:22:in `wrap': undefined method `length' for nil:NilClass (NoMethodError) from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application/describe.rb:93:in `format_type' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application/describe.rb:246:in `block in main' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application/describe.rb:246:in `each' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application/describe.rb:246:in `main' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:315:in `run_command' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:307:in `block (2 levels) in run' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:411:in `hook' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:307:in `block in run' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:402:in `exit_on_fail' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/application.rb:307:in `run' from /Users/ajsharp/Projects/ruby/github/puppet/lib/puppet/util/command_line.rb:62:in `execute' from ./bin/puppet:4:in `<main>' </pre> The first twenty or so lines are warnings, the backtrace starts below the "user\n===" stuff. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
