Hi again... I have my server up and running and everything seems to work, but when I enabled the action mailer I get the following email every time I push anything... Any clue?
Best regards Martin Pettersson -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Thursday, January 14, 2010 12:43 PM To: Pettersson, Martin Subject: [Gitorious Processor] fail in PostReceiveWebHookProcessor An exception occured in #<PostReceiveWebHookProcessor:0xb64aa374 @data= {"payload"=> {"repository"=> {"name"=>"hej", "clones"=>0, "url"=>"http://etath-ad-ws1.swatchgroup.net/hej/hej", "description"=>"", "owner"=>{"name"=>"Martin Pettersson"}}, "after"=>"5f0ffb806d6c45b0443c4f12eebc7309439631a2", "project"=>{"name"=>"hej", "description"=>"test"}, "pushed_at"=>"2010-01-14T05:42:32Z", "ref"=>nil, "commits"=> [{"parents"=>[], "author"=> {"name"=>"Martin Pettersson", "email"=>"[email protected]"}, "id"=>"5f0ffb806d6c45b0443c4f12eebc7309439631a2", "committed_date"=>"2010-01-14T12:41:55+07:00", "authored_date"=>"2010-01-14T05:41:55Z", "message"=>"test", "tree"=>"c4d20dd7a7085e075a4ec566fb0f8d674f8c78c9", "committer"=> {"name"=>"Martin Pettersson", "email"=>"[email protected]"}}], "pushed_by"=>"martin", "before"=>"0000000000000000000000000000000000000000"}, "user"=>"martin", "repository_id"=>179}, @message= #<Stomp::Message:0xb64aefdc @body= "{\"repository_id\":179,\"payload\":{\"before\":\"0000000000000000000000 000000000000000000\",\"commits\":[{\"author\":{\"name\":\"Martin Pettersson\",\"email\":\"[email protected]\"},\"parents\":[],\ "id\":\"5f0ffb806d6c45b0443c4f12eebc7309439631a2\",\"committed_date\":\" 2010-01-14T12:41:55+07:00\",\"authored_date\":\"2010-01-14T05:41:55Z\",\ "message\":\"test\",\"committer\":{\"name\":\"Martin Pettersson\",\"email\":\"[email protected]\"},\"tree\":\"c4d20 dd7a7085e075a4ec566fb0f8d674f8c78c9\"}],\"pushed_by\":\"martin\",\"pushe d_at\":\"2010-01-14T05:42:32Z\",\"repository\":{\"description\":\"\",\"c lones\":0,\"url\":\"http://etath-ad-ws1.swatchgroup.net/hej/hej\",\"owne r\":{\"name\":\"Martin Pettersson\"},\"name\":\"hej\"},\"after\":\"5f0ffb806d6c45b0443c4f12eebc 7309439631a2\",\"project\":{\"description\":\"test\",\"name\":\"hej\"},\ "ref\":null},\"user\":\"martin\"}", @command="MESSAGE", @headers= {"expires"=>"0", "timestamp"=>"1263447753395", "destination"=>"/queue/GitoriousPostReceiveWebHook", "message-id"=>"ID:etath-ad-ws1-53234-1263447099468-3:1:-1:1:2", "content-type"=>"text/plain; charset=UTF-8", "priority"=>"0", "content-length"=>"791", "subscription"=>"post_receive_web_hook_processor"}>, @repository= #<Repository id: 179, name: "hej", project_id: 51, user_id: 6, created_at: "2010-01-14 05:40:15", updated_at: "2010-01-14 05:42:32", parent_id: nil, ready: true, kind: 0, owner_type: "User", owner_id: 6, hashed_path: "e51/a30/225cd253eb45373d820e4fd6862b47dd2f", description: "", last_pushed_at: "2010-01-14 05:42:32", wiki_permissions: 0, deny_force_pushing: false, notify_committers_on_new_merge_request: true, last_gc_at: nil, merge_requests_enabled: true>> ! {"repository_id":179,"payload":{"before":"000000000000000000000000000000 0000000000","commits":[{"author":{"name":"Martin Pettersson","email":"[email protected]"},"parents":[],"id":"5f 0ffb806d6c45b0443c4f12eebc7309439631a2","committed_date":"2010-01-14T12: 41:55+07:00","authored_date":"2010-01-14T05:41:55Z","message":"test","co mmitter":{"name":"Martin Pettersson","email":"[email protected]"},"tree":"c4d20dd7a7085 e075a4ec566fb0f8d674f8c78c9"}],"pushed_by":"martin","pushed_at":"2010-01 -14T05:42:32Z","repository":{"description":"","clones":0,"url":"http://e tath-ad-ws1.swatchgroup.net/hej/hej","owner":{"name":"Martin Pettersson"},"name":"hej"},"after":"5f0ffb806d6c45b0443c4f12eebc73094396 31a2","project":{"description":"test","name":"hej"},"ref":null},"user":" martin"} NoMethodError: undefined method `hooks' for #<Repository:0xb64a1ae4> /var/www/git.myserver.com/gitorious/vendor/rails/activerecord/lib/active _record/attribute_methods.rb:260:in `method_missing' /var/www/git.myserver.com/gitorious/app/processors/post_receive_web_hook _processor.rb:29:in `on_message' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/processor.rb:32:in `process!' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:229:in `_dispatch' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:149:in `execute_filter_chain' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:228:in `_dispatch' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:219:in `each' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:219:in `_dispatch' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:200:in `dispatch' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:197:in `synchronize' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:197:in `dispatch' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:43:in `start' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:30:in `start' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:29:in `each' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging/gateway.rb:29:in `start' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/lib/a ctivemessaging.rb:109:in `start' /var/www/git.myserver.com/gitorious/vendor/plugins/activemessaging/polle r.rb:14 /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:17 6:in `load' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:17 6:in `start_load' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:25 3:in `start' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:69: in `run' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `call' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `catch_exceptions' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run' script/poller:30 ************************************************************************************ This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please do not read, save, forward, disclose or copy the contents of this e-mail. If this e-mail has been sent to you in error, please delete this e-mail and any copies or links to this e-mail completely and immediately from your system. We also like to inform you that communication via e-mail over the Internet is insecure because third parties may have the possibility to access and manipulate e-mails. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of The Swatch Group Ltd. ************************************************************************************
-- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
