Project

General

Profile

Activity Module Crashes

Added by Matthew Baker over 16 years ago

Anytime I access the activity module I get the following error:

IOError in Projects#activity

Showing projects/activity.rhtml where line #13 raised:

Couldn't load the unicode tables for UTF8Handler (dump format error(0xb)), handler is unusable

Extracted source (around line #13):

10: <%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || Herve Harster != e.project >
11: <
= link_to format_activity_title(e.event_title), e.event_url ></dt>
12: <dd><
unless e.event_description.blank? ->
13: <span class="description"><
= format_activity_description(e.event_description) ></span><br />
14: <
end >
15: <span class="author"><
= e.event_author if e.respond_to?(:event_author) ></span></dd>
16: <
end -%>

RAILS_ROOT: C:/Program Files/BitNami Redmine Stack/redmine
Application Trace | Framework Trace | Full Trace

vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb:42:in `load'
vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb:16:in `cp1252'
vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb:363:in `tidy_bytes'
vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb:359:in `map'
vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb:359:in `tidy_bytes'
vendor/rails/activesupport/lib/active_support/multibyte/chars.rb:92:in `method_missing'
vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb:51:in `truncate'
app/helpers/projects_helper.rb:33:in `format_activity_description'
app/views/projects/activity.rhtml:13:in `_run_erb_47app47views47projects47activity46rhtml'
app/views/projects/activity.rhtml:8:in `each'
app/views/projects/activity.rhtml:8:in `_run_erb_47app47views47projects47activity46rhtml'
app/views/projects/activity.rhtml:5:in `each'
app/views/projects/activity.rhtml:5:in `_run_erb_47app47views47projects47activity46rhtml'

I have no idea what could be causing it. Anyone?

Thanks,
Matt


Replies (1)

RE: Activity Module Crashes - Added by Matthew Baker over 16 years ago

I fixed this problem. The database.yml file was missing the line 'encoding: utf8'.

Matt

    (1-1/1)