hello
can anybody help me with this bug, (this sometimes occur sometimes
passes)
ActiveRecord::StatementInvalid in ‘MailReader on Simple Tasks should not
accept duplicate email’
Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT
active_record_1
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in
log' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:323:in
execute’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:365:in
rollback_to_savepoint' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:145:in
transaction’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in
transaction' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in
with_transaction_returning_status’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in
save' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in
rollback_active_record_state!’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in
save' /home/poldz/projects/ruby/wruwo/app/models/user.rb:811:in
log_activity’
/home/poldz/projects/ruby/wruwo/app/models/task.rb:490:in
notify_new_task' /home/poldz/projects/ruby/wruwo/app/models/mail_reader.rb:123:in
create_task’
/home/poldz/projects/ruby/wruwo/app/models/mail_reader.rb:263:in
`process_received_mail’
./spec/models/mail_reader_spec.rb:97:
ActiveRecord::StatementInvalid in ‘MailReader on Tasks with Workspace
workspace member (david) - should be able to email task to shadow-user
using
default: keyword’
Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT
active_record_1
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in
log' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:323:in
execute’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:365:in
rollback_to_savepoint' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:145:in
transaction’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in
transaction' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in
save!’
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in
rollback_active_record_state!' /home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in
save!’
/home/poldz/projects/ruby/wruwo/app/models/mail_reader.rb:79:in
create_task' /home/poldz/projects/ruby/wruwo/app/models/mail_reader.rb:263:in
process_received_mail’
./spec/models/mail_reader_on_tasks_with_workspace_spec.rb:232:
Finished in 61.718884 seconds
137 examples, 2 failures
rake aborted!
Command /usr/local/bin/ruby -I"lib"
“/usr/local/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec”
“spec/models/calendar_event_spec.rb” “spec/models/user_spec.rb”
“spec/models/mail_reader_spec.rb” “spec/models/task_spec.rb”
“spec/models/mail_reader_on_tasks_with_workspace_spec.rb”
“spec/helpers/users_helper_spec.rb”
“spec/lib/task_string_pattern_spec.rb”
“spec/lib/task_question_answer_string_pattern_spec.rb”
“spec/controllers/sessions_controller_spec.rb”
“spec/controllers/users_controller_spec.rb”
“spec/controllers/tasks_controller_spec.rb”
“spec/controllers/workspace_with_workflow_tasks_controller_spec.rb”
“spec/controllers/workspace_tasks_controller_spec.rb” --options
“/home/poldz/projects/ruby/wruwo/spec/spec.opts” failed
(See full trace by running task with --trace)