I succeeded with difficulty in installing Tracks (git-devel branch) on
my Ubuntu box.
Everything works fine except two functions: project and context creation.
These are the errors I get: any suggestion?
Thanks in advance for help!
Processing ProjectsController#create (for 2.2.2.2 at 2012-03-09 20:11:59) [POST]
Parameters: {"0"=>"_", "1"=>"s", "2"=>"o", "3"=>"u", "4"=>"r",
"5"=>"c", "6"=>"e", "7"=>"_", "8"=>"v", "9"=>"i", "10"=>"e",
"11"=>"w", "12"=>"=", "13"=>"p", "14"=>"r", "15"=>"o", "16"=>"j",
"17"=>"e", "18"=>"c", "19"=>"t",
"project"=>{"default_context_name"=>"Al telefono",
"default_tags"=>"aaa", "description"=>"aaa", "name"=>"aaa"},
"20"=>"_", "21"=>"l", "22"=>"i", "23"=>"s", "24"=>"t",
"authenticity_token"=>"j07IlhneI8K7WRLwZBcnGLbkFtOq1udw4hsCppCdQpA=",
"_source_view"=>"project_list"}
NoMethodError (undefined method `unscoped' for #<Class:0xb614f788>):
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:1998:in
`method_missing_without_paginate'
vendor/cache/ruby/1.8/gems/will_paginate-2.3.16/lib/will_paginate/finder.rb:170:in
`method_missing'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:225:in
`bottom_item'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:217:in
`bottom_position_in_list'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:205:in
`add_to_list_bottom'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`send'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`evaluate_method'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in
`call'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in
`run'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`each'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`send'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`run'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in
`run_callbacks'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:344:in
`callback'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:311:in
`valid?'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/validations.rb:1088:in
`save_without_dirty'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/dirty.rb:79:in
`save_without_transactions'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`send'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`with_transaction_returning_status'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:182:in
`transaction'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:228:in
`with_transaction_returning_status'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:208:in
`rollback_active_record_state!'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'
app/controllers/projects_controller.rb:141:in `create'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`send'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`perform_action_without_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in
`call_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in
`perform_action_without_flash'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in
`perform_action'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
`send'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
`process_without_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in
`process'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in
`process'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in
`dispatch'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in
`_call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/session/abstract_store.rb:177:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in
`cache'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in
`call'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in
`process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in
`main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in
`start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in
`start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in
`lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in
`spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Rendering /data/www/tracks2/public/500.html (500 Internal Server Error)
Processing ContextsController#create (for 2.2.2.2 at 2012-03-09 21:20:20) [POST]
Parameters: {"context"=>{"hide"=>"0", "name"=>"aa"}, "0"=>"_",
"1"=>"s", "2"=>"o", "3"=>"u", "4"=>"r", "5"=>"c", "6"=>"e", "7"=>"_",
"8"=>"v", "9"=>"i", "10"=>"e", "11"=>"w", "12"=>"=",
"authenticity_token"=>"j07IlhneI8K7WRLwZBcnGLbkFtOq1udw4hsCppCdQpA=",
"_source_view"=>""}
NoMethodError (undefined method `unscoped' for #<Class:0xb6117ae0>):
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:1998:in
`method_missing_without_paginate'
vendor/cache/ruby/1.8/gems/will_paginate-2.3.16/lib/will_paginate/finder.rb:170:in
`method_missing'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:225:in
`bottom_item'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:217:in
`bottom_position_in_list'
vendor/cache/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:205:in
`add_to_list_bottom'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`send'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`evaluate_method'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in
`call'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in
`run'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`each'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`send'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`run'
vendor/cache/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in
`run_callbacks'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:344:in
`callback'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:311:in
`valid?'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/validations.rb:1088:in
`save_without_dirty'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/dirty.rb:79:in
`save_without_transactions'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`send'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`with_transaction_returning_status'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:182:in
`transaction'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:228:in
`with_transaction_returning_status'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:208:in
`rollback_active_record_state!'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'
app/controllers/contexts_controller.rb:72:in `create'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`send'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`perform_action_without_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in
`call_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in
`perform_action_without_flash'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in
`perform_action'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
`send'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
`process_without_filters'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in
`process'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in
`process'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in
`dispatch'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in
`_call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/session/abstract_store.rb:177:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in
`cache'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in
`call'
vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in
`call'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in
`call'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in
`process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in
`main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in
`start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in
`start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in
`lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in
`spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Rendering /data/www/tracks2/public/500.html (500 Internal Server Error)
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss