[DRE-maint] Bug#592672: Redmine 500 Error

Jérémy Lal kapouer at melix.org
Thu Aug 19 16:23:38 UTC 2010


On 19/08/2010 15:13, David Schmitz wrote:
> Hi,
> 
> I am facing problems with debian's redmine package. Whenever I click on the activity tab within redmine I am returned a 500 error.
> 
> See log snippet below:
> ||
> 
> Processing ProjectsController#activity (for ::1 at 2010-08-19 15:00:27) [GET]
>   Parameters: {"action"=>"activity", "id"=>"libreais", "controller"=>"projects"}
> Rendering template within layouts/base
> Rendering projects/activity
> 
> ActionView::TemplateError (missing interpolation argument in "%m/%{count}/%Y" ({:object=>Wed, 21 Jul 2010} given)) on line #2 of app/views/projects/activity.rhtml:
> 1: <h2><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)) %></h2>
> 2: <p class="subtitle"><%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %></p>
> 3:
> 4: <div id="activity">
> 5: <% @events_by_day.keys.sort.reverse.each do |day| %>
> 
> I am running everything on top of Debian testing and used apache2-passenger-host.conf for my apache redmine site.
> Any ideas how to fix this? Did I forget something to install or is redmine itself buggy and needs a new version.
> 
> Can you help me out with this problem?

It is indeed a problem with redmine 1.0.0, and has been reported :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592672

Try the attached patch to fix it.
I'm waiting redmine 1.0.1, which contains only (but many) bug fixes, and is due
to be released today or tomorrow. I'm hoping it'll get accepted in squeeze.

Regards,
Jérémy Lal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n-0.4.1.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20100819/07c25b85/attachment.bin>


More information about the Pkg-ruby-extras-maintainers mailing list