Project

General

Profile

Cannot view repositories in 2.0.3

Added by Ivan Cenov about 12 years ago

Redmine 2.0.3
Ruby 1.9.3
Rails 2.3.6
When press on "Repository" at the main menu, I receive Internal error; here is the log:

Started GET "/projects/first/repository" for 192.168.20.9 at 2012-07-05 19:59:02
 +0300
Processing by RepositoriesController#show as HTML
  Parameters: {"id"=>"first"}
  Rendered repositories/_navigation.html.erb (4.0ms)
  Rendered repositories/_breadcrumbs.html.erb (1.0ms)
  Rendered repositories/_dir_list_content.html.erb (75.0ms)
  Rendered repositories/_dir_list.html.erb (77.0ms)
  Rendered repositories/_revisions.html.erb (62.0ms)
  Rendered repositories/show.html.erb within layouts/base (282.0ms)
Completed 500 Internal Server Error in 808ms

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
    16: <% if authorize_for('repositories', 'revisions') %>
    17:   <% if @changesets && !@changesets.empty? %>
    18:     <h3><%= l(:label_latest_revision_plural) %></h3>
    19:     <%= render :partial => 'revisions',
    20:               :locals => {:project => @project, :path => @path,
    21:                           :revisions => @changesets, :entry => nil }%>
    22:   <% end %>
  app/views/repositories/show.html.erb:19:in `_app_views_repositories_show_html_erb__606516746_56909916'
  app/controllers/repositories_controller.rb:125:in `show'


Replies (1)

RE: Cannot view repositories in 2.0.3 - Added by Ivan Cenov about 12 years ago

More information:
I have another 2.0.3+ (trunk) installation, running by Ruby 1.8.7 and there is no problem with displayng repositories. Also, "Attachments and repositories encodings" setting is

utf-8,windows-1251,ASCII-8BIT
The same setting is in the 'bad' installation which throws above error. Any clue...?

    (1-1/1)