Hey everyone, I'm not sure exactly what it turned out to be, I started over and it worked the second time around. I didn't redo the repositories or the mysql though, so I know those weren't the problem. I think it was probably some gem dependency that wasn't right, or some other conflict of that nature. I'm not sure if that really helps anyone else with this issue much, but nothing I tried to fix the previous install seemed to work.
On Aug 4, 7:42 pm, Brenda Wallace <[email protected]> wrote: > I'm seeing the same error from git master for a while now. > Diffs not appearing in merge requests. > > A NoMethodError occurred in merge_request_versions#show: > undefined method `diffs' for nil:NilClass > [RAILS_ROOT]/app/models/merge_request_version.rb:108:in > `single_commit_diff' > > On Aug 4, 8:19 am, ttbek <[email protected]> wrote: > > > > > > > > > I have an error very similar to the one > > here:http://groups.google.com/group/gitorious/browse_frm/thread/fad690506e... > > > Here is mine: > > > A NoMethodError occurred in merge_request_versions#show: > > > undefined method `diffs' for nil:NilClass > > [RAILS_ROOT]/app/models/merge_request_version.rb:108:in > > `single_commit_diff' > > > ------------------------------- > > Request: > > ------------------------------- > > > * URL > > :http://gitorious.removedbyme.com/risk-assessment/mainline/merge_reque... > > * IP address: Removed by me > > * Parameters: {"project_id"=>"risk-assessment", "action"=>"show", > > "commit_shas"=>"", "id"=>"191", > > "controller"=>"merge_request_versions", "merge_request_id"=>"39", > > "repository_id"=>"mainline"} > > * Rails root: /var/www/gitorious/gitorious > > > ------------------------------- > > Session: > > ------------------------------- > > > * session: {:_csrf_token=>"ya7xo6b8xXcTmfvjg6kpygQ7FsHnWZkDKC6lDX > > +0eeY=", :user_id=>4, :session_id=>"03c13bdd534b848cf3e86cfeb4f85110", > > "flash"=>{}} > > > ------------------------------- > > Environment: > > ------------------------------- > > > * DOCUMENT_ROOT : /var/www/gitorious/ > > gitorious/public > > * HTTP_ACCEPT : */*, text/javascript > > * HTTP_ACCEPT_CHARSET : > > ISO-8859-1,utf-8;q=0.7,*;q=0.3 > > * HTTP_ACCEPT_ENCODING : gzip,deflate,sdch > > * HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.8 > > * HTTP_CONNECTION : keep-alive > > * HTTP_COOKIE : > > BX=50p9rnd6dlai0&b=3&s=e1; > > _gitorious_sess=BAh7CToQX2NzcmZfdG9rZW4iMXlhN3hvNmI4eFhjVG1mdmpnNmtweWdRN0ZzSG5XWmtES0M2bERYKzBlZVk9Ogx1c2VyX2lkaQk6D3Nlc3Npb25faWQiJTAzYzEzYmRkNTM0Yjg0OGNmM2U4NmNmZWI0Zjg1MTEwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3d5df181bfc4cc6f24ad83a1f7a55bbfa56f3152 > > * HTTP_HOST : > > gitorious.redcedarsolutionsgroup.com > > * HTTP_REFERER > > :http://gitorious.redcedarsolutionsgroup.com/risk-assessment/mainline/... > > * HTTP_USER_AGENT : Mozilla/5.0 > > (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/534.30 (KHTML, like > > Gecko) Chrome/12.0.742.122 Safari/534.30 > > * HTTP_X_REQUESTED_WITH : XMLHttpRequest > > * PASSENGER_CONNECT_PASSWORD : [FILTERED] > > * PATH_INFO : /risk-assessment/ > > mainline/merge_requests/39/merge_request_versions/191 > > * QUERY_STRING : commit_shas= > > * REMOTE_ADDR : 98.103.131.155 > > * REMOTE_PORT : 56391 > > * REQUEST_METHOD : GET > > * REQUEST_URI : /risk-assessment/ > > mainline/merge_requests/39/merge_request_versions/191?commit_shas= > > * SCRIPT_NAME : > > * SCRIPT_URI > > :http://gitorious.redcedarsolutionsgroup.com/risk-assessment/mainline/... > > * SCRIPT_URL : /risk-assessment/ > > mainline/merge_requests/39/merge_request_versions/191 > > * SERVER_ADDR : removed by me > > * SERVER_ADMIN : [no address given] > > * SERVER_NAME : > > gitorious.removedbyme.com > > * SERVER_PORT : 80 > > * SERVER_PROTOCOL : HTTP/1.1 > > * SERVER_SOFTWARE : Apache/2.2.14 > > (Ubuntu) DAV/2 SVN/1.6.6 Phusion_Passenger/3.0.2 PHP/5.3.2-1ubuntu4.9 > > with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k > > * _ : _ > > * action_controller.request.path_parameters : project_idrisk- > > assessmentactionshowid191controllermerge_request_versionsrepository_idmainlinemerge_request_id39 > > * action_controller.request.query_parameters : commit_shas > > * action_controller.request.request_parameters: > > * action_controller.rescue.request : > > #<ActionController::Request:0x7f564ffc4b60> > > * action_controller.rescue.response : > > #<ActionController::Response:0x7f564ffc4b38> > > * rack.errors : #<IO:0x7f56596b8aa8> > > * rack.input : > > #<PhusionPassenger::Utils::RewindableInput:0x7f564ffcc6a8> > > * rack.multiprocess : true > > * rack.multithread : false > > * rack.request.cookie_hash : > > BX50p9rnd6dlai0&b=3&s=e1_gitorious_sessBAh7CToQX2NzcmZfdG9rZW4iMXlhN3hvNmI4eFhjVG1mdmpnNmtweWdRN0ZzSG5XWmtES0M2bERYKzBlZVk9Ogx1c2VyX2lkaQk6D3Nlc3Npb25faWQiJTAzYzEzYmRkNTM0Yjg0OGNmM2U4NmNmZWI0Zjg1MTEwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3d5df181bfc4cc6f24ad83a1f7a55bbfa56f3152 > > * rack.request.cookie_string : > > BX=50p9rnd6dlai0&b=3&s=e1; > > _gitorious_sess=BAh7CToQX2NzcmZfdG9rZW4iMXlhN3hvNmI4eFhjVG1mdmpnNmtweWdRN0ZzSG5XWmtES0M2bERYKzBlZVk9Ogx1c2VyX2lkaQk6D3Nlc3Npb25faWQiJTAzYzEzYmRkNTM0Yjg0OGNmM2U4NmNmZWI0Zjg1MTEwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3d5df181bfc4cc6f24ad83a1f7a55bbfa56f3152 > > * rack.request.query_hash : commit_shas > > * rack.request.query_string : commit_shas= > > * rack.run_once : false > > * rack.session : > > _csrf_tokenya7xo6b8xXcTmfvjg6kpygQ7FsHnWZkDKC6lDX > > +0eeY=user_id4session_id03c13bdd534b848cf3e86cfeb4f85110flash > > * rack.session.options : > > httponlytruedomain.gitorious.redcedarsolutionsgroup.comkey_session_idid03c13bdd534b848cf3e86cfeb4f85110path/ > > expire_after1814400 > > - Hide quoted text - > > * rack.url_scheme : http > > * rack.version : 10 > > > * Process: 8520 > > * Server : charon > > > ------------------------------- > > Backtrace: > > ------------------------------- > > > [RAILS_ROOT]/app/models/merge_request_version.rb:108:in > > `single_commit_diff' > > [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/cache.rb: > > 162:in `fetch' > > [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/activesupport/lib/active_support/cache.rb: > > 162:in `fetch' > > [RAILS_ROOT]/app/models/merge_request_version.rb:107:in > > `single_commit_diff' > > [RAILS_ROOT]/app/models/merge_request_version.rb:39:in `diffs' > > [RAILS_ROOT]/app/controllers/merge_request_versions_controller.rb: > > 24:in `show' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > > 1331:in `send' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > > 1331: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: > > 146:in `perform_action' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > > 532:in `send' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb: > > 532: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:437:in `call' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > > dispatcher.rb:87:in `dispatch' > > [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/ > > dispatcher.rb:121:in `_call' > > ... > > read more » -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
