Already Solved! This was like training the elderly to check to first make sure the computer is plugged in if there's a problem.
I uninstalled and then re-installed all of the gems. Works like a charm now. Guessing that there was something amiss in HAML? Thanks - JScott On Nov 15, 2:51 pm, jscott <[email protected]> wrote: > Hi Everyone, > > I've read a previous post regarding these similar errors that I > generated during the rake community_engine:test - I'm running the > current CE release from GitHub, on Rails 2.3.2, with desert and other > dependencies, etc. > > Any clues on these errors (9 in total)? Everything else is up and > running on the VPS just fine... > > Thanks in advance - Here's what I have: > > 1) Error: > test_should_be_created(ClippingImageTest): > ActiveRecord::RecordInvalid: Validation failed: Size can't be blank, > Size is not included in the list, Content type can't be blank, Content > type is not included in the list, Filename can't be blank > /vendor/plugins/community_engine/test/unit/clipping_image_test.rb: > 14:in `test_should_be_created' > > 2) Error: > test_should_get_clipping_image(ClippingTest): > ActiveRecord::RecordInvalid: Validation failed: Image is invalid > /vendor/plugins/community_engine/test/unit/clipping_test.rb:40:in > `test_should_get_clipping_image' > /vendor/plugins/community_engine/test/functional/../test_helper.rb: > 24:in `assert_difference' > /vendor/plugins/community_engine/test/unit/clipping_test.rb:38:in > `test_should_get_clipping_image' > > 3) Error: > test_should_create_clipping(ClippingsControllerTest): > ActiveRecord::RecordInvalid: Validation failed: Image is invalid > vendor/plugins/community_engine/app/controllers/ > clippings_controller.rb:153:in `create' > vendor/plugins/community_engine/app/controllers/ > clippings_controller.rb:152:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > clippings_controller_test.rb:62:in `test_should_create_clipping' > /vendor/plugins/community_engine/test/functional/../test_helper.rb: > 24:in `assert_difference' > /vendor/plugins/community_engine/test/functional/ > clippings_controller_test.rb:61:in `test_should_create_clipping' > > 4) Error: > test_should_update_clipping(ClippingsControllerTest): > ActiveRecord::RecordInvalid: Validation failed: Image is invalid > vendor/plugins/community_engine/app/controllers/ > clippings_controller.rb:176:in `update' > vendor/plugins/community_engine/app/controllers/ > clippings_controller.rb:175:in `update' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > clippings_controller_test.rb:95:in `test_should_update_clipping' > > 5) Error: > test_should_create_favorite_anonymously(FavoritesControllerTest): > ActionView::TemplateError: You have a nil object when you didn't > expect it! > The error occurred while evaluating nil.gsub > On line #3 of vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml > > 1: .clipping{:id => "clipping_#{clipping.id}"} > 2: %a{:href=>"#{user_clipping_url(clipping.user, > clipping)}", :title => h(truncate_words(clipping.description)) } > 3: = image_tag clipping.image_uri(:medium_square), :class > => 'clipping_image' > 4: %p > 5: = h(truncate_words(clipping.description)) > 6: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/ > lib/attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/models/clipping.rb:51:in > `image_uri' > vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml:3:in > `_run_haml_vendor47plugins47community_engine47app47views47clippings47_clipping46html46haml_locals_clipping_object' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:8:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:7:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:1:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/controllers/ > favorites_controller.rb:13:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:23:in > `test_should_create_favorite_anonymously' > /vendor/plugins/community_engine/test/functional/./ > test_helper.rb:24:in `assert_difference' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:22:in > `test_should_create_favorite_anonymously' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb: > 46:in `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 67:in `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 41:in `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb: > 29:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > rake (0.8.3) lib/rake/rake_test_loader.rb:5 > > 6) Error: > test_should_create_favorite_as_logged_in_user > (FavoritesControllerTest): > ActionView::TemplateError: You have a nil object when you didn't > expect it! > The error occurred while evaluating nil.gsub > On line #3 of vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml > > 1: .clipping{:id => "clipping_#{clipping.id}"} > 2: %a{:href=>"#{user_clipping_url(clipping.user, > clipping)}", :title => h(truncate_words(clipping.description)) } > 3: = image_tag clipping.image_uri(:medium_square), :class > => 'clipping_image' > 4: %p > 5: = h(truncate_words(clipping.description)) > 6: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/ > lib/attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/models/clipping.rb:51:in > `image_uri' > vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml:3:in > `_run_haml_vendor47plugins47community_engine47app47views47clippings47_clipping46html46haml_locals_clipping_object' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:8:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:7:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:1:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/controllers/ > favorites_controller.rb:13:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:16:in > `test_should_create_favorite_as_logged_in_user' > /vendor/plugins/community_engine/test/functional/./ > test_helper.rb:24:in `assert_difference' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:15:in > `test_should_create_favorite_as_logged_in_user' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb: > 46:in `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 67:in `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 41:in `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb: > 29:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > rake (0.8.3) lib/rake/rake_test_loader.rb:5 > > 7) Error: > test_should_destroy_favorite(FavoritesControllerTest): > ActionView::TemplateError: You have a nil object when you didn't > expect it! > The error occurred while evaluating nil.gsub > On line #3 of vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml > > 1: .clipping{:id => "clipping_#{clipping.id}"} > 2: %a{:href=>"#{user_clipping_url(clipping.user, > clipping)}", :title => h(truncate_words(clipping.description)) } > 3: = image_tag clipping.image_uri(:medium_square), :class > => 'clipping_image' > 4: %p > 5: = h(truncate_words(clipping.description)) > 6: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/ > lib/attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/models/clipping.rb:51:in > `image_uri' > vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml:3:in > `_run_haml_vendor47plugins47community_engine47app47views47clippings47_clipping46html46haml_locals_clipping_object' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:8:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:7:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:1:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/controllers/ > favorites_controller.rb:13:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:37:in `test_should_destroy_favorite' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb: > 46:in `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 67:in `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 41:in `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb: > 29:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > rake (0.8.3) lib/rake/rake_test_loader.rb:5 > > 8) Error: > test_should_get_index(FavoritesControllerTest): > ActionView::TemplateError: You have a nil object when you didn't > expect it! > The error occurred while evaluating nil.gsub > On line #3 of vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml > > 1: .clipping{:id => "clipping_#{clipping.id}"} > 2: %a{:href=>"#{user_clipping_url(clipping.user, > clipping)}", :title => h(truncate_words(clipping.description)) } > 3: = image_tag clipping.image_uri(:medium_square), :class > => 'clipping_image' > 4: %p > 5: = h(truncate_words(clipping.description)) > 6: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/ > lib/attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/models/clipping.rb:51:in > `image_uri' > vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml:3:in > `_run_haml_vendor47plugins47community_engine47app47views47clippings47_clipping46html46haml_locals_clipping_object' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:8:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:7:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:1:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/controllers/ > favorites_controller.rb:13:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:49:in `test_should_get_index' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb: > 46:in `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 67:in `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 41:in `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb: > 29:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > rake (0.8.3) lib/rake/rake_test_loader.rb:5 > > 9) Error: > test_should_receive_error_when_double_favoriting_as_logged_in_user > (FavoritesControllerTest): > ActionView::TemplateError: You have a nil object when you didn't > expect it! > The error occurred while evaluating nil.gsub > On line #3 of vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml > > 1: .clipping{:id => "clipping_#{clipping.id}"} > 2: %a{:href=>"#{user_clipping_url(clipping.user, > clipping)}", :title => h(truncate_words(clipping.description)) } > 3: = image_tag clipping.image_uri(:medium_square), :class > => 'clipping_image' > 4: %p > 5: = h(truncate_words(clipping.description)) > 6: > > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu.rb:274:in `thumbnail_name_for' > vendor/plugins/community_engine/plugins/attachment_fu_hacks/ > lib/attachment_fu_hacks.rb:69:in `full_filename' > vendor/plugins/community_engine/plugins/attachment_fu/lib/ > technoweenie/attachment_fu/backends/file_system_backend.rb:72:in > `public_filename' > vendor/plugins/community_engine/app/models/clipping.rb:51:in > `image_uri' > vendor/plugins/community_engine/app/views/clippings/ > _clipping.html.haml:3:in > `_run_haml_vendor47plugins47community_engine47app47views47clippings47_clipping46html46haml_locals_clipping_object' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:8:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:7:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > vendor/plugins/community_engine/app/views/favorites/ > create.js.rjs:1:in > `_run_rjs_vendor47plugins47community_engine47app47views47favorites47create46js46rjs' > haml (2.0.5) lib/haml/helpers/action_view_mods.rb:14:in > `render' > vendor/plugins/community_engine/app/controllers/ > favorites_controller.rb:13:in `create' > haml (2.0.5) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > favorites_controller_test.rb:30:in > `test_should_receive_error_when_double_favoriting_as_logged_in_user' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb: > 46:in `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 67:in `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb: > 41:in `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb: > 29:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > rake (0.8.3) lib/rake/rake_test_loader.rb:5 -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=.
