Issue #7033 has been updated by Nigel Kersten.

Status changed from Re-opened to Accepted
Assignee deleted (Nigel Kersten)

Excellent! Thank you for the feedback Lukas, that's immensely useful.

Was your error exactly the same as above? 
----------------------------------------
Bug #7033: Failed to run rake reports:schematize
https://projects.puppetlabs.com/issues/7033

Author: James Turnbull
Status: Accepted
Priority: High
Assignee: 
Category: 
Target version: 
Keywords: rake reports:schematize
Branch: 
Affected URL: 
Affected Dashboard version: 1.1.0


<pre>
$ sudo RAILS_ENV=production rake reports:schematize --trace
(in /usr/share/puppet-dashboard)
** Invoke reports:schematize (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute reports:schematize

Beginning to migrate 4155 reports
Type Ctrl+c at any time to interrupt the migration
Restarting the migration will resume where you left off

rake aborted!    0% |                                                           
                                                                 | ETA:  
--:--:--
can't convert Symbol into String
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:211:in
 `transfer'
/usr/lib/ruby/1.8/yaml.rb:133:in `each'
/usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
/usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
/usr/lib/ruby/1.8/yaml.rb:133:in `load'
/usr/lib/ruby/1.8/yaml.rb:133:in `load'
/usr/share/puppet-dashboard/app/models/report.rb:75:in `create_from_yaml'
/usr/share/puppet-dashboard/lib/tasks/schematize_reports.rake:23
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
 `transaction'
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in
 `transaction'
/usr/share/puppet-dashboard/lib/tasks/schematize_reports.rake:22
/usr/share/puppet-dashboard/lib/tasks/schematize_reports.rake:21:in `each'
/usr/share/puppet-dashboard/lib/tasks/schematize_reports.rake:21
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/var/lib/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
</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.

Reply via email to