Project

General

Profile

redmine repository 500 error

Added by yue ma over 10 years ago

ruby 1.9.3p448
Rails 3.2.13
redmine 2.3.3
SCM :subversion
URL :svn://x.x.x.x/ ( user TortoiseSVN is OK!)
But user repository error 500,help me please!
Intergel ERROR 500
ActionView::Template::Error (undefined method `-' for {:length=>50}:Hash):
25: <td class="revision"><%= link_to_revision(entry.changeset, Jack Zheng) if entry.changeset ></td>
26: <td class="age"><
= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time ></td>
27: <td class="author"><
= entry.author ></td>
28: <td class="comments"><
=h truncate(entry.changeset.comments, :length => 50) if entry.changeset ></td>
29: <
end >
30: </tr>
31: <
end %>
config/environment.rb:22:in `truncate'
app/views/repositories/_dir_list_content.html.erb:28:in `block in app_views_repositories_dir_list_content_html_erb__4244999199527241588_58948520'
app/views/repositories/_dir_list_content.html.erb:1:in `each'
app/views/repositories/_dir_list_content.html.erb:1:in `_app_views_repositories__dir_list_content_html_erb__4244999199527241588_58948520'
app/views/repositories/_dir_list.html.erb:16:in `_app_views_repositories__dir_list_html_erb__780208683014920164_58915120'
app/views/repositories/show.html.erb:11:in `_app_views_repositories_show_html_erb__3973464992110231650_58544200'
app/controllers/repositories_controller.rb:125:in `show'


Replies (6)

RE: redmine repository 500 error - Added by Martin Denizet (redmine.org team member) over 10 years ago

How did you configure your repository?
Do you have any plugins?

Cheers,

Martin

RE: redmine repository 500 error - Added by yue ma over 10 years ago

use 2.3.0 ok
why?

RE: redmine repository 500 error - Added by Martin Denizet (redmine.org team member) over 10 years ago

That is odd. If you're in Beijing, I could have a look.

Cheers,

Martin

RE: redmine repository 500 error - Added by yue ma over 10 years ago

哥们你是中国人吗?

RE: redmine repository 500 error - Added by yue ma over 10 years ago

Martin Denizet wrote:

That is odd. If you're in Beijing, I could have a look.

Cheers,

Martin

Dude you are a Chinese man?

RE: redmine repository 500 error - Added by Martin Denizet (redmine.org team member) over 10 years ago

yue ma wrote:

Dude you are a Chinese man?

French, but I live in Beijing for several years ;)

    (1-6/6)