{"action":"opened","issue":{"number":109,"created_at":"2011-10-21T15:35:36Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I would like to create a gitolite repo when creating my redmine project but I get this error each time (from log/production.log) :\r\n\r\nProcessing ProjectsController#create (for 141.11.145.17 at 2011-10-21 17:23:51) [POST]\r\n  Parameters: {\"commit\"=>\"Sauvegarder\", \"action\"=>\"create\", \"authenticity_token\"=>\"1owlWhZHshKQTlfkUukXgPQ7MW6ShS2y1i06IGdZogw=\", \"project\"=>{\"name\"=>\"gilles\", \"tracker_ids\"=>[\"1\", \"2\", \"3\", \"\"], \"homepage\"=>\"\", \"parent_id\"=>\"\", \"is_public\"=>\"1\", \"description\"=>\"\", \"identifier\"=>\"gilles\", \"enabled_module_names\"=>[\"repository\", \"\"]}, \"controller\"=>\"projects\"}\r\nRedirected to http://obs_proto/projects/gilles/settings\r\nFethcing changes for /tmp/redmine_git_hosting/gitolite-admin\r\nCreating MD5 digests for Redmine Git Hosting hook\r\nDigest for post-receive.redmine_gitolite.rb: 08e9b3cf99fa6285331ccdcef8b9a0d3\r\nOur hook is already installed\r\n\r\nNoMethodError (undefined method `[]' for nil:NilClass):\r\n  vendor/plugins/redmine_git_hosting/app/models/git_hosting_observer.rb:19:in `set_update_active'\r\n  passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'\r\n  passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'\r\n  passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'\r\n  passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'\r\n  passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork'\r\n  passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start'\r\n  passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'\r\n  passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'\r\n  passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'\r\n  passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'\r\n  passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'\r\n  passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'\r\n  passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'\r\n  passenger (3.0.9) /helper-scripts/passenger-spawn-server:99\r\n\r\nRendering /opt/redmine/public/500.html (500 Internal Server Error)\r\n\r\n\r\n\r\nPlugin redmine_git_hosting_version : 0.4.2\r\nRedmine version : Redmine 1.2.1.stable (SQLite)\r\n\r\n\r\n# gem list --local\r\n\r\n*** LOCAL GEMS ***\r\n\r\nactionmailer (2.3.11)\r\nactionpack (2.3.11)\r\nactiverecord (2.3.11)\r\nactiveresource (2.3.11)\r\nactivesupport (2.3.11)\r\ndaemon_controller (0.2.6)\r\nfastthread (1.0.7)\r\ni18n (0.4.2)\r\nlockfile (1.4.3)\r\nnet-ssh (2.2.1)\r\npassenger (3.0.9)\r\nrack (1.3.5, 1.1.2, 1.1.1)\r\nrails (2.3.11)\r\nrake (0.9.2)\r\nrubygems-update (1.7.2, 1.6.0)\r\nsqlite3 (1.3.4)```\r\n\r\nCan you help me to understand what goes wrong ?\r\nTell me if you need more informations.\r\n\r\nThanks in advance,\r\nGilles","comments":0,"title":"NoMethodError (undefined method `[]' for nil:NilClass) when creating a project","updated_at":"2011-10-21T15:35:36Z","url":"https://api.github.com/repos/ericpaulbishop/redmine_git_hosting/issues/109","id":2016643,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/67a70ae900e58b62f44d33c97343cebd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"67a70ae900e58b62f44d33c97343cebd","url":"https://api.github.com/users/gdoffe","id":1143438,"login":"gdoffe"},"html_url":"https://github.com/ericpaulbishop/redmine_git_hosting/issues/109","labels":[],"state":"open"},"legacy":{"number":109,"action":"opened","issue":2016643}}