Hi, I often (but not always - though most of the time) get the following error when I try to run rake test_units ... MySql etc is running. Anybody any ideas? Thanks Joerg rake test_units --trace (in /Users/joerg/Development/work/www) ** Invoke test_units (first_time) ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke db:test:clone (first_time) ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge ** Execute db:test:clone ** Invoke db:schema:load (first_time) ** Invoke environment ** Execute db:schema:load rake aborted! Lost connection to MySQL server during query /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1127:in `write'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1177:in `finalizer'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:279:in `call'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:279:in `add_column_options!'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:219:in `add_column_options!'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:208:in `to_s'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:334:in `*'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:334:in `to_sql'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:102:in `create_table'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:331:in `create_table'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/migration.rb:275:in `send'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/migration.rb:275:in `method_missing'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/migration.rb:259:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/migration.rb:259:in `say_with_time'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/migration.rb:273:in `method_missing'' ./db/schema.rb:50 /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/schema.rb:43:in `instance_eval'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/active_record/schema.rb:43:in `define'' ./db/schema.rb:5 /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:482:in `load'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:482:in `load'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:337:in `new_constants_in'' /Users/joerg/Development/work/www/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:482:in `load'' /Users/joerg/Development/work/www/config/../vendor/rails/railties/lib/tasks/databases.rake:31 /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'' /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /Users/joerg/Development/work/www/config/../vendor/rails/railties/lib/tasks/databases.rake:76 /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'' /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /Users/joerg/Development/work/www/config/../vendor/rails/railties/lib/tasks/databases.rake:153 /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'' /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /opt/local/bin/rake:18:in `load'' /opt/local/bin/rake:18 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Not really - they seem to be working again now... ? Tim Trautmann wrote:> Hi Joerg, > I just started getting these on and off again errors as well. This > happened when I froze to rc1 of rails 1.2. Have you found anything out > since > you posted? I am going to start investigate now. > > Best, > > Tim-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m also having these problems with rails 1.2.1. Did either of you figure it out? The majority of times tests don''t run it seems like. Any suggestions would be appreciated. Thanks, Ben Joerg Diekmann wrote:> Not really - they seem to be working again now... ? > > > Tim Trautmann wrote: >> Hi Joerg, >> I just started getting these on and off again errors as well. This >> happened when I froze to rc1 of rails 1.2. Have you found anything out >> since >> you posted? I am going to start investigate now. >> >> Best, >> >> Tim-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---