I've got this issue fixed, i had problems with my database. What i miss is a tool for consistency check of the gitorious database. This would help a lot when something got broken.
Greets, Thomas On 24 Mai, 16:01, Thomas <[email protected]> wrote: > After deleting a project, gitorious returns the following error > message when selecting the group. I thought about some errors in the > events database table, but i couldn't solve the problem yet. > > By the way, are there options to change the ownership of a project to > another group? I can change members using 'edit project', but there's > no option to transfer rights to another group. > > Thanks for you help, > Thomas > > A NoMethodError occurred in groups#show: > > undefined method `project_id' for nil:NilClass > [RAILS_ROOT]/app/models/group.rb:80:in `all_related_project_ids' > > ------------------------------- > Request: > ------------------------------- > > * URL :http://myserver.de/+linux-admins > * IP address: ... > * Parameters: {"action"=>"show", "id"=>"linux-admins", > "controller"=>"groups"} > * Rails root: /var/lib/gitorious_main > > ------------------------------- > Session: > ------------------------------- > > * session id: nil > * data: nil > > ------------------------------ > Backtrace: > ------------------------------- > > [RAILS_ROOT]/app/models/group.rb:80:in `all_related_project_ids' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_collection.rb:368:in `method_missing_without_paginate' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_proxy.rb:219:in `method_missing' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_proxy.rb:219:in `map' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_proxy.rb:219:in `send' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_proxy.rb:219:in `method_missing' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/associations/ > association_collection.rb:368:in `method_missing_without_paginate' > [RAILS_ROOT]/vendor/plugins/will_paginate/lib/will_paginate/finder.rb: > 164:in `method_missing' > [RAILS_ROOT]/app/models/group.rb:80:in `all_related_project_ids' > [RAILS_ROOT]/app/controllers/groups_controller.rb:35:in `show' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 1323:in `send' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 1323:in `perform_action_without_filters' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb: > 617:in `call_filters' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb: > 610:in `perform_action_without_benchmark' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in `perform_action_without_rescue' > [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/ > benchmark.rb:17:in `ms' > /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' > [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/ > benchmark.rb:17:in `ms' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in `perform_action_without_rescue' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb: > 160:in `perform_action_without_flash' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb: > 141:in `perform_action' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 523:in `send' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 523:in `process_without_filters' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb: > 606:in `process' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 391:in `process' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > 386:in `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/ > route_set.rb:433:in `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:88:in `dispatch' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:111:in `_call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:82:in `initialize' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > head.rb:9:in `call' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > head.rb:9:in `call' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > methodoverride.rb:24:in `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > params_parser.rb:15:in `call' > [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/metal.rb:47:in > `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/ > abstract_store.rb:122:in `call' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:29:in `call' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:34:in `cache' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:9:in `cache' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:28:in `call' > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/connection_pool.rb:361:in `call' > [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/cache/ > strategy/local_cache.rb:24:in `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > failsafe.rb:11:in `call' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > lock.rb:11:in `call' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > lock.rb:11:in `synchronize' > /var/lib/gems/1.8/gems/passenger-2.2.2/vendor/rack-1.0.0-git/lib/rack/ > lock.rb:11:in `call' > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:106:in `call' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/ > request_handler.rb:81:in `process_request' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_request_handler.rb:203:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/ > application_spawner.rb:340:in `start_request_handler' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/ > application_spawner.rb:298:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/utils.rb: > 181:in `safe_fork' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/ > application_spawner.rb:296:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:337:in `__send__' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:337:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:187:in `start_synchronously' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:154:in `start' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/ > application_spawner.rb:192:in `start' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > spawn_manager.rb:257:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server_collection.rb:126:in `lookup_or_add' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > spawn_manager.rb:251:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server_collection.rb:80:in `synchronize' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server_collection.rb:79:in `synchronize' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > spawn_manager.rb:250:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > spawn_manager.rb:153:in `spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > spawn_manager.rb:282:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:337:in `__send__' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:337:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/ > abstract_server.rb:187:in `start_synchronously' > /var/lib/gems/1.8/gems/passenger-2.2.2/bin/passenger-spawn-server:61 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
