New editor function throwing 500 error
Created by: ghost
Everything seems to be working fine with the exception of the new "Edit" function. Below is the pertinent production.log section where error takes place.
The first chunk is clicking on the "edit" button, the second chunk is committing the edit.
Thanks,
Lou
--- LOG OUTPUT BELOW ---
Started GET "/mode-javascript.js" for 127.0.0.1 at 2012-10-24 16:09:20 +0000 Processing by ProjectsController#show as / Parameters: {"id"=>"mode-javascript.js"} Rendered public/404.html (0.0ms) Filter chain halted as :project rendered or redirected Completed 404 Not Found in 4ms (Views: 0.8ms | ActiveRecord: 0.2ms)
Started PUT "/test_again/tree/master/readme2" for 127.0.0.1 at 2012-10-24 16:09:45 +0000 Processing by TreeController#update as HTML Parameters: {"utf8"=>"â", "authenticity_token"=>"F7X7477PnHvlAH/mv9H7o5PDX0/uF+rYjzCdp4qODBs=", "commit_message"=>"test", "last_commit"=>"f05884c9fc6ceb5bfbaf00a91f630ce6261026ed", "content"=>"test", "project_id"=>"test_again", "id"=>"master/readme2"} Completed 500 Internal Server Error in 18ms
RuntimeError (Satellite doesn't exist):
lib/gitlab/file_editor.rb:25:in block (2 levels) in update' lib/gitlab/file_editor.rb:21:in
open'
lib/gitlab/file_editor.rb:21:in block in update' lib/gitlab/file_editor.rb:18:in
update'
app/controllers/tree_controller.rb:30:in `update'