Issue #4454 has been updated by James Turnbull. Category set to functions Status changed from Unreviewed to Needs more information
---------------------------------------- Bug #4454: Unhelpful error after catalog compile: err: syntax error on line 16, col -1: ` http://projects.puppetlabs.com/issues/4454 Author: Rob Terhaar Status: Needs more information Priority: Normal Assigned to: Category: functions Target version: Affected version: 0.25.5 Keywords: Branch: I'm trying to track down the source of the following error: err: syntax error on line 16, col -1: ` It seems to come up after a few exported resources are collected into my pg database. However, i'm having a hard time tracking down which resources are causing the error. <pre> puppetmasterd --no-damonize --trace --debug /usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/1.8/puppet/util/rails/reference_serializer.rb:6:in `unserialize_value' /usr/lib/ruby/1.8/puppet/rails/param_value.rb:64:in `find_all_params_from_host' /usr/lib/ruby/1.8/puppet/rails/param_value.rb:63:in `each' /usr/lib/ruby/1.8/puppet/rails/param_value.rb:63:in `find_all_params_from_host' /usr/lib/ruby/1.8/puppet/rails/host.rb:288:in `find_resources_parameters' /usr/lib/ruby/1.8/puppet/rails/host.rb:175:in `find_resources_parameters_tags' /usr/lib/ruby/1.8/puppet/rails/host.rb:157:in `merge_resources' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:23:in `debug_benchmark' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:11:in `railsmark' /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:11:in `railsmark' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:23:in `debug_benchmark' /usr/lib/ruby/1.8/puppet/rails/host.rb:156:in `merge_resources' /usr/lib/ruby/1.8/puppet/indirector/catalog/active_record.rb:30:in `save' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:11:in `railsmark' /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime' /usr/lib/ruby/1.8/puppet/rails/benchmark.rb:11:in `railsmark' /usr/lib/ruby/1.8/puppet/indirector/catalog/active_record.rb:29:in `save' /usr/lib/ruby/1.8/puppet/indirector/indirection.rb:206:in `find' /usr/lib/ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/1.8/puppet/network/http/handler.rb:101:in `do_find' /usr/lib/ruby/1.8/puppet/network/http/handler.rb:68:in `send' /usr/lib/ruby/1.8/puppet/network/http/handler.rb:68:in `process' /usr/lib/ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:45:in `listen' /usr/lib/ruby/1.8/webrick/server.rb:173:in `call' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:42:in `listen' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `new' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `listen' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:38:in `synchronize' /usr/lib/ruby/1.8/puppet/network/http/webrick.rb:38:in `listen' /usr/lib/ruby/1.8/puppet/network/server.rb:131:in `listen' /usr/lib/ruby/1.8/puppet/network/server.rb:146:in `start' /usr/lib/ruby/1.8/puppet/daemon.rb:128:in `start' /usr/lib/ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main' /usr/lib/ruby/1.8/puppet/application.rb:226:in `send' /usr/lib/ruby/1.8/puppet/application.rb:226:in `run_command' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/sbin/puppetmasterd:66 err: syntax error on line 16, col -1: `' </pre> -- 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.
