Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / redmine-bitbucket

Allow your Redmine installation to be notified when changes have been pushed to a Bitbucket repository.

Clone this repository (size: 55.0 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/redmine-bitbucket
hg clone ssh://hg@bitbucket.org/nolith/redmine-bitbucket

Issues

#2 Help on send post info

Reported anonymously

I just installed the plugin and i don´t get the updates from bitbucket. I saw this in log:

Processing ApplicationController#index (for 207.223.240.190 at 2011-03-09 07:36:52) [POST] Parameters: {"payload"=>"{\"repository\": {\"owner\": \"miguel_ramos\", \"website\": \"http://www.floranet.eu/\", \"absolute_url\": \"/miguel_ramos/floranet-project/\", \"slug\": \"floranet-project\", \"name\": \"floranet-project\"}, \"commits\": [{\"node\": \"4b90ea3eae77\", \"files\": [{\"type\": \"modified\", \"file\": \"fuel/app/views/content.php\"}], \"branch\": \"default\", \"author\": \"miguel_ramos\", \"timestamp\": \"2011-03-09 16:36:30\", \"raw_node\": \"4b90ea3eae77a66715f235ed62151f79a8a2c5cd\", \"parents\": [\"4466112fd669\"], \"raw_author\": \"miguel_ramos\", \"message\": \"A testar novo envio para dev.floranet.eu\", \"size\": 5, \"revision\": 6}], \"user\": \"miguel_ramos\"}", "action"=>"index", "controller"=>"bitbucket_hook"}

MissingSourceFile (no such file to load -- json): vendor/plugins/nolith/app/controllers/bitbucket_hook_controller.rb:1 /dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' /dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `send' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop' /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in `start' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `send' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop' /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /home/floranetuser/sites/dev.floranet.eu/public/500.html (500 Internal Server Error) As you can see the url receives the post but it gaves me an error about json. I've install json: gem install json

Can you help me to fix this? regards Miguel

Status: resolved Responsible: nobody Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Alessio Caiazza

    written

    • Changed status from new to resolved.

    This should be fixed on tip, please update it.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?