redmine

Fórumok

Sziasztok,
a redmine-t probalom valahogy feltenni egy debian lenny-re, most valahogy sikerult de valami miatt kiakad (ha userel kapcsolatos oldalt hozok be):

Processing UsersController#index (for 192.168.0.66 at 2010-09-08 19:23:23) [GET]
Parameters: {"action"=>"index", "controller"=>"users"}
Rendering template within layouts/admin
Rendering users/index

ActionView::TemplateError (missing interpolation argument in "%m/%{count}/%Y %I:%M %p" ({:object=>Wed Sep 08 01:45:00 +0300 2010} given)) on line #38 of app/views/users/index.rhtml:
35:

<%= h(user.lastname) %>

36:

<%= mail_to(h(user.mail)) %>

37:

<%= checked_image user.admin? %>

38:

<%= format_time(user.created_on) %>

39:

<%= format_time(user.last_login_on) unless user.last_login_on.nil? %>

40:

<%= change_status_link(user) %>

41:

/usr/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:186:in `interpolate_without_deprecated_syntax'
/usr/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:49:in `translate'
/usr/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:152:in `t'
/usr/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:62:in `localize'
/usr/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:231:in `l'
lib/redmine/i18n.rb:48:in `format_time'
app/views/users/index.rhtml:38:in `_run_rhtml_app47views47users47index46rhtml'
app/views/users/index.rhtml:31:in `each'
app/views/users/index.rhtml:31:in `_run_rhtml_app47views47users47index46rhtml'
app/controllers/users_controller.rb:49:in `index'

Rendering /home/redmine/public/500.html (500 Internal Server Error)

Nem ismerem a Ruby-t (4.2), elegge el vagyok veszve.
Azt olvastam, hogy kell ez a rubygem is, fel van az is teve.

A gem-el a kovetkezo csomagok vannak telepitve:

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0, 2.3.5)
actionpack (3.0.0, 2.3.5)
activemodel (3.0.0)
activerecord (3.0.0, 2.3.5)
activeresource (3.0.0, 2.3.5)
activesupport (3.0.0, 2.3.5)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.0)
erubis (2.6.6)
fastthread (1.0.7)
gem_plugin (0.2.3)
i18n (0.4.1)
mail (2.2.5)
mime-types (1.16)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.4)
rails (2.3.5)
railties (3.0.0)
rake (0.8.7)
thor (0.14.0)
treetop (1.4.8)
tzinfo (0.3.23)

Mi lehet a gond, mit nezzek meg...?

Elore is koszonom.

Hozzászólások

gem uninstall i18n
gem install -v 0.3.7 i18n
ez alapjan: http://www.redmine.org/issues/5608
==
`Have some wine,' the March Hare said in an encouraging tone.
Alice looked all round the table, but there was nothing on it but tea.

Meg kell kicsit tesztelni de ugy tunik mostmar mukodik:
Ezt kelett csinalni:

- Setting.time_format.blank? ? ::I18n.l(local, :format => (include_date ? :default : :time)) :
+ Setting.time_format.blank? ? ::I18n.l(local, :count => local.day, :format => (include_date ? :default : :time)) :

bovebben