On Sat, Nov 6, 2010 at 9:34 AM, H.S.Rai <[email protected]> wrote: > > But when trying on OpenStreetView, it through error as given below signature.
I could remove previous reported error by doing: cd vendor/plugins/ git clone http://github.com/technoweenie/restful-authentication.git restful_authentication and it throw error about mysql, for which I did: sudo apt-get install libmysqlclient-dev sudo gem install mysql This installed gem mysql (during ri documentation), but give errors like: | No definition for next_result | No definition for field_name | No definition for field_table More detail below signature. And if I issue command rake, it throw new set of error as shown below signature. May I seek your help. -- H.S.Rai ===================================== Output of "rake" ======================================= m...@meet:~/OSV/OpenStreetView$ rake (in /home/meet/OSV/OpenStreetView) DEPRECATION WARNING: Rake tasks in vendor/plugins/restful_authentication/tasks are deprecated. Use lib/tasks instead. (called from /var/lib/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) /usr/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/moderate_controller_test.rb" "test/functional/private_controller_test.rb" "test/functional/main_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/upload_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/api/photo_controller_test.rb" "test/functional/api/photos_controller_test.rb" "test/functional/api/application_controller_test.rb" "test/functional/content_controller_test.rb" "test/functional/homepage_controller_test.rb" Loaded suite /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started EEEEEEEEEEEEEEEEEEEEEEEEEEEE Finished in 0.360599 seconds. 1) Error: test_the_truth(Api::ApplicationControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 2) Error: test_the_truth(Api::PhotoControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 3) Error: test_the_truth(Api::PhotosControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 4) Error: test_the_truth(ContentControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 5) Error: test_the_truth(HomepageControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 6) Error: test_the_truth(MainControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 7) Error: test_the_truth(ModerateControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 8) Error: test_the_truth(PrivateControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 9) Error: test_should_delete_token_on_logout(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 10) Error: test_should_fail_cookie_login(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 11) Error: test_should_fail_expired_cookie_login(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 12) Error: test_should_fail_login_and_not_redirect(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 13) Error: test_should_login_and_redirect(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 14) Error: test_should_login_with_cookie(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 15) Error: test_should_logout(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 16) Error: test_should_not_remember_me(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 17) Error: test_should_remember_me(SessionsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 18) Error: test_the_truth(UploadControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 19) Error: test_should_activate_user(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 20) Error: test_should_allow_signup(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 21) Error: test_should_not_activate_user_with_blank_key(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 22) Error: test_should_not_activate_user_without_key(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 23) Error: test_should_require_email_on_signup(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 24) Error: test_should_require_login_on_signup(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 25) Error: test_should_require_password_confirmation_on_signup(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 26) Error: test_should_require_password_on_signup(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 27) Error: test_should_sign_up_user_in_pending_state(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 28) Error: test_should_sign_up_user_with_activation_code(UsersControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: unsafe_flags: DELETE FROM "unsafe_flags" WHERE 1=1 28 tests, 0 assertions, 0 failures, 28 errors /usr/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" Errors running test:units and test:functionals! m...@meet:~/OSV/OpenStreetView$ ========================================================= Error on installing mysql: ========================================================= sudo gem install mysql Building native extensions. This could take a while... Successfully installed mysql-2.8.1 1 gem installed Installing ri documentation for mysql-2.8.1... No definition for next_result No definition for field_name No definition for field_table No definition for field_def No definition for field_type No definition for field_length No definition for field_max_length No definition for field_flags No definition for field_decimals No definition for time_inspect No definition for time_to_s No definition for time_get_year No definition for time_get_month No definition for time_get_day No definition for time_get_hour No definition for time_get_minute No definition for time_get_second No definition for time_get_neg No definition for time_get_second_part No definition for time_set_year No definition for time_set_month No definition for time_set_day No definition for time_set_hour No definition for time_set_minute No definition for time_set_second No definition for time_set_neg No definition for time_set_second_part No definition for time_equal No definition for error_errno No definition for error_sqlstate Installing RDoc documentation for mysql-2.8.1... No definition for next_result No definition for field_name No definition for field_table No definition for field_def No definition for field_type No definition for field_length No definition for field_max_length No definition for field_flags No definition for field_decimals No definition for time_inspect No definition for time_to_s No definition for time_get_year No definition for time_get_month No definition for time_get_day No definition for time_get_hour No definition for time_get_minute No definition for time_get_second No definition for time_get_neg No definition for time_get_second_part No definition for time_set_year No definition for time_set_month No definition for time_set_day No definition for time_set_hour No definition for time_set_minute No definition for time_set_second No definition for time_set_neg No definition for time_set_second_part No definition for time_equal No definition for error_errno No definition for error_sqlstate m...@meet:~/OSV/OpenStreetView$ _______________________________________________ Photos mailing list [email protected] http://lists.openstreetmap.org/listinfo/photos
